aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftdetect/muttrc.vim12
-rw-r--r--vim/after/ftdetect/sh.vim31
-rw-r--r--vim/after/ftdetect/xdefaults.vim6
3 files changed, 0 insertions, 49 deletions
diff --git a/vim/after/ftdetect/muttrc.vim b/vim/after/ftdetect/muttrc.vim
deleted file mode 100644
index ff3776b5..00000000
--- a/vim/after/ftdetect/muttrc.vim
+++ /dev/null
@@ -1,12 +0,0 @@
-" Add automatic commands to detect .muttrc files
-augroup dfmuttrc
-
- autocmd BufNewFile,BufRead
- \ **/.dotfiles/mutt/muttrc.d/*.rc
- \ setlocal filetype=muttrc
-
- autocmd BufNewFile,BufRead
- \ **/.muttrc.d/*.rc
- \ setlocal filetype=muttrc
-
-augroup END
diff --git a/vim/after/ftdetect/sh.vim b/vim/after/ftdetect/sh.vim
deleted file mode 100644
index f2bc0df2..00000000
--- a/vim/after/ftdetect/sh.vim
+++ /dev/null
@@ -1,31 +0,0 @@
-" Add automatic commands to choose shell flavours based on filename pattern
-augroup dfsh
-
- " Names/paths of things that are Bash shell script
- autocmd BufNewFile,BufRead
- \ **/.dotfiles/bash/**,bash-fc-*
- \ let b:is_bash = 1 |
- \ setlocal filetype=sh
-
- " Names/paths of things that are Korn shell script
- autocmd BufNewFile,BufRead
- \ **/.dotfiles/ksh/**,.kshrc,*.ksh
- \ let b:is_kornshell = 1 |
- \ setlocal filetype=sh
-
- " Names/paths of things that are POSIX shell script
- autocmd BufNewFile,BufRead
- \ **/.dotfiles/sh/**,.shinit,.shrc,.xinitrc,/etc/default/*
- \ let b:is_posix = 1 |
- \ setlocal filetype=sh
-
- " If we determined something is b:is_kornshell, tack on b:is_ksh as well so
- " we can still tease out what is actually a kornshell script after sh.vim is
- " done changing our options for us; it conflates POSIX with Korn shell.
- autocmd BufNewFile,BufRead
- \ *
- \ if exists('b:is_kornshell') |
- \ let b:is_ksh = 1 |
- \ endif
-
-augroup END
diff --git a/vim/after/ftdetect/xdefaults.vim b/vim/after/ftdetect/xdefaults.vim
deleted file mode 100644
index f0ee7b81..00000000
--- a/vim/after/ftdetect/xdefaults.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-" Add automatic commands to find Xresources subfiles
-augroup dfxdefaults
- autocmd BufNewFile,BufRead
- \ **/.Xresources.d/*
- \ setlocal filetype=xdefaults
-augroup END