File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -890,7 +890,7 @@ endfunction " }}}
890
890
891
891
function s: VimlLint .compile (node, refchk) " {{{
892
892
if type (a: node ) == # type ({}) && has_key (a: node , ' type' )
893
- if a: node .type != 2 && g: vimlint #debug > 2
893
+ if a: node .type != 2 && g: vimlint #debug > 2 || g: vimlint # debug >= 5
894
894
call s: echonode (a: node , a: refchk )
895
895
endif
896
896
" else
@@ -1096,7 +1096,7 @@ function s:VimlLint.compile_comment(node) " {{{
1096
1096
if len (l ) == 0
1097
1097
return
1098
1098
endif
1099
- if ! vimlint#util#isvarname (l [4 ]) && l [4 ] !=# s: def_var_name
1099
+ if ! vimlint#util#isvarname (l [4 ]) && l [4 ] !=# s: def_var_name && l [ 4 ] != ' '
1100
1100
return
1101
1101
endif
1102
1102
@@ -1106,6 +1106,7 @@ function s:VimlLint.compile_comment(node) " {{{
1106
1106
endif
1107
1107
return
1108
1108
endif
1109
+
1109
1110
if l [3 ] == ' '
1110
1111
let v = s: def_var_name
1111
1112
else
You can’t perform that action at this time.
0 commit comments