diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-27 20:46:39 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-27 20:46:39 +0200 |
commit | 6a12aa87f41b02a68cd8e6b494e5400367c2b028 (patch) | |
tree | 21e2b6ed66f729b81a021c268e44708ec070a482 /ftdetect | |
parent | 5b77877888162f4e415fe9a7b8c5e9fb5dfb6ee1 (diff) | |
download | vim-polyglot-6a12aa87f41b02a68cd8e6b494e5400367c2b028.tar.gz vim-polyglot-6a12aa87f41b02a68cd8e6b494e5400367c2b028.zip |
Add jenkinsfile syntax supports, closes #225
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 56e1d6a6..6c8553e2 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -428,6 +428,15 @@ au BufNewFile,BufRead * call s:SelectJavascript() augroup END augroup filetypedetect +" jenkins:martinda/Jenkinsfile-vim-syntax +" Jenkinsfile +autocmd BufRead,BufNewFile Jenkinsfile set ft=Jenkinsfile +autocmd BufRead,BufNewFile Jenkinsfile* setf Jenkinsfile +autocmd BufRead,BufNewFile *.jenkinsfile set ft=Jenkinsfile +autocmd BufRead,BufNewFile *.jenkinsfile setf Jenkinsfile +augroup END + +augroup filetypedetect " json:elzr/vim-json autocmd BufNewFile,BufRead *.json setlocal filetype=json autocmd BufNewFile,BufRead *.jsonp setlocal filetype=json |