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