remove some old leftovers from vimrc

This commit is contained in:
Motiejus Jakštys 2023-08-18 18:44:21 +03:00
parent e1378a3617
commit 74b19c049b

View File

@ -37,25 +37,12 @@ if has("patch-8.1-0360")
set diffopt+=algorithm:patience set diffopt+=algorithm:patience
endif endif
"nmap gs :rg :grep <cword>
" html " html
au FileType html,gohtmltmpl setlocal ts=2 sw=2 sts=2 au FileType html,gohtmltmpl setlocal ts=2 sw=2 sts=2
" ruby " ruby
au BufRead,BufNewFile Vagrantfile setfiletype ruby au BufRead,BufNewFile Vagrantfile setfiletype ruby
" starlark
au BufRead,BufNewFile *.star setfiletype python
" puppet
au BufRead,BufNewFile *.pp setfiletype puppet
au FileType puppet setlocal ts=2 sw=2 sts=2 syntax=ruby
au FileType puppet let g:gutentags_enabled = 1
au FileType puppet let b:gutentags_file_list_command = 'git ls-files *.pp'
au FileType puppet nnoremap <buffer> <C-]> :call search('\s', 'b')<cr>:call search('\w')<cr>vE<C-]>
"au FileType puppet nnoremap <buffer> <C-]> :call search('\s', 'b')<cr>:call search('\w')<cr>:call search('[^a-z:]\|$', 's')<cr>hv`'<C-]>
" puppet " puppet
au BufRead,BufNewFile *.j2 setfiletype django au BufRead,BufNewFile *.j2 setfiletype django