summaryrefslogtreecommitdiffstats
path: root/.config/nvim/langs.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/langs.vim')
-rw-r--r--.config/nvim/langs.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/langs.vim b/.config/nvim/langs.vim
index fb936b7..a2ad1f7 100644
--- a/.config/nvim/langs.vim
+++ b/.config/nvim/langs.vim
@@ -13,6 +13,8 @@ autocmd FileType fish
autocmd FileType perl
\ setlocal com-=:# kp=perldoc\ -f
\| compiler perl
+autocmd BufNewFile,BufRead *.conf
+ \ set filetype=conf
autocmd BufWritePost *.ms
\ let pdf=fnamemodify(bufname('%'), ':r') . ".pdf"
\| silent! execute "!nroff % -ms -Tpdf -Kutf8 > " . pdf