From 507941c68f54b394954b79d00ce0ee4e58371657 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 10:36:19 +0200 Subject: [PATCH 1/2] fix(treesitter): non-clashing keybind for text selection --- lua/weeheavy/plugins/treesitter.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/weeheavy/plugins/treesitter.lua b/lua/weeheavy/plugins/treesitter.lua index 0092a87..cc3fd3e 100644 --- a/lua/weeheavy/plugins/treesitter.lua +++ b/lua/weeheavy/plugins/treesitter.lua @@ -17,7 +17,7 @@ return { -- language list: https://github.com/nvim-treesitter/nvim-treesitter#supported-languages ensure_installed = { "lua", - "comment", -- used for TODO/FIXME/NOTE etc + "comment", -- used for TODO:, FIXME:, XXX: and NOTE: "vim", "vimdoc", "bash", @@ -61,8 +61,8 @@ return { incremental_selection = { enable = true, keymaps = { - init_selection = "", - node_incremental = "", + init_selection = "", + node_incremental = "", scope_incremental = false, node_decremental = "", }, From c6b9e654116ff929905e56a6b43c75afaf5a9b64 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 10:36:56 +0200 Subject: [PATCH 2/2] feat: use proselint for markdown --- lua/weeheavy/plugins/lsp/nvim-lint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/weeheavy/plugins/lsp/nvim-lint.lua b/lua/weeheavy/plugins/lsp/nvim-lint.lua index de54784..d983885 100644 --- a/lua/weeheavy/plugins/lsp/nvim-lint.lua +++ b/lua/weeheavy/plugins/lsp/nvim-lint.lua @@ -13,7 +13,7 @@ return { svelte = { "eslint_d" }, python = { "pylint" }, ansible = { "woke" }, - markdown = { "woke" }, + markdown = { "woke", "proselint" }, text = { "woke" }, sh = { "woke" }, }