Skip to content

Commit 4277a1f

Browse files
committed
Fix ALE off-by-one error
1 parent 386578a commit 4277a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/OmniSharp/stdio.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function! s:LocationsFromResponse(quickfixes) abort
172172
\}
173173
if has_key(quickfix, 'EndLine') && has_key(quickfix, 'EndColumn')
174174
let location.end_lnum = quickfix.EndLine
175-
let location.end_col = quickfix.EndColumn
175+
let location.end_col = quickfix.EndColumn - 1
176176
endif
177177
let loglevel = get(quickfix, 'LogLevel', '')
178178
if loglevel !=# ''

0 commit comments

Comments
 (0)