From 3856ba8c89731e3a59ef5fccd8f91909cf7157c2 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 25 Jan 2018 13:12:46 +0000 Subject: [PATCH] make htaccess variations filetype = apache --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index 31c392c..e9feba7 100644 --- a/.vimrc +++ b/.vimrc @@ -410,4 +410,9 @@ augroup detectES6 autocmd BufNew,BufNewFile,BufRead *.es6 :setlocal filetype=javascript augroup END +""set htaccess variations to apache {{{2 +augroup detectHtaccess + autocmd! + autocmd BufNew,BufNewFile,BufRead *.htaccess,*.localhtaccess,*.livehtaccess :setlocal filetype=apache +augroup END