From 1434697e81ef8b2e8d72e4fb501e69a21336b612 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 09:47:09 +0200 Subject: [PATCH 1/2] feat: disable vim-illuminate --- lazy-lock.json | 9 +++++---- lua/weeheavy/plugins/vim-illuminate.lua | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index dbfc18b..dc7b5ff 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,17 +1,18 @@ { - "blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" }, - "catppuccin": { "branch": "main", "commit": "c9e205fe035d622b3c2d66ee42edf368c0c31fd5" }, + "blink-cmp-git": { "branch": "master", "commit": "59c19ac2c26cf32ae05362b4b85e14370f83bf80" }, + "blink.cmp": { "branch": "main", "commit": "4f38ce99a472932d5776337f08f7a8180f1f571a" }, + "catppuccin": { "branch": "main", "commit": "1bf070129c0b6f77cc23f6a2212dcdc868308c52" }, "ccc.nvim": { "branch": "main", "commit": "af2cf5a963f401aad868c065222ee13d4bbc9050" }, "conform.nvim": { "branch": "master", "commit": "a6f5bdb78caa305496357d17e962bbc4c0b392e2" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, - "gitsigns.nvim": { "branch": "main", "commit": "ee28ba3e70ecea811b8f6d7b51d81976e94b121c" }, + "gitsigns.nvim": { "branch": "main", "commit": "7ce11abbb8b038a9de4fb6f75d8289c58d81aed7" }, "kanagawa": { "branch": "master", "commit": "cc3b68b08e6a0cb6e6bf9944932940091e49bb83" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lualine.nvim": { "branch": "master", "commit": "15884cee63a8c205334ab13ab1c891cd4d27101a" }, "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" }, - "mini.nvim": { "branch": "main", "commit": "90ab64f944a5a63a9efebe6735e1f2c6d4db3613" }, + "mini.nvim": { "branch": "main", "commit": "473cdbff498ed120f1768c75ef65fa42859aa14f" }, "newpaper.nvim": { "branch": "main", "commit": "d8f2a29001f795a59e4f28713427c200c15449ea" }, "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" }, "nvim-treesitter": { "branch": "master", "commit": "94ea4f436d2b59c80f02e293466c374584f03b8c" }, diff --git a/lua/weeheavy/plugins/vim-illuminate.lua b/lua/weeheavy/plugins/vim-illuminate.lua index 88b5203..af52ce8 100644 --- a/lua/weeheavy/plugins/vim-illuminate.lua +++ b/lua/weeheavy/plugins/vim-illuminate.lua @@ -1,4 +1,5 @@ return { "RRethy/vim-illuminate", - event = { "BufReadPre", "BufNewFile" } + event = { "BufReadPre", "BufNewFile" }, + enabled = false, } From a41a2376fb6eb13812d240ddc5f8439bffa23312 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 12 May 2025 09:47:27 +0200 Subject: [PATCH 2/2] feat: disable treesitter plugin --- lua/weeheavy/plugins/treesitter-context.lua | 3 +- lua/weeheavy/plugins/treesitter.lua | 125 ++++++++++---------- 2 files changed, 65 insertions(+), 63 deletions(-) diff --git a/lua/weeheavy/plugins/treesitter-context.lua b/lua/weeheavy/plugins/treesitter-context.lua index 86c4268..6a2991d 100644 --- a/lua/weeheavy/plugins/treesitter-context.lua +++ b/lua/weeheavy/plugins/treesitter-context.lua @@ -1,6 +1,7 @@ --- Shows context of code line +-- Shows context of code line -- Docs: https://github.com/nvim-treesitter/nvim-treesitter-context return { "nvim-treesitter/nvim-treesitter-context", event = { "BufReadPre", "BufNewFile" }, + enabled = false, } diff --git a/lua/weeheavy/plugins/treesitter.lua b/lua/weeheavy/plugins/treesitter.lua index 8246fe4..584fd59 100644 --- a/lua/weeheavy/plugins/treesitter.lua +++ b/lua/weeheavy/plugins/treesitter.lua @@ -1,66 +1,67 @@ -- Treesitter return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - event = { "BufReadPre", "BufNewFile" }, - dependencies = { - "nvim-treesitter/nvim-treesitter-textobjects", - }, - config = function() - local treesitter = require("nvim-treesitter.configs") + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + event = { "BufReadPre", "BufNewFile" }, + enabled = false, + dependencies = { + "nvim-treesitter/nvim-treesitter-textobjects", + }, + config = function() + local treesitter = require("nvim-treesitter.configs") - treesitter.setup({ - highlight = { enable = true }, - indent = { enable = true }, - auto_install = false, - -- language list: https://github.com/nvim-treesitter/nvim-treesitter#supported-languages - ensure_installed = { - "lua", - "comment", -- used for TODO/FIXME/NOTE etc - "vim", - "vimdoc", - "bash", - "diff", - "gitignore", - "markdown", - "markdown_inline", - "elixir", - "eex", - "heex", - "yaml", - "html", - "javascript", - "css", - "dockerfile", - "query", - "hcl", - "bicep", - "csv", - "properties", - "ini", - "python", - "regex", - "json", - "go", - "gomod", - "gosum", - "tcl", - "editorconfig", - "http", - "make", - "toml", - "latex", - "sql", - }, - incremental_selection = { - enable = true, - keymaps = { - init_selection = "", - node_incremental = "", - scope_incremental = false, - node_decremental = "", - }, - }, - }) - end, + treesitter.setup({ + highlight = { enable = true }, + indent = { enable = true }, + auto_install = false, + -- language list: https://github.com/nvim-treesitter/nvim-treesitter#supported-languages + ensure_installed = { + "lua", + "comment", -- used for TODO/FIXME/NOTE etc + "vim", + "vimdoc", + "bash", + "diff", + "gitignore", + "markdown", + "markdown_inline", + "elixir", + "eex", + "heex", + "yaml", + "html", + "javascript", + "css", + "dockerfile", + "query", + "hcl", + "bicep", + "csv", + "properties", + "ini", + "python", + "regex", + "json", + "go", + "gomod", + "gosum", + "tcl", + "editorconfig", + "http", + "make", + "toml", + "latex", + "sql", + }, + incremental_selection = { + enable = true, + keymaps = { + init_selection = "", + node_incremental = "", + scope_incremental = false, + node_decremental = "", + }, + }, + }) + end, }