diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-11-09 16:12:59 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-11-09 16:13:47 -0600 |
commit | e0fb06aacbe72169f2ede3009b0c18717760d358 (patch) | |
tree | 0532e1762e34847f519b220bfe09ccf4a039226b /vim/ftdetect | |
parent | 62f99ef3b38692f23f3f9bac3e2c9c4578fb5304 (diff) | |
download | conf-e0fb06aacbe72169f2ede3009b0c18717760d358.tar.gz conf-e0fb06aacbe72169f2ede3009b0c18717760d358.zip |
convert all of my vim plugins to use pathogen
Diffstat (limited to 'vim/ftdetect')
-rw-r--r-- | vim/ftdetect/git.vim | 18 | ||||
-rw-r--r-- | vim/ftdetect/tt2.vim | 9 |
2 files changed, 0 insertions, 27 deletions
diff --git a/vim/ftdetect/git.vim b/vim/ftdetect/git.vim deleted file mode 100644 index 727bf0c..0000000 --- a/vim/ftdetect/git.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Git -autocmd BufNewFile,BufRead *.git/COMMIT_EDITMSG set ft=gitcommit -autocmd BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules set ft=gitconfig -autocmd BufNewFile,BufRead git-rebase-todo set ft=gitrebase -autocmd BufNewFile,BufRead .msg.[0-9]* - \ if getline(1) =~ '^From.*# This line is ignored.$' | - \ set ft=gitsendemail | - \ endif -autocmd BufNewFile,BufRead *.git/** - \ if getline(1) =~ '^\x\{40\}\>\|^ref: ' | - \ set ft=git | - \ endif - -" This logic really belongs in scripts.vim -autocmd BufNewFile,BufRead,StdinReadPost * - \ if getline(1) =~ '^\(commit\|tree\|object\) \x\{40\}\>\|^tag \S\+$' | - \ set ft=git | - \ endif diff --git a/vim/ftdetect/tt2.vim b/vim/ftdetect/tt2.vim deleted file mode 100644 index 699fa58..0000000 --- a/vim/ftdetect/tt2.vim +++ /dev/null @@ -1,9 +0,0 @@ -au BufNewFile,BufRead *.tt - \ if ( join(getline(1, 10)) =~ '<\chtml' - \ && join(getline(1, 10)) !~ '<[%?]' ) - \ || getline(1) =~ '<!DOCTYPE HTML' - \ || ( join(getline(1, 10)) =~ '<.*>' ) | - \ setf tt2html | - \ else | - \ setf tt2 | - \ endif |