add automatic formatting and ctags
This commit is contained in:
parent
296434cb93
commit
dad2f5286e
1 changed files with 4 additions and 0 deletions
|
@ -187,6 +187,10 @@ let dsquotes = "''"; in
|
|||
" Resume latest coc list.
|
||||
nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR>
|
||||
|
||||
autocmd BufWrite * call CocAction('format')
|
||||
|
||||
" ctags path
|
||||
g:tagbar_ctags_bin = "${pkgs.universal-ctags}/bin/ctags";
|
||||
'';
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
nerdtree
|
||||
|
|
Loading…
Reference in a new issue