force cs parser
temporary fix. make better solution when at home
This commit is contained in:
@@ -220,7 +220,10 @@ vim.api.nvim_create_autocmd({
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
-- FILE SPECIFIC AND AUTOCMDS {{{1
|
--- tree-sitter and file specific {{{1
|
||||||
|
|
||||||
|
assert(vim.treesitter.language.add('c_sharp'))
|
||||||
|
vim.treesitter.language.register('c_sharp', 'cs')
|
||||||
local file_specific = {
|
local file_specific = {
|
||||||
c = function()
|
c = function()
|
||||||
vim.bo.expandtab = false
|
vim.bo.expandtab = false
|
||||||
@@ -231,7 +234,7 @@ local file_specific = {
|
|||||||
end,
|
end,
|
||||||
odin = function()
|
odin = function()
|
||||||
vim.bo.expandtab = false
|
vim.bo.expandtab = false
|
||||||
end
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('BufEnter', {
|
vim.api.nvim_create_autocmd('BufEnter', {
|
||||||
|
|||||||
Reference in New Issue
Block a user