From 6791e620da6ffd7b0b0d2e7052a077251f9e9a17 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Nov 2020 19:20:57 +0100 Subject: Finally I figured --- .config/nvim/langs.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/nvim/langs.vim') 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 -- cgit v1.2.3