mirror of
https://github.com/LhKipp/nvim-nu
synced 2024-09-16 14:24:01 +02:00
Use vim.filetype.add instead of ftdetect
This commit is contained in:
parent
04ad200217
commit
eaebd604df
2 changed files with 6 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
au BufNewFile,BufRead *.nu set filetype=nu
|
|
@ -7,3 +7,9 @@ parser_config.nu = {
|
|||
},
|
||||
filetype = "nu"
|
||||
}
|
||||
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
nu = "nu"
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue