mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-04 18:46:44 +00:00
Improve vint compliance
This commit is contained in:
parent
f2a766d1e6
commit
bc1ac5ff71
@ -10,3 +10,7 @@ repos:
|
||||
rev: pre-commit-support
|
||||
hooks:
|
||||
- id: vint
|
||||
exclude: >
|
||||
(?x)^(
|
||||
vim/colors/.*\.vim
|
||||
)$
|
||||
|
@ -2,7 +2,7 @@ function! GetJavaIndent_improved()
|
||||
let theIndent = GetJavaIndent()
|
||||
let lnum = prevnonblank(v:lnum - 1)
|
||||
let line = getline(lnum)
|
||||
if line =~ '^\s*@.*$'
|
||||
if line =~? '^\s*@.*$'
|
||||
let theIndent = indent(lnum)
|
||||
endif
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' }
|
||||
nnoremap <silent> <F8> :TagbarToggle<CR>
|
||||
let g:tagbar_autofocus = 1 " Autofocus tagbar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user