Browse code

Fixed the path for UltiSnips snippets

Julio Biason authored on 19/03/2019 05:21:10
Showing 2 changed files

1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+snippet mainclass "SpringBoot mainClass"
2
+springBoot {
3
+	mainClass = '$0'
4
+}
5
+endsnippet
6
+
7
+snippet lombok "Add Lombok annotation processing"
8
+annotationProcessor('org.projectlombok:lombok:1.18.4')
9
+endsnippet
... ...
@@ -174,7 +174,7 @@ autocmd BufReadPost *
174 174
 augroup END
175 175
 
176 176
 " Files that should be ignored in most file operations
177
-set wildignore+=*/build/*,*.egginfo,*.pyc,*.mo,*/dist/*
177
+set wildignore+=*/build/*,*.egginfo,*.pyc,*.mo,*/dist/*,*.class
178 178
 
179 179
 " ----------------------------------------------------------------------
180 180
 "  Auto-commands
... ...
@@ -254,7 +254,7 @@ au FileType pinpoint setlocal colorcolumn=79 textwidth=78
254 254
 au FileType yang set et
255 255
 
256 256
 " Yaml; same as JavaScript
257
-au FileType yaml setlocal expandtab tabstop=4 sw=4 sts=4 textwidth=0
257
+au FileType yaml setlocal expandtab tabstop=2 sw=2 sts=2 textwidth=0
258 258
 
259 259
 " For Java, we need to display tabs
260 260
 au FileType java setlocal noet list
... ...
@@ -378,6 +378,7 @@ let g:UltiSnipsExpandTrigger = "<tab>"
378 378
 let g:UltiSnipsJumpForwardTrigger = "<tab>"
379 379
 let g:UltiSnipsJumpBackwardTrigger = "<s-tab>"
380 380
 let g:ultisnips_python_style = "sphinx"
381
+let g:UltiSnipsSnippetDirectories=[$HOME.'/.vim/UltiSnips']
381 382
 
382 383
 " ----------------------------------------------------------------------
383 384
 "  Nerdtree and Nerdtree tabs