From fbc2f92c9dadf3255a8e093bab4c0be486d259e2 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 22 Jan 2022 15:19:20 -0600 Subject: [PATCH] Add some Vim configuration for Jenkinsfiles --- .gitmodules | 3 +++ base/.vim/bundle/vim-groovy | 1 + base/.vimrc | 2 ++ 3 files changed, 6 insertions(+) create mode 160000 base/.vim/bundle/vim-groovy diff --git a/.gitmodules b/.gitmodules index 1ba92a4f..0589d03d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -46,3 +46,6 @@ [submodule "base/.vim/bundle/vim-terraform"] path = base/.vim/bundle/vim-terraform url = https://github.com/hashivim/vim-terraform +[submodule "base/.vim/bundle/vim-groovy"] + path = base/.vim/bundle/vim-groovy + url = https://github.com/thecodesmith/vim-groovy diff --git a/base/.vim/bundle/vim-groovy b/base/.vim/bundle/vim-groovy new file mode 160000 index 00000000..f9d16d53 --- /dev/null +++ b/base/.vim/bundle/vim-groovy @@ -0,0 +1 @@ +Subproject commit f9d16d5347b612386a8be38064a1b30bcf8938df diff --git a/base/.vimrc b/base/.vimrc index d77caf7e..3de3d529 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -52,6 +52,8 @@ let g:lightline = { \} let g:lightline.colorscheme = 'gruvbox' +" Jenkinsfile +au BufNewFile,BufRead Jenkinsfile setf groovy " Json au BufNewFile,BufRead *.json \ set tabstop=2 |