summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-06-08 13:57:13 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2014-06-08 13:57:13 +0200
commitd6866fccedc65c4506c50776e23ec202757382bb (patch)
treeb5c349045507359e4fcebb3b09bc56ce510b6a7a /ftdetect/polyglot.vim
parent7208e89a13cadd560b2ebbd67a7221c3bb6ef416 (diff)
downloadvim-polyglot-1.9.0.tar.gz
vim-polyglot-1.9.0.zip
Add systemd support, #251.9.0
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 46961a5a..3024bb83 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -128,6 +128,14 @@ au BufRead,BufNewFile * call s:DetectScala()
autocmd BufNewFile,BufRead *.slim set filetype=slim
autocmd BufNewFile,BufReadPost *.styl set filetype=stylus
autocmd BufNewFile,BufReadPost *.stylus set filetype=stylus
+au BufNewFile,BufRead *.automount set filetype=systemd
+au BufNewFile,BufRead *.mount set filetype=systemd
+au BufNewFile,BufRead *.path set filetype=systemd
+au BufNewFile,BufRead *.service set filetype=systemd
+au BufNewFile,BufRead *.socket set filetype=systemd
+au BufNewFile,BufRead *.swap set filetype=systemd
+au BufNewFile,BufRead *.target set filetype=systemd
+au BufNewFile,BufRead *.timer set filetype=systemd
au BufRead,BufNewFile *.textile set filetype=textile
autocmd BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
autocmd BufNewFile,BufRead *.toml set filetype=toml