From c1d39b7ddfb8efd4b7519e1ced22c29c98ca7297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 1 Jun 2024 21:45:59 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(nvim):=20enable=20a?= =?UTF-8?q?nd=20disable=20some=20plugins=20inside=20vscode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lua/plugins/extras/coding/treesitter/sibling-swap.lua | 1 + .../nvim/lua/plugins/extras/coding/treesitter/spider.lua | 1 + .../nvim/lua/plugins/extras/coding/treesitter/text-case.lua | 1 - .../nvim/lua/plugins/extras/dap/persistent-breakpoints.lua | 1 + .config/nvim/lua/plugins/extras/editor/leap-spooky.lua | 6 +++++- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua b/.config/nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua index 3e6906fe..a3f0a2f2 100644 --- a/.config/nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua +++ b/.config/nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua @@ -1,6 +1,7 @@ return { "Wansmer/sibling-swap.nvim", dependencies = "nvim-treesitter/nvim-treesitter", + vscode = true, opts = { use_default_keymaps = false, highlight_node_at_cursor = true, diff --git a/.config/nvim/lua/plugins/extras/coding/treesitter/spider.lua b/.config/nvim/lua/plugins/extras/coding/treesitter/spider.lua index 2c243ffb..be0e0108 100644 --- a/.config/nvim/lua/plugins/extras/coding/treesitter/spider.lua +++ b/.config/nvim/lua/plugins/extras/coding/treesitter/spider.lua @@ -1,6 +1,7 @@ return { "chrisgrieser/nvim-spider", opts = {}, + vscode = true, -- stylua: ignore keys = { { "e", mode = { "n", "o", "x" }, function() require("spider").motion("e") end, desc = "Spider-e" }, diff --git a/.config/nvim/lua/plugins/extras/coding/treesitter/text-case.lua b/.config/nvim/lua/plugins/extras/coding/treesitter/text-case.lua index 54877b81..607f5c55 100644 --- a/.config/nvim/lua/plugins/extras/coding/treesitter/text-case.lua +++ b/.config/nvim/lua/plugins/extras/coding/treesitter/text-case.lua @@ -1,6 +1,5 @@ return { "johmsalas/text-case.nvim", - vscode = true, config = function() require("textcase").setup() LazyVim.on_load("telescope.nvim", function() diff --git a/.config/nvim/lua/plugins/extras/dap/persistent-breakpoints.lua b/.config/nvim/lua/plugins/extras/dap/persistent-breakpoints.lua index c74a56c6..b761bec9 100644 --- a/.config/nvim/lua/plugins/extras/dap/persistent-breakpoints.lua +++ b/.config/nvim/lua/plugins/extras/dap/persistent-breakpoints.lua @@ -2,6 +2,7 @@ return { { "mfussenegger/nvim-dap", optional = true, + vscode = false, dependencies = { "Weissle/persistent-breakpoints.nvim", vscode = false, diff --git a/.config/nvim/lua/plugins/extras/editor/leap-spooky.lua b/.config/nvim/lua/plugins/extras/editor/leap-spooky.lua index 2bdcff02..73c5103b 100644 --- a/.config/nvim/lua/plugins/extras/editor/leap-spooky.lua +++ b/.config/nvim/lua/plugins/extras/editor/leap-spooky.lua @@ -2,7 +2,11 @@ return { { import = "lazyvim.plugins.extras.editor.leap" }, { "ggandor/leap.nvim", - dependencies = "ggandor/leap-spooky", + vscode = true, + dependencies = { + "ggandor/leap-spooky", + vscode = true, + }, opts = { prefix = true, paste_on_remote_yank = true,