nvim: faust integration to treesitter and filetypes

This commit is contained in:
PowerUser64 2024-02-21 21:47:49 -08:00
parent 4753068dd1
commit d9d0b60ae9
2 changed files with 5 additions and 0 deletions

View file

@ -24,6 +24,7 @@ M.treesitter = function()
"cpp",
"css",
"dockerfile",
"faust",
"html",
"javascript",
"json",

View file

@ -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'