neovim: only add files in git to tags file
This commit is contained in:
parent
0564b72028
commit
6ebe9ccd2c
|
@ -2,6 +2,8 @@
|
||||||
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
|
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
|
||||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
|
||||||
|
let g:gutentags_file_list_command = 'git ls-files'
|
||||||
|
|
||||||
" Golang
|
" Golang
|
||||||
" Go test shortcut
|
" Go test shortcut
|
||||||
nmap <Leader>got :GoTest<CR>
|
nmap <Leader>got :GoTest<CR>
|
||||||
|
|
Loading…
Reference in a new issue