aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-20 10:19:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-20 10:22:49 +1200
commit07e10e0c6cf47e92d92855671f9ea26e9a1ac575 (patch)
tree29ba15593d871d2a4a391f3345b5dc944da356d6 /vim
parentb5a65212d16dfa96d2f17546e57d0d289a9b52fd (diff)
downloaddotfiles-07e10e0c6cf47e92d92855671f9ea26e9a1ac575.tar.gz
dotfiles-07e10e0c6cf47e92d92855671f9ea26e9a1ac575.zip
Rename vimrc and gvimrc to have .vim suffix
Since they don't need to have the same names when installed, this makes it marginally easier to set filetypes without special paths.
Diffstat (limited to 'vim')
-rw-r--r--vim/filetype.vim12
-rw-r--r--vim/gvimrc.vim (renamed from vim/gvimrc)0
-rw-r--r--vim/vimrc.vim (renamed from vim/vimrc)0
3 files changed, 3 insertions, 9 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 219ec819..a439be3a 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -397,15 +397,9 @@ augroup filetypedetect
" VimL files
autocmd BufNewFile,BufRead
\ ?*.vim
- \,*.exrc
- \,*.gvimrc
- \,*.vimrc
- \,_exrc
- \,_gvimrc
- \,_vimrc
- \,exrc
- \,gvimrc
- \,vimrc
+ \,.exrc
+ \,[._]gvimrc
+ \,[._]vimrc
\ setfiletype vim
" .viminfo files
autocmd BufNewFile,BufRead
diff --git a/vim/gvimrc b/vim/gvimrc.vim
index ccccc20e..ccccc20e 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc.vim
diff --git a/vim/vimrc b/vim/vimrc.vim
index 977cc05d..977cc05d 100644
--- a/vim/vimrc
+++ b/vim/vimrc.vim