diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 19:20:57 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 19:21:12 +0100 |
commit | 6791e620da6ffd7b0b0d2e7052a077251f9e9a17 (patch) | |
tree | f68eea84e10cf4928f0b92efa0651853a3034ce2 /.config/nvim/langs.vim | |
parent | Aliases update (diff) | |
download | dotfiles-bsd-6791e620da6ffd7b0b0d2e7052a077251f9e9a17.tar.gz dotfiles-bsd-6791e620da6ffd7b0b0d2e7052a077251f9e9a17.tar.bz2 dotfiles-bsd-6791e620da6ffd7b0b0d2e7052a077251f9e9a17.tar.xz dotfiles-bsd-6791e620da6ffd7b0b0d2e7052a077251f9e9a17.tar.zst dotfiles-bsd-6791e620da6ffd7b0b0d2e7052a077251f9e9a17.zip |
Finally I figured
Diffstat (limited to '.config/nvim/langs.vim')
-rw-r--r-- | .config/nvim/langs.vim | 2 |
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 |