]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add pkgbuild plugin
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 22 Apr 2014 23:48:01 +0000 (00:48 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 22 Apr 2014 23:48:01 +0000 (00:48 +0100)
vim/filetype.vim [new file with mode: 0644]
vim/vimrc

diff --git a/vim/filetype.vim b/vim/filetype.vim
new file mode 100644 (file)
index 0000000..eca9dc6
--- /dev/null
@@ -0,0 +1,6 @@
+if exists("did_load_filetypes")
+    finish
+endif
+augroup filetypedetect
+    autocmd! BufNewFile,BufRead PKGBUILD* setfiletype PKGBUILD
+augroup END
index 8af2642deb6f45bd9f4f31c90a293f04f8348216..80d67d169ed9c6f803475c73741db889f29c4994 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -31,6 +31,7 @@ Bundle 'valloric/youcompleteme'
 Bundle 'ompugao/ros.vim'
 Bundle 'ompugao/ctrlp-ros'
 
+Bundle 'firef0x/pkgbuild.vim'
 Bundle 'derekwyatt/vim-fswitch'
 Bundle 'jalcine/cmake.vim'