dotvim/lua/config/autocmd.lua

18 lines
391 B
Lua
Raw Normal View History

2023-11-04 18:30:53 +00:00
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
2022-11-13 04:06:05 +00:00
pattern = '*.gohtml',
command = 'set filetype=html'
}
)
2023-11-04 18:30:53 +00:00
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
2022-11-13 04:06:05 +00:00
pattern = '*.man',
command = 'set filetype=xml'
}
)
2023-11-04 18:30:53 +00:00
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
2022-11-13 04:06:05 +00:00
pattern = '*.w',
command = 'set filetype=cpp'
}
)