From 87a756a4fb73a103a1cd451f92e0e822b470ee99 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 25 Nov 2024 08:03:59 +0000 Subject: [PATCH] Remove nvim-treesitter-context --- nix/modules/home-manager/neovim.nix | 1 - nvim/plugin/treesitter.lua | 3 --- 2 files changed, 4 deletions(-) diff --git a/nix/modules/home-manager/neovim.nix b/nix/modules/home-manager/neovim.nix index 7e8b680..26e6f9d 100644 --- a/nix/modules/home-manager/neovim.nix +++ b/nix/modules/home-manager/neovim.nix @@ -93,7 +93,6 @@ yaml ] )) - nvim-treesitter-context nvim-treesitter-textobjects # LSP, linting and formatting diff --git a/nvim/plugin/treesitter.lua b/nvim/plugin/treesitter.lua index df5bd1a..88e0899 100644 --- a/nvim/plugin/treesitter.lua +++ b/nvim/plugin/treesitter.lua @@ -1,5 +1,4 @@ local configs = require "nvim-treesitter.configs" -local context = require "treesitter-context" local ts_repeat_move = require "nvim-treesitter.textobjects.repeatable_move" configs.setup { @@ -132,5 +131,3 @@ set({ "n", "o", "x" }, "f", ts_repeat_move.builtin_f) set({ "n", "o", "x" }, "F", ts_repeat_move.builtin_F) set({ "n", "o", "x" }, "t", ts_repeat_move.builtin_t) set({ "n", "o", "x" }, "T", ts_repeat_move.builtin_T) - -context.setup { enable = true }