mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-05 02:16:43 +00:00
Improve vint compliance
This commit is contained in:
parent
f2a766d1e6
commit
bc1ac5ff71
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user