Merge branch 'master' into slim-vim
This commit is contained in:
commit
ad7da3997d
|
@ -10,3 +10,7 @@ repos:
|
||||||
rev: pre-commit-support
|
rev: pre-commit-support
|
||||||
hooks:
|
hooks:
|
||||||
- id: vint
|
- id: vint
|
||||||
|
exclude: >
|
||||||
|
(?x)^(
|
||||||
|
vim/colors/.*\.vim
|
||||||
|
)$
|
||||||
|
|
|
@ -2,7 +2,7 @@ function! GetJavaIndent_improved()
|
||||||
let theIndent = GetJavaIndent()
|
let theIndent = GetJavaIndent()
|
||||||
let lnum = prevnonblank(v:lnum - 1)
|
let lnum = prevnonblank(v:lnum - 1)
|
||||||
let line = getline(lnum)
|
let line = getline(lnum)
|
||||||
if line =~ '^\s*@.*$'
|
if line =~? '^\s*@.*$'
|
||||||
let theIndent = indent(lnum)
|
let theIndent = indent(lnum)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue