Browse Source

Fixed the path for UltiSnips snippets

master
Julio Biason 6 years ago
parent
commit
814cd26d36
  1. 9
      vim/UltiSnips/groovy.snippets
  2. 5
      vim/configs/vimrc

9
vim/UltiSnips/groovy.snippets

@ -0,0 +1,9 @@
snippet mainclass "SpringBoot mainClass"
springBoot {
mainClass = '$0'
}
endsnippet
snippet lombok "Add Lombok annotation processing"
annotationProcessor('org.projectlombok:lombok:1.18.4')
endsnippet

5
vim/configs/vimrc

@ -174,7 +174,7 @@ autocmd BufReadPost *
augroup END
" Files that should be ignored in most file operations
set wildignore+=*/build/*,*.egginfo,*.pyc,*.mo,*/dist/*
set wildignore+=*/build/*,*.egginfo,*.pyc,*.mo,*/dist/*,*.class
" ----------------------------------------------------------------------
" Auto-commands
@ -254,7 +254,7 @@ au FileType pinpoint setlocal colorcolumn=79 textwidth=78
au FileType yang set et
" Yaml; same as JavaScript
au FileType yaml setlocal expandtab tabstop=4 sw=4 sts=4 textwidth=0
au FileType yaml setlocal expandtab tabstop=2 sw=2 sts=2 textwidth=0
" For Java, we need to display tabs
au FileType java setlocal noet list
@ -378,6 +378,7 @@ let g:UltiSnipsExpandTrigger = "<tab>"
let g:UltiSnipsJumpForwardTrigger = "<tab>"
let g:UltiSnipsJumpBackwardTrigger = "<s-tab>"
let g:ultisnips_python_style = "sphinx"
let g:UltiSnipsSnippetDirectories=[$HOME.'/.vim/UltiSnips']
" ----------------------------------------------------------------------
" Nerdtree and Nerdtree tabs

Loading…
Cancel
Save