nvim: faust integration to treesitter and filetypes
This commit is contained in:
parent
4753068dd1
commit
d9d0b60ae9
2 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,7 @@ M.treesitter = function()
|
|||
"cpp",
|
||||
"css",
|
||||
"dockerfile",
|
||||
"faust",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
|
|
|
@ -135,6 +135,10 @@ vim.cmd 'autocmd Filetype gitcommit setlocal spell'
|
|||
vim.cmd 'autocmd FileType help setlocal nospell'
|
||||
vim.cmd 'filetype plugin on'
|
||||
|
||||
-- .dsp and .lib files are faust
|
||||
vim.cmd 'autocmd BufReadPost *.dsp setlocal ft=faust'
|
||||
vim.cmd 'autocmd BufReadPost *.lib setlocal ft=faust'
|
||||
|
||||
-- Automatically disable line numbers when in terminal mode
|
||||
vim.cmd 'autocmd TermOpen * setlocal nospell nonumber norelativenumber'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue