Commit 5657b4e

mo khan <mo@mokhan.ca>
2021-07-24 03:34:21
fix: remove duplicate ft mappings
1 parent 1e3e50e
Changed files (2)
ftdetect/_.vim
@@ -0,0 +1,3 @@
+au BufNewFile,BufRead *.muttrc setlocal ft=muttrc
+
+au FocusLost * :w
vimrc
@@ -97,22 +97,8 @@ endif
 runtime macros/matchit.vim
 color happy_hacking
 syntax on
-
-" }}}}
-
-"" File Type Settings {{{{
-""
-
 filetype plugin indent on
 
-if has("autocmd")
-  au BufNewFile,BufRead *.json set ft=javascript
-  au BufNewFile,BufRead *.muttrc set ft=muttrc
-  au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} set ft=markdown
-  au BufRead,BufNewFile {Gemfile,Rakefile,RakeFile,Vagrantfile,config.ru,*.rake} set ft=ruby
-  au FocusLost * :w
-endif
-
 " }}}}
 
 "" Mappings {{{{