Update autocmd
This commit is contained in:
parent
d402ba0699
commit
9d67555f2e
@ -1,19 +1,16 @@
|
|||||||
vim.api.nvim_create_autocmd(
|
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
|
||||||
'BufRead,BufNewFile', {
|
|
||||||
pattern = '*.gohtml',
|
pattern = '*.gohtml',
|
||||||
command = 'set filetype=html'
|
command = 'set filetype=html'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd(
|
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
|
||||||
'BufRead,BufNewFile', {
|
|
||||||
pattern = '*.man',
|
pattern = '*.man',
|
||||||
command = 'set filetype=xml'
|
command = 'set filetype=xml'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd(
|
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
|
||||||
'BufRead,BufNewFile', {
|
|
||||||
pattern = '*.w',
|
pattern = '*.w',
|
||||||
command = 'set filetype=cpp'
|
command = 'set filetype=cpp'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user