aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-11-25 05:14:27 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-11-25 05:14:27 +0100
commit565f9d9e52df93c936c0608912723e240ccab6b2 (patch)
tree3ada3e650fc43309c791f34011d3fe6906f47bc7 /nvim/init.vim
parent36e9acea42b35f62d77eb05ee987a468c6fa87d4 (diff)
downloaddotfiles-565f9d9e52df93c936c0608912723e240ccab6b2.tar.xz
nvim/init: Move *.h filetype setting to filetype.vim
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 4f2f73a..06b8478 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -160,12 +160,6 @@ autocmd BufWinLeave * call clearmatches()
-" Why does vim set the filetype of .h files as C++?
-augroup filetypes
- autocmd!
- autocmd BufRead,BufNewFile *.h set filetype=c
-augroup END
-
augroup indentation
autocmd!
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 noet