1
0
forked from aniani/vim

Update runtime files

This commit is contained in:
Bram Moolenaar
2022-07-29 21:36:21 +01:00
parent 72981ac94f
commit 2ecbe53f45
35 changed files with 1029 additions and 701 deletions

View File

@@ -473,6 +473,12 @@ function GetJavascriptIndent()
elseif num
return s:Nat(num_ind + get(l:,'case_offset',s:sw()) + l:switch_offset + b_l + is_op)
endif
let nest = get(get(b:, 'hi_indent', {}), 'blocklnr')
if nest
return indent(nextnonblank(nest + 1)) + b_l + is_op
endif
return b_l + is_op
endfunction