Improve vint compliance

This commit is contained in:
ViViDboarder 2019-10-24 13:27:01 -07:00
parent f2a766d1e6
commit bc1ac5ff71
3 changed files with 5 additions and 2 deletions

View File

@ -10,3 +10,7 @@ repos:
rev: pre-commit-support rev: pre-commit-support
hooks: hooks:
- id: vint - id: vint
exclude: >
(?x)^(
vim/colors/.*\.vim
)$

View File

@ -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

View File

@ -1,4 +1,3 @@
Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' } Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' }
nnoremap <silent> <F8> :TagbarToggle<CR> nnoremap <silent> <F8> :TagbarToggle<CR>
let g:tagbar_autofocus = 1 " Autofocus tagbar let g:tagbar_autofocus = 1 " Autofocus tagbar