added csharp support

This commit is contained in:
Baipyrus 2024-01-26 12:40:34 +01:00
parent 5d3f418609
commit 191ac8eac4
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ require('mason-lspconfig').setup()
-- define the property 'filetypes' to the map in question.
local servers = {
rust_analyzer = {},
omnisharp = {},
tsserver = {},
pyright = {},
svelte = {},

View File

@ -4,7 +4,7 @@
vim.defer_fn(function()
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'lua', 'python', 'rust', 'javascript', 'typescript', 'vimdoc', 'vim', 'svelte' },
ensure_installed = { 'lua', 'python', 'rust', 'javascript', 'typescript', 'vimdoc', 'vim', 'svelte', 'c_sharp' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,