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.
This commit is contained in:
Kevin MacMartin 2014-07-16 06:46:17 -04:00
parent 5d7a4b56c2
commit 54a24c4f18
3 changed files with 11 additions and 9 deletions

@ -1 +1 @@
Subproject commit 7b0d3f868c4a6e77ee1a902204e3ba22008ad248
Subproject commit 1e3e0a82546db989d8d556a78fbd377df1edf187

View file

@ -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

View file

@ -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 {{{