summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudric Schiltknecht <audric.schiltknecht@viagenie.ca>2019-01-28 14:34:26 -0500
committerAudric Schiltknecht <audric.schiltknecht@viagenie.ca>2019-07-18 15:40:06 -0400
commit59602fcd74ca18549b8510b5ede19907ddaac7c4 (patch)
treef0e1653094ef5672ca5935e11c6643061e117be7
parentf2f016b6345b3ab4b632f1da627b9a6f4dc01c75 (diff)
downloaddotfiles-59602fcd74ca18549b8510b5ede19907ddaac7c4.tar.gz
dotfiles-59602fcd74ca18549b8510b5ede19907ddaac7c4.tar.bz2
dotfiles-59602fcd74ca18549b8510b5ede19907ddaac7c4.zip
vim: Minor improvements in configuration
-rw-r--r--vim/vim/specific/xml.vim1
-rw-r--r--vim/vimrc5
2 files changed, 5 insertions, 1 deletions
diff --git a/vim/vim/specific/xml.vim b/vim/vim/specific/xml.vim
index 3202f68..836deb4 100644
--- a/vim/vim/specific/xml.vim
+++ b/vim/vim/specific/xml.vim
@@ -1 +1,2 @@
set nospell
+set textwidth=0
diff --git a/vim/vimrc b/vim/vimrc
index b1e17a3..2fb4e88 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -330,7 +330,7 @@ function! LoadTemplate(extension, type)
endfunction
" Activation des templates et des chargements spécifiques en fonction de
-" l'extenion du fichier chargé
+" l'extension du fichier chargé
autocmd BufNewFile * silent! call LoadTemplate('%:e', 'all')
autocmd BufRead * silent! call LoadTemplate('%:e', 'noTemplate')
@@ -381,3 +381,6 @@ source $HOME/.vim/shortkeys.vim
" Lecture configuration locale
source $HOME/.vimrc.local
+
+" Should be moved into specific, but since Jenkinsfiles do not have extensions...
+au BufNewFile,BufRead Jenkinsfile setf groovy