From 54a24c4f186fb5e737a5fef7ced1d2a12ee230c7 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 16 Jul 2014 06:46:17 -0400 Subject: [PATCH] changed iskeyword-=. to PKGBUILD files only, and moved it and one other filename specific setting (that wasn't to set the filetype) to the after settings file. --- vim/bundle/syntastic | 2 +- vim/config/after.vim | 9 ++++++--- vim/config/settings.vim | 9 ++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/vim/bundle/syntastic b/vim/bundle/syntastic index 7b0d3f8..1e3e0a8 160000 --- a/vim/bundle/syntastic +++ b/vim/bundle/syntastic @@ -1 +1 @@ -Subproject commit 7b0d3f868c4a6e77ee1a902204e3ba22008ad248 +Subproject commit 1e3e0a82546db989d8d556a78fbd377df1edf187 diff --git a/vim/config/after.vim b/vim/config/after.vim index 99e3ccd..5c7fe90 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -1,6 +1,6 @@ "============================================================" " " -" Darkcloud Vim Config: settings to load after all else " +" Darkcloud Vim Config: settings to load after " " " " By: Kevin MacMartin (prurigro@gmail.com) " " Website: https://github.com/prurigro/darkcloud-vimconfig " @@ -28,8 +28,11 @@ if has("autocmd") && exists("+omnifunc") endif "FILETPE AND SYNTAX: {{{ - "misc filtype specific settings - autocmd FileType sh setlocal iskeyword-=. + "filename specific settings + autocmd BufEnter,BufRead *taskrc setlocal commentstring=#\ %s + autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=. + + "filtype specific settings autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing autocmd Filetype mkd setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown autocmd FileType help* wincmd L "help windows always open vertically diff --git a/vim/config/settings.vim b/vim/config/settings.vim index b20627c..3b17617 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -67,13 +67,12 @@ syntax on "set given filenames to various filetypes - au BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setf aspnet - au BufNewFile,BufRead *.gradle setf groovy - au BufNewFile,BufRead *muttrc setf muttrc - au BufNewFile,BufRead *ircd.conf setf javascript - au BufNewFile,BufRead *taskrc setlocal commentstring=#\ %s au BufNewFile,BufRead pacman.conf,yaourtrc setf sh au BufNewFile,BufRead cjdroute.conf,cjdmaid.conf setf json + au BufNewFile,BufRead *muttrc setf muttrc + au BufNewFile,BufRead *ircd.conf setf javascript + au BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setf aspnet + au BufNewFile,BufRead *.gradle setf groovy "}}} "GVIM: GUI CONFIG OPTIONS {{{