forked from aniani/vim
Update runtime files
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user