Update autocmd

This commit is contained in:
Alex Yatskov 2023-11-04 11:30:53 -07:00
parent d402ba0699
commit 9d67555f2e

View File

@ -1,19 +1,16 @@
vim.api.nvim_create_autocmd(
'BufRead,BufNewFile', {
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
pattern = '*.gohtml',
command = 'set filetype=html'
}
)
vim.api.nvim_create_autocmd(
'BufRead,BufNewFile', {
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
pattern = '*.man',
command = 'set filetype=xml'
}
)
vim.api.nvim_create_autocmd(
'BufRead,BufNewFile', {
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
pattern = '*.w',
command = 'set filetype=cpp'
}