-
Notifications
You must be signed in to change notification settings - Fork 0
/
filetype.vim
16 lines (15 loc) · 908 Bytes
/
filetype.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" This file is sourced before the global (upstream) filetype.vim file. The
" files in ftdetect/ will be sourced after the global filetype.vim.
augroup LucFileType
autocmd BufNewFile,BufRead $GNUPGHOME/gpg.conf setfiletype gpg
autocmd BufNewFile,BufRead $GNUPGHOME/options setfiletype gpg
autocmd BufRead,BufNewFile PKGBUILD setfiletype sh | let b:is_bash = 1
autocmd BufRead,BufNewFile *.mutt setfiletype muttrc
autocmd BufRead,BufNewFile *.muttrc setfiletype muttrc
autocmd BufRead,BufNewFile *.ics setfiletype icalendar
autocmd BufRead,BufNewFile *.vcf setfiletype icalendar | set fileformat=dos
autocmd BufRead,BufNewFile *.tmux setfiletype tmux
autocmd BufRead,BufNewFile build.sc setfiletype scala
autocmd BufRead,BufNewFile *.u setfiletype ulang | source ~/uni/master/ulang/misc/ulang.vim
autocmd BufRead,BufNewFile *.blade.php setfiletype php.blade
augroup END