From ad4dfe73ea558d3ae428949dd5a9a564621bd967 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Sat, 22 Jun 2024 21:14:52 -0700 Subject: [PATCH] feat: disable treesitter-context This plugin is flooding my editor with errors when editing Markdown files. Disabling for now until I can look into it more. --- lazy-lock.json | 1 - lua/plugins/treesitter.lua | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 9a3b5b3..664ab00 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -29,7 +29,6 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-spectre": { "branch": "master", "commit": "ec67d4b5370094b923dfcf6b09b39142f2964861" }, "nvim-treesitter": { "branch": "master", "commit": "122b4d3db1616c1f1305b847c5ed2217c4c329f1" }, - "nvim-treesitter-context": { "branch": "master", "commit": "5efba33af0f39942e426340da7bc15d7dec16474" }, "nvim-ts-autotag": { "branch": "main", "commit": "ddfccbf0df1b9349c2b9e9b17f4afa8f9b6c1ed1" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" }, "nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" }, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 0f277eb..3dcacaf 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -26,12 +26,12 @@ return { require("nvim-treesitter.configs").setup(opts) end, }, - { - "nvim-treesitter/nvim-treesitter-context", - opts = { - max_lines = 2, - }, - }, + -- { + -- "nvim-treesitter/nvim-treesitter-context", + -- opts = { + -- max_lines = 2, + -- }, + -- }, { "windwp/nvim-ts-autotag", event = "VeryLazy",