]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vim/vimrc: set filetype for /etc/network/interfaces
authorSimon Ruderich <simon@ruderich.org>
Sun, 15 Jul 2018 14:08:38 +0000 (16:08 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 15 Jul 2018 14:08:38 +0000 (16:08 +0200)
vim/vimrc

index eb2ddb396557b7733ed3a7842ba92d6996e90741..8646ceee4775c3b55f1a4bc5659828a15cd9dc38 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1079,6 +1079,8 @@ if has('autocmd')
 
 " Recognize .test as Tcl files.
         autocmd BufRead,BufNewFile *.test set filetype=tcl
+" /etc/network/interfaces
+        autocmd BufRead,BufNewFile /etc/network/interfaces set filetype=interfaces
 
 " OTHER AUTO COMMANDS