summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-11-25 13:57:13 +0000
committerGitHub <noreply@github.com>2018-11-25 13:57:13 +0000
commit6746cb333332d309232a884261fe3229fdc24e44 (patch)
treed55163633373a4c5131b122955e04b998558ff16 /autoload
parentd18511f322a5b92c9ad8d075eeb7345b5b0cbd24 (diff)
downloadale-6746cb333332d309232a884261fe3229fdc24e44.zip
Fixing linter problems
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/virtualtext.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/virtualtext.vim b/autoload/ale/virtualtext.vim
index 2788f374..c4ce37dd 100644
--- a/autoload/ale/virtualtext.vim
+++ b/autoload/ale/virtualtext.vim
@@ -7,8 +7,9 @@ scriptencoding utf-8
let g:ale_virtualtext_delay = get(g:, 'ale_virtualtext_delay', 10)
let s:cursor_timer = -1
let s:last_pos = [0, 0, 0]
+
if has('nvim-0.3.2')
- let s:ns_id = nvim_create_namespace('ale')
+ let s:ns_id = nvim_create_namespace('ale')
endif
if !hlexists('ALEVirtualTextError')