diff options
author | Joe <rrbo@proton.me> | 2023-11-22 11:48:30 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-11-22 11:48:30 +0100 |
commit | 47a58991d92534192e20b70279c4beaa4c63f986 (patch) | |
tree | 9bc9647d6204c33f439bbb1c35e6b37784821fd1 /.config/nvim/lua/langs.lua | |
parent | up (diff) | |
download | dotfiles-bsd-47a58991d92534192e20b70279c4beaa4c63f986.tar.gz dotfiles-bsd-47a58991d92534192e20b70279c4beaa4c63f986.tar.bz2 dotfiles-bsd-47a58991d92534192e20b70279c4beaa4c63f986.tar.xz dotfiles-bsd-47a58991d92534192e20b70279c4beaa4c63f986.tar.zst dotfiles-bsd-47a58991d92534192e20b70279c4beaa4c63f986.zip |
up
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/langs.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/lua/langs.lua b/.config/nvim/lua/langs.lua index dc75682..64fe7ea 100644 --- a/.config/nvim/lua/langs.lua +++ b/.config/nvim/lua/langs.lua @@ -2,10 +2,10 @@ vim.g.asmsyntax = 'asm' vim.g.perl_include_pod = 1 vim.g.perl_compiler_force_warnings = 1 -vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.c,*.h', command = 'set filetype=c'}) -vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.cc,*.hh,*.cpp,*.hpp,*.cxx,*.hxx', command = 'set filetype=cpp'}) -vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.ms,*.1,*.2,*.3,*.4,*.5,*.6,*.7,*.8,*.9', command = 'set filetype=groff'}) -vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.conf', command = 'set filetype=conf'}) +-- vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.c,*.h', command = 'set filetype=c'}) +-- vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.cc,*.hh,*.cpp,*.hpp,*.cxx,*.hxx', command = 'set filetype=cpp'}) +-- vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.ms,*.1,*.2,*.3,*.4,*.5,*.6,*.7,*.8,*.9', command = 'set filetype=groff'}) +-- vim.api.nvim_create_autocmd('BufNewFile,BufRead', { pattern = '*.conf', command = 'set filetype=conf'}) vim.api.nvim_create_autocmd('BufWritePost', { pattern = '*.ms', command = "let pdf=fnamemodify(bufname('%'), ':r') . \".pdf\" | silent! execute \"!nroff % -ms -Tpdf -Kutf8 > \" . pdf"}) -vim.api.nvim_create_autocmd('FileType fish', { command = 'compiler fish'}) -vim.api.nvim_create_autocmd('FileType perl', { command = 'setlocal com-=:# kp=perldoc\\ -f | compiler perl'}) +-- vim.api.nvim_create_autocmd('FileType fish', { command = 'compiler fish'}) +-- vim.api.nvim_create_autocmd('FileType perl', { command = 'setlocal com-=:# kp=perldoc\\ -f | compiler perl'}) |