From c8306cb467aa936ea9a41e6969e78e84c88d5968 Mon Sep 17 00:00:00 2001 From: Titus Moore Date: Fri, 5 May 2023 11:47:26 -0400 Subject: [PATCH] Added C# support in treesitter --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index f26e3e0a..69def9d5 100644 --- a/init.lua +++ b/init.lua @@ -279,7 +279,8 @@ vim.keymap.set('n', 'hp', function() require('harpoon.ui').nav_prev() en -- See `:help nvim-treesitter` require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter - ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'php', 'dart' }, + ensure_installed = { 'c', 'cpp', 'c_sharp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'php', + 'dart' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false,