From b283bc854ece8e5d2c7fbb4681fc4dad87a35d7a Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Sun, 18 Feb 2024 22:37:44 -0500 Subject: [PATCH] treesitter has trouble with python --- configs/nvim/lua/treesitter-setup.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configs/nvim/lua/treesitter-setup.lua b/configs/nvim/lua/treesitter-setup.lua index 5ca8700..e358e8d 100644 --- a/configs/nvim/lua/treesitter-setup.lua +++ b/configs/nvim/lua/treesitter-setup.lua @@ -5,7 +5,7 @@ vim.defer_fn(function() require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter ensure_installed = { - 'markdown_inline' -- Markdown has/needs(atm) 2 packages and this one isn't installed automatically + 'markdown_inline', -- Markdown has/needs(atm) 2 packages and this one isn't installed automatically }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) @@ -15,7 +15,10 @@ vim.defer_fn(function() enable = true, additional_vim_regex_highlighting = false, }, - indent = { enable = true }, + indent = { + enable = true, + disable = { 'python' }, + }, incremental_selection = { enable = true, keymaps = {