|
|
@ -202,20 +202,26 @@ let mapleader = "," |
|
|
|
|
|
|
|
" }}} |
|
|
|
|
|
|
|
" apt-get install shellcheck for shell linting |
|
|
|
" apt-get install perl-critic for perl |
|
|
|
" syntax checking {{{ |
|
|
|
" apt-get install shellcheck for shell linting |
|
|
|
Plugin 'vim-syntastic/syntastic' |
|
|
|
Plugin 'dense-analysis/ale' |
|
|
|
|
|
|
|
let g:syntastic_check_on_open = 1 |
|
|
|
let g:syntastic_php_checkers = ['php'] |
|
|
|
let g:syntastic_enable_perl_checker = 1 |
|
|
|
let g:syntastic_perl_lib_path = ['./lib', './lib/auto'] |
|
|
|
let g:syntastic_perl_checkers = ['perl', 'podchecker'] |
|
|
|
" an alternative is syntastic - used this for ages, works pretty well but |
|
|
|
" doesn't have the async thing going on: |
|
|
|
|
|
|
|
" shut up, pylint: |
|
|
|
let g:syntastic_python_checkers = [] |
|
|
|
" Plugin 'vim-syntastic/syntastic' |
|
|
|
|
|
|
|
amenu Syntax.Toggle\ Syntastic :SyntasticToggleMode<CR> |
|
|
|
" let g:syntastic_check_on_open = 1 |
|
|
|
" let g:syntastic_php_checkers = ['php'] |
|
|
|
" let g:syntastic_enable_perl_checker = 1 |
|
|
|
" let g:syntastic_perl_lib_path = ['./lib', './lib/auto'] |
|
|
|
" let g:syntastic_perl_checkers = ['perl', 'podchecker'] |
|
|
|
|
|
|
|
" " shut up, pylint: |
|
|
|
" let g:syntastic_python_checkers = [] |
|
|
|
|
|
|
|
" amenu Syntax.Toggle\ Syntastic :SyntasticToggleMode<CR> |
|
|
|
" }}} |
|
|
|
|
|
|
|
" add option to show a diff when there's a swapfile on disk: |
|
|
@ -836,7 +842,7 @@ let mapleader = "," |
|
|
|
map <Leader>w/ :GGrep<Space> |
|
|
|
|
|
|
|
" create a new 'log' entry in vimwiki |
|
|
|
map <Leader>l :e `fragment-vimwiki-log-path`<CR> |
|
|
|
map <Leader>l :tab drop `fragment-vimwiki-log-path`<CR> |
|
|
|
|
|
|
|
" view log for current file |
|
|
|
" TODO: consider extending this to all files in some way... |
|
|
|