summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorDalius Dobravolskas <dalius.dobravolskas@gmail.com>2020-11-21 01:26:16 +0000
committerw0rp <devw0rp@gmail.com>2020-11-21 01:27:27 +0000
commitd0b5909fd8cb96fa65363af44d02eb0038c6112c (patch)
tree6b373447af10149fc1b56e0d08c02cad8a681df2 /autoload
parent7c04ee5c200b64ef0886677216fbec1303ec9475 (diff)
downloadale-d0b5909fd8cb96fa65363af44d02eb0038c6112c.zip
#3442 Fix code fix clangd issue
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/codefix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/codefix.vim b/autoload/ale/codefix.vim
index 3120e7cb..69bf36fa 100644
--- a/autoload/ale/codefix.vim
+++ b/autoload/ale/codefix.vim
@@ -379,7 +379,7 @@ function! s:OnReady(
\ },
\ 'end': {
\ 'line': l:nearest_error.end_lnum - 1,
- \ 'character': l:nearest_error.end_col - 1,
+ \ 'character': l:nearest_error.end_col,
\ },
\ },
\ },