39f5a1aa8080b82107b9e0e79ae3b2400ab39a94

Author
Pavle Portic <pavle.portic@tilda.center>
Committer
Pavle Portic <pavle.portic@tilda.center>
Date

Message

Add jsonnet plugin to vim

Diff

 1diff --git a/dot_spacevim b/dot_spacevim
 2index f836791a4df911d1ca1e87219e2746ccb4474eba..3497a5c4469d98ecad40952b9fafb75a34d849e2 100644
 3--- a/dot_spacevim
 4+++ b/dot_spacevim
 5@@ -41,6 +41,7 @@ function! UserInit()
 6 	Plug 'davidhalter/jedi-vim', { 'for': 'python' }
 7 	Plug 'tpope/vim-repeat'
 8 	Plug 'TheEdgeOfRage/vim-pythonsense'
 9+	Plug 'google/vim-jsonnet'
10 
11 endfunction
12 
13@@ -206,6 +207,7 @@ function! UserConfig()
14 		autocmd Filetype tex setl et ts=4 sts=4 sw=4
15 		autocmd Filetype nginx setl noet ts=4 sts=4 sw=4
16 		autocmd Filetype terraform setl et ts=2 sts=2 sw=2
17+		autocmd Filetype jsonnet setl et ts=2 sts=2 sw=2
18 	augroup END
19 
20 	augroup filetypedetect