From e1631629b935cd366c65052c009c697bf4ab1365 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 12 May 2023 20:33:16 +0530 Subject: [PATCH 01/48] disable LSPs inbuilt formatting by default | FIX (#2016) We mostly use null-ls for the formatting but if our current lsp server supports formatting then the null-ls one wouldnt work and we would never get an error etc or prompt to use null-ls formatter which is scaryy!! so disabling the formatting on lsp server by default --- lua/plugins/configs/lspconfig.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index 441d5ae..fbce3a8 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -7,6 +7,9 @@ local utils = require "core.utils" -- export on_attach & capabilities for custom lspconfigs M.on_attach = function(client, bufnr) + client.server_capabilities.documentFormattingProvider = false + client.server_capabilities.documentRangeFormattingProvider = false + utils.load_mappings("lspconfig", { buffer = bufnr }) if client.server_capabilities.signatureHelpProvider then From 699aeaa44203b62003da8aacd838a5bdac4c2d46 Mon Sep 17 00:00:00 2001 From: Lexey Khom <92052116+LexeyKhom@users.noreply.github.com> Date: Sat, 13 May 2023 12:58:50 +0300 Subject: [PATCH 02/48] style(mappings): One style for descriptions (#2018) * style(mappings.lua): Abbreviations in Upper case (like "LSP") * style(mappings.lua): One description style - Sentence case Only the first word of a sentence and proper nouns are capitalized, with the rest of the words in lowercase. * style(mappings.lua): Replase "_" to " " in descriptions --- lua/core/mappings.lua | 144 +++++++++++++++++++++--------------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 8fbbf22..b06bdc9 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -5,63 +5,63 @@ local M = {} M.general = { i = { -- go to beginning and end - [""] = { "^i", "beginning of line" }, - [""] = { "", "end of line" }, + [""] = { "^i", "Beginning of line" }, + [""] = { "", "End of line" }, -- navigate within insert mode - [""] = { "", "move left" }, - [""] = { "", "move right" }, - [""] = { "", "move down" }, - [""] = { "", "move up" }, + [""] = { "", "Move left" }, + [""] = { "", "Move right" }, + [""] = { "", "Move down" }, + [""] = { "", "Move up" }, }, n = { - [""] = { ":noh ", "clear highlights" }, + [""] = { ":noh ", "Clear highlights" }, -- switch between windows - [""] = { "h", "window left" }, - [""] = { "l", "window right" }, - [""] = { "j", "window down" }, - [""] = { "k", "window up" }, + [""] = { "h", "Window left" }, + [""] = { "l", "Window right" }, + [""] = { "j", "Window down" }, + [""] = { "k", "Window up" }, -- save - [""] = { " w ", "save file" }, + [""] = { " w ", "Save file" }, -- Copy all - [""] = { " %y+ ", "copy whole file" }, + [""] = { " %y+ ", "Copy whole file" }, -- line numbers - ["n"] = { " set nu! ", "toggle line number" }, - ["rn"] = { " set rnu! ", "toggle relative number" }, + ["n"] = { " set nu! ", "Toggle line number" }, + ["rn"] = { " set rnu! ", "Toggle relative number" }, -- Allow moving the cursor through wrapped lines with j, k, and -- http://www.reddit.com/r/vim/comments/2k4cbr/problem_with_gj_and_gk/ -- empty mode is same as using :map -- also don't use g[j|k] when in operator pending mode, so it doesn't alter d, y or c behaviour - ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move down", opts = { expr = true } }, - ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move up", opts = { expr = true } }, - [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move up", opts = { expr = true } }, - [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move down", opts = { expr = true } }, + ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "Move down", opts = { expr = true } }, + ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "Move up", opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "Move up", opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "Move down", opts = { expr = true } }, -- new buffer - ["b"] = { " enew ", "new buffer" }, + ["b"] = { " enew ", "New buffer" }, ["ch"] = { " NvCheatsheet ", "Mapping cheatsheet" }, }, t = { - [""] = { vim.api.nvim_replace_termcodes("", true, true, true), "escape terminal mode" }, + [""] = { vim.api.nvim_replace_termcodes("", true, true, true), "Escape terminal mode" }, }, v = { - [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move up", opts = { expr = true } }, - [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move down", opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "Move up", opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "Move down", opts = { expr = true } }, }, x = { - ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move down", opts = { expr = true } }, - ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move up", opts = { expr = true } }, + ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "Move down", opts = { expr = true } }, + ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "Move up", opts = { expr = true } }, -- Don't copy the replaced text after pasting in visual mode -- https://vim.fandom.com/wiki/Replace_a_word_with_yanked_text#Alternative_mapping_for_paste - ["p"] = { 'p:let @+=@0:let @"=@0', "dont copy replaced text", opts = { silent = true } }, + ["p"] = { 'p:let @+=@0:let @"=@0', "Dont copy replaced text", opts = { silent = true } }, }, } @@ -74,14 +74,14 @@ M.tabufline = { function() require("nvchad_ui.tabufline").tabuflineNext() end, - "goto next buffer", + "Goto next buffer", }, [""] = { function() require("nvchad_ui.tabufline").tabuflinePrev() end, - "goto prev buffer", + "Goto prev buffer", }, -- close buffer + hide terminal buffer @@ -89,7 +89,7 @@ M.tabufline = { function() require("nvchad_ui.tabufline").close_buffer() end, - "close buffer", + "Close buffer", }, }, } @@ -103,14 +103,14 @@ M.comment = { function() require("Comment.api").toggle.linewise.current() end, - "toggle comment", + "Toggle comment", }, }, v = { ["/"] = { "lua require('Comment.api').toggle.linewise(vim.fn.visualmode())", - "toggle comment", + "Toggle comment", }, }, } @@ -125,119 +125,119 @@ M.lspconfig = { function() vim.lsp.buf.declaration() end, - "lsp declaration", + "LSP declaration", }, ["gd"] = { function() vim.lsp.buf.definition() end, - "lsp definition", + "LSP definition", }, ["K"] = { function() vim.lsp.buf.hover() end, - "lsp hover", + "LSP hover", }, ["gi"] = { function() vim.lsp.buf.implementation() end, - "lsp implementation", + "LSP implementation", }, ["ls"] = { function() vim.lsp.buf.signature_help() end, - "lsp signature_help", + "LSP signature help", }, ["D"] = { function() vim.lsp.buf.type_definition() end, - "lsp definition type", + "LSP definition type", }, ["ra"] = { function() require("nvchad_ui.renamer").open() end, - "lsp rename", + "LSP rename", }, ["ca"] = { function() vim.lsp.buf.code_action() end, - "lsp code_action", + "LSP code action", }, ["gr"] = { function() vim.lsp.buf.references() end, - "lsp references", + "LSP references", }, ["f"] = { function() vim.diagnostic.open_float { border = "rounded" } end, - "floating diagnostic", + "Floating diagnostic", }, ["[d"] = { function() vim.diagnostic.goto_prev() end, - "goto prev", + "Goto prev", }, ["]d"] = { function() vim.diagnostic.goto_next() end, - "goto_next", + "Goto next", }, ["q"] = { function() vim.diagnostic.setloclist() end, - "diagnostic setloclist", + "Diagnostic setloclist", }, ["fm"] = { function() vim.lsp.buf.format { async = true } end, - "lsp formatting", + "LSP formatting", }, ["wa"] = { function() vim.lsp.buf.add_workspace_folder() end, - "add workspace folder", + "Add workspace folder", }, ["wr"] = { function() vim.lsp.buf.remove_workspace_folder() end, - "remove workspace folder", + "Remove workspace folder", }, ["wl"] = { function() print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end, - "list workspace folders", + "List workspace folders", }, }, } @@ -247,10 +247,10 @@ M.nvimtree = { n = { -- toggle - [""] = { " NvimTreeToggle ", "toggle nvimtree" }, + [""] = { " NvimTreeToggle ", "Toggle nvimtree" }, -- focus - ["e"] = { " NvimTreeFocus ", "focus nvimtree" }, + ["e"] = { " NvimTreeFocus ", "Focus nvimtree" }, }, } @@ -259,23 +259,23 @@ M.telescope = { n = { -- find - ["ff"] = { " Telescope find_files ", "find files" }, - ["fa"] = { " Telescope find_files follow=true no_ignore=true hidden=true ", "find all" }, - ["fw"] = { " Telescope live_grep ", "live grep" }, - ["fb"] = { " Telescope buffers ", "find buffers" }, - ["fh"] = { " Telescope help_tags ", "help page" }, - ["fo"] = { " Telescope oldfiles ", "find oldfiles" }, - ["fz"] = { " Telescope current_buffer_fuzzy_find ", "find in current buffer" }, + ["ff"] = { " Telescope find_files ", "Find files" }, + ["fa"] = { " Telescope find_files follow=true no_ignore=true hidden=true ", "Find all" }, + ["fw"] = { " Telescope live_grep ", "Live grep" }, + ["fb"] = { " Telescope buffers ", "Find buffers" }, + ["fh"] = { " Telescope help_tags ", "Help page" }, + ["fo"] = { " Telescope oldfiles ", "Find oldfiles" }, + ["fz"] = { " Telescope current_buffer_fuzzy_find ", "Find in current buffer" }, -- git - ["cm"] = { " Telescope git_commits ", "git commits" }, - ["gt"] = { " Telescope git_status ", "git status" }, + ["cm"] = { " Telescope git_commits ", "Git commits" }, + ["gt"] = { " Telescope git_status ", "Git status" }, -- pick a hidden term - ["pt"] = { " Telescope terms ", "pick hidden term" }, + ["pt"] = { " Telescope terms ", "Pick hidden term" }, -- theme switcher - ["th"] = { " Telescope themes ", "nvchad themes" }, + ["th"] = { " Telescope themes ", "Nvchad themes" }, }, } @@ -288,21 +288,21 @@ M.nvterm = { function() require("nvterm.terminal").toggle "float" end, - "toggle floating term", + "Toggle floating term", }, [""] = { function() require("nvterm.terminal").toggle "horizontal" end, - "toggle horizontal term", + "Toggle horizontal term", }, [""] = { function() require("nvterm.terminal").toggle "vertical" end, - "toggle vertical term", + "Toggle vertical term", }, }, @@ -312,21 +312,21 @@ M.nvterm = { function() require("nvterm.terminal").toggle "float" end, - "toggle floating term", + "Toggle floating term", }, [""] = { function() require("nvterm.terminal").toggle "horizontal" end, - "toggle horizontal term", + "Toggle horizontal term", }, [""] = { function() require("nvterm.terminal").toggle "vertical" end, - "toggle vertical term", + "Toggle vertical term", }, -- new @@ -334,14 +334,14 @@ M.nvterm = { function() require("nvterm.terminal").new "horizontal" end, - "new horizontal term", + "New horizontal term", }, ["v"] = { function() require("nvterm.terminal").new "vertical" end, - "new vertical term", + "New vertical term", }, }, } @@ -354,14 +354,14 @@ M.whichkey = { function() vim.cmd "WhichKey" end, - "which-key all keymaps", + "Which-key all keymaps", }, ["wk"] = { function() local input = vim.fn.input "WhichKey: " vim.cmd("WhichKey " .. input) end, - "which-key query lookup", + "Which-key query lookup", }, }, } @@ -383,7 +383,7 @@ M.blankline = { end end, - "Jump to current_context", + "Jump to current context", }, }, } From 914f9a400e4c39dc149dfd3e2ebec816e7f91565 Mon Sep 17 00:00:00 2001 From: Tirtharaj Pramanik <81750507+TirtharajPramanik@users.noreply.github.com> Date: Wed, 17 May 2023 02:14:15 +0530 Subject: [PATCH 03/48] Update init.lua Putting `.../mason/bin/` in the beginning of `vim.env.PATH` --- lua/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index 8fe26e2..073a6cc 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -58,7 +58,7 @@ end -- add binaries installed by mason.nvim to path local is_windows = vim.loop.os_uname().sysname == "Windows_NT" -vim.env.PATH = vim.env.PATH .. (is_windows and ";" or ":") .. vim.fn.stdpath "data" .. "/mason/bin" +vim.env.PATH = vim.fn.stdpath "data" .. "/mason/bin" .. (is_windows and ";" or ":") .. vim.env.PATH -------------------------------------- autocmds ------------------------------------------ local autocmd = vim.api.nvim_create_autocmd From a54e4e92720dbdd109008df494ca3f44f6ce1c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Carneiro?= Date: Wed, 17 May 2023 21:01:36 -0300 Subject: [PATCH 04/48] chore: consistent border style when navigating diagnostics (#2033) --- lua/core/mappings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index b06bdc9..d488fdf 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -193,14 +193,14 @@ M.lspconfig = { ["[d"] = { function() - vim.diagnostic.goto_prev() + vim.diagnostic.goto_prev({ float = { border = "rounded" }}) end, "Goto prev", }, ["]d"] = { function() - vim.diagnostic.goto_next() + vim.diagnostic.goto_next({ float = { border = "rounded" }}) end, "Goto next", }, From c8a1aa2e2b0a0ecf3248d8c65837a7c6824033fa Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 18 May 2023 05:35:36 +0530 Subject: [PATCH 05/48] use old dir icon for nvimtree in nerdfonts v3.0 update this icon was removed! but they re-added it in v3.0.1, so everyone please update your font package :D --- lua/plugins/configs/nvimtree.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index 25c5d68..8dec11f 100644 --- a/lua/plugins/configs/nvimtree.lua +++ b/lua/plugins/configs/nvimtree.lua @@ -51,7 +51,7 @@ local options = { default = "󰈚", symlink = "", folder = { - default = "󰉋", + default = "", empty = "", empty_open = "", open = "", From 1cb237fa78e63b80132cbb6a05f45eb074d3d934 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 18 May 2023 07:58:57 +0530 Subject: [PATCH 06/48] rm outdated icons --- lua/core/default_config.lua | 4 ++-- lua/plugins/configs/nvimtree.lua | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index ab71bfd..410e932 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -64,8 +64,8 @@ M.ui = { buttons = { { " Find File", "Spc f f", "Telescope find_files" }, - { " Recent Files", "Spc f o", "Telescope oldfiles" }, - { " Find Word", "Spc f w", "Telescope live_grep" }, + { "󰈚 Recent Files", "Spc f o", "Telescope oldfiles" }, + { "󰈭 Find Word", "Spc f w", "Telescope live_grep" }, { " Bookmarks", "Spc b m", "Telescope marks" }, { " Themes", "Spc t h", "Telescope themes" }, { " Mappings", "Spc c h", "NvCheatsheet" }, diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index 8dec11f..b4a8aee 100644 --- a/lua/plugins/configs/nvimtree.lua +++ b/lua/plugins/configs/nvimtree.lua @@ -52,11 +52,11 @@ local options = { symlink = "", folder = { default = "", - empty = "", - empty_open = "", + empty = "", + empty_open = "", open = "", - symlink = "", - symlink_open = "", + symlink = "", + symlink_open = "", arrow_open = "", arrow_closed = "", }, From f6229b4b464d9101518f82a4148866ec46e32ac9 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 18 May 2023 11:45:02 +0530 Subject: [PATCH 07/48] add mapping for telescope bookmarks (#2035) --- lua/core/mappings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index d488fdf..f4b2685 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -276,6 +276,8 @@ M.telescope = { -- theme switcher ["th"] = { " Telescope themes ", "Nvchad themes" }, + + ["bm"] = { " Telescope marks ", "telescope bookmarks" }, }, } From 262a06776aa731ad89369394f73320461d4a7e63 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 18 May 2023 18:15:51 +0530 Subject: [PATCH 08/48] change mapping for telescope marks --- lua/core/default_config.lua | 2 +- lua/core/mappings.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 410e932..a151df5 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -66,7 +66,7 @@ M.ui = { { " Find File", "Spc f f", "Telescope find_files" }, { "󰈚 Recent Files", "Spc f o", "Telescope oldfiles" }, { "󰈭 Find Word", "Spc f w", "Telescope live_grep" }, - { " Bookmarks", "Spc b m", "Telescope marks" }, + { " Bookmarks", "Spc m a", "Telescope marks" }, { " Themes", "Spc t h", "Telescope themes" }, { " Mappings", "Spc c h", "NvCheatsheet" }, }, diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index f4b2685..625d4fc 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -277,7 +277,7 @@ M.telescope = { -- theme switcher ["th"] = { " Telescope themes ", "Nvchad themes" }, - ["bm"] = { " Telescope marks ", "telescope bookmarks" }, + ["ma"] = { " Telescope marks ", "telescope bookmarks" }, }, } From 582dff9458ee8ac70149583829b6f8faecdc3aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fiete=20B=C3=B6rner?= Date: Tue, 23 May 2023 05:14:14 +0200 Subject: [PATCH 09/48] allow to override default config of comment.nvim (#2045) --- lua/plugins/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 2f711af..67e8862 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -204,8 +204,8 @@ local default_plugins = { init = function() require("core.utils").load_mappings "comment" end, - config = function() - require("Comment").setup() + config = function(_, opts) + require("Comment").setup(opts) end, }, From 9c10201ef383f4c4c9caacd2050f76e8fbb76b1c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 29 May 2023 16:02:33 +0200 Subject: [PATCH 10/48] Fix Comment.nvim not lazyloading from visual mode (#2067) --- lua/plugins/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 67e8862..2e84b98 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -200,7 +200,12 @@ local default_plugins = { { "numToStr/Comment.nvim", - keys = { "gcc", "gbc" }, + keys = { + { "gcc", mode = "n" }, + { "gc", mode = "v" }, + { "gbc", mode = "n" }, + { "gb", mode = "v" }, + }, init = function() require("core.utils").load_mappings "comment" end, From d72d935b358dd969f059d5215a41376160f1d88a Mon Sep 17 00:00:00 2001 From: georgejean Date: Thu, 1 Jun 2023 18:09:14 +0200 Subject: [PATCH 11/48] Fix deprecated highlight config for gitsigns (#2078) --- lua/plugins/configs/others.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index 8775517..e4110f2 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -51,12 +51,12 @@ end M.gitsigns = { signs = { - add = { hl = "DiffAdd", text = "│", numhl = "GitSignsAddNr" }, - change = { hl = "DiffChange", text = "│", numhl = "GitSignsChangeNr" }, - delete = { hl = "DiffDelete", text = "󰍵", numhl = "GitSignsDeleteNr" }, - topdelete = { hl = "DiffDelete", text = "‾", numhl = "GitSignsDeleteNr" }, - changedelete = { hl = "DiffChangeDelete", text = "~", numhl = "GitSignsChangeNr" }, - untracked = { hl = "GitSignsAdd", text = "│", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, + add = { text = '│' }, + change = { text = '│' }, + delete = { text = '󰍵' }, + topdelete = { text = '‾' }, + changedelete = { text = '~' }, + untracked = { text = '│' }, }, on_attach = function(bufnr) utils.load_mappings("gitsigns", { buffer = bufnr }) From f8a489ea1a670569eead0fe5651c0c48add743e8 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 1 Jun 2023 22:07:27 +0530 Subject: [PATCH 12/48] include editor config in lazy disabled_plugins list --- lua/plugins/configs/lazy_nvim.lua | 1 + lua/plugins/configs/others.lua | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lua/plugins/configs/lazy_nvim.lua b/lua/plugins/configs/lazy_nvim.lua index cd170bd..2575dea 100644 --- a/lua/plugins/configs/lazy_nvim.lua +++ b/lua/plugins/configs/lazy_nvim.lua @@ -41,6 +41,7 @@ return { "compiler", "bugreport", "ftplugin", + "editorconfig", }, }, }, diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index e4110f2..dafd5a4 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -51,12 +51,12 @@ end M.gitsigns = { signs = { - add = { text = '│' }, - change = { text = '│' }, - delete = { text = '󰍵' }, - topdelete = { text = '‾' }, - changedelete = { text = '~' }, - untracked = { text = '│' }, + add = { text = "│" }, + change = { text = "│" }, + delete = { text = "󰍵" }, + topdelete = { text = "‾" }, + changedelete = { text = "~" }, + untracked = { text = "│" }, }, on_attach = function(bufnr) utils.load_mappings("gitsigns", { buffer = bufnr }) From c3c349c8302c4318a66c3c1a1a4d79f3d746381d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jesus?= <35274086+AndreJesusBrito@users.noreply.github.com> Date: Thu, 8 Jun 2023 00:51:39 +0100 Subject: [PATCH 13/48] Change cmp to insert completion instead of replacing the current word (#2083) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I find this annoying and if we want to actually delete the word we can simply just dw in vim Co-authored-by: andré Jesus --- lua/plugins/configs/cmp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 32e0129..365ec2c 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -76,8 +76,8 @@ local options = { [""] = cmp.mapping.complete(), [""] = cmp.mapping.close(), [""] = cmp.mapping.confirm { - behavior = cmp.ConfirmBehavior.Replace, - select = false, + behavior = cmp.ConfirmBehavior.Insert, + select = true, }, [""] = cmp.mapping(function(fallback) if cmp.visible() then From c2a0bb1684236e0bfbf43465ab1e22419debd98d Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Thu, 8 Jun 2023 09:42:21 +0800 Subject: [PATCH 14/48] telescope: Explicitly depend on nvim-treesitter Fix Telescope syntax highlighting is not working until open a file https://github.com/NvChad/NvChad/issues/2084 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 2e84b98..51b137d 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -233,6 +233,7 @@ local default_plugins = { { "nvim-telescope/telescope.nvim", + dependencies = "nvim-treesitter/nvim-treesitter", cmd = "Telescope", init = function() require("core.utils").load_mappings "telescope" From d73d155287ad34c3baf8cdbb89733f45fa80bb2e Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 11 Jun 2023 19:52:47 +0530 Subject: [PATCH 15/48] disable semantic tokens only if the LSP supports it --- lua/plugins/configs/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index fbce3a8..facb4cb 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -16,7 +16,7 @@ M.on_attach = function(client, bufnr) require("nvchad_ui.signature").setup(client) end - if not utils.load_config().ui.lsp_semantic_tokens then + if not utils.load_config().ui.lsp_semantic_tokens and client.supports_method "textDocument/semanticTokens" then client.server_capabilities.semanticTokensProvider = nil end end From a18d92dfa6e8647a9af7f2079e4d064b20636f82 Mon Sep 17 00:00:00 2001 From: anes <75726773+aneshodza@users.noreply.github.com> Date: Wed, 14 Jun 2023 00:16:19 +0200 Subject: [PATCH 16/48] Update README.md --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index 48100ce..be803ca 100644 --- a/.github/README.md +++ b/.github/README.md @@ -15,7 +15,7 @@
-[![Neovim Minimum Version](https://img.shields.io/badge/Neovim-0.8.3-blueviolet.svg?style=flat-square&logo=Neovim&color=90E59A&logoColor=white)](https://github.com/neovim/neovim) +[![Neovim Minimum Version](https://img.shields.io/badge/Neovim-0.9.0-blueviolet.svg?style=flat-square&logo=Neovim&color=90E59A&logoColor=white)](https://github.com/neovim/neovim) [![GitHub Issues](https://img.shields.io/github/issues/NvChad/NvChad.svg?style=flat-square&label=Issues&color=d77982)](https://github.com/NvChad/NvChad/issues) [![Discord](https://img.shields.io/discord/869557815780470834?color=738adb&label=Discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/gADmkJb9Fb) [![Matrix](https://img.shields.io/badge/Matrix-40aa8b.svg?style=flat-square&logo=Matrix&logoColor=white)](https://matrix.to/#/#nvchad:matrix.org) From e3bb39106e2c236a3e04044b7d8ae6ac93af709b Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Thu, 15 Jun 2023 10:33:01 +0800 Subject: [PATCH 17/48] Fix default mappings not load if chadrc.lua does not exist (#2037) * Fix default mappings not load if chadrc.lua does not exist The regression was introduced by dab9171e6426b6eb8f0f8bcd0829a0415d260fcb Fix #1961 #2025 * clean up! --------- Co-authored-by: siduck --- lua/core/default_config.lua | 2 +- lua/core/utils.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index a151df5..639916a 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -87,6 +87,6 @@ M.plugins = "" -- path i.e "custom.plugins", so make custom/plugins.lua file M.lazy_nvim = require "plugins.configs.lazy_nvim" -- config for lazy.nvim startup options -M.mappings = {} +M.mappings = require "core.mappings" return M diff --git a/lua/core/utils.lua b/lua/core/utils.lua index 4c44dc6..8b2a03d 100644 --- a/lua/core/utils.lua +++ b/lua/core/utils.lua @@ -8,11 +8,11 @@ M.load_config = function() if chadrc_path then local chadrc = dofile(chadrc_path) - config.mappings = M.remove_disabled_keys(chadrc.mappings, require "core.mappings") + config.mappings = M.remove_disabled_keys(chadrc.mappings, config.mappings) config = merge_tb("force", config, chadrc) + config.mappings.disabled = nil end - config.mappings.disabled = nil return config end From 8ba64ff369dea8adb63ea7d83a0ed08f13876f18 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 15 Jun 2023 10:11:43 +0530 Subject: [PATCH 18/48] custom config reload: support symlinks https://github.com/NvChad/base46/issues/177 huge thanks to @lucario387 for helping me --- lua/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index 073a6cc..13be788 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -75,7 +75,7 @@ autocmd("FileType", { vim.api.nvim_create_autocmd("BufWritePost", { pattern = vim.tbl_map( vim.fs.normalize, - vim.fn.glob(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua", true, true, true) + vim.fn.glob(vim.loop.fs_realpath(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua"), true, true, true) ), group = vim.api.nvim_create_augroup("ReloadNvChad", {}), From d3433e3c55a887eab379b38cf754ba853ade20f6 Mon Sep 17 00:00:00 2001 From: Simone Fidanza Date: Fri, 16 Jun 2023 11:14:50 +0200 Subject: [PATCH 19/48] feat: ignore syntax folder (#2124) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c022b3f..4564ed0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ plugin custom spell ftplugin +syntax coc-settings.json .luarc.json lazy-lock.json From 11c839f870cfa8b75a9f847cba11fdfee7690856 Mon Sep 17 00:00:00 2001 From: Max Chechel Date: Sun, 18 Jun 2023 16:51:36 +0400 Subject: [PATCH 20/48] Defaulting to not installing custom config in --headless mode (#2132) * Defaulting to not installing custom config in --headless mode * Update bootstrap.lua --------- Co-authored-by: siduck --- lua/core/bootstrap.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index b00fc09..6ffc0bf 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -33,7 +33,11 @@ end M.gen_chadrc_template = function() if not vim.api.nvim_get_runtime_file("lua/custom/chadrc.lua", false)[1] then local path = vim.fn.stdpath "config" .. "/lua/custom/" - local input = vim.fn.input "Do you want to install example custom config? (y/N) : " + local input = "N" + + if next(vim.api.nvim_list_uis()) then + input = vim.fn.input "Do you want to install example custom config? (y/N) : " + end -- clone example_config repo if input == "y" then From 212bb9a66f12b5bfafa27643256e03dbbfb46d43 Mon Sep 17 00:00:00 2001 From: georgejean Date: Thu, 22 Jun 2023 18:46:20 +0200 Subject: [PATCH 21/48] Improved keys property for Comment.vim (#2144) --- lua/plugins/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 51b137d..8d855f1 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -201,10 +201,10 @@ local default_plugins = { { "numToStr/Comment.nvim", keys = { - { "gcc", mode = "n" }, - { "gc", mode = "v" }, - { "gbc", mode = "n" }, - { "gb", mode = "v" }, + { "gcc", mode = "n" , desc = "Toggles the current line using linewise comment"}, + { "gc", mode = {"n","o","x"} , desc = "Toggles the region using linewise comment"}, + { "gbc", mode = "n" , desc = "Toggles the current line using blockwise comment"}, + { "gb", mode = {"n","o","x"} , desc = "Toggles the region using blockwise comment"}, }, init = function() require("core.utils").load_mappings "comment" From 4aa283119ac8abe8e8c4932c3f5ceb026052eebd Mon Sep 17 00:00:00 2001 From: georgejean Date: Fri, 23 Jun 2023 01:29:57 +0200 Subject: [PATCH 22/48] Fix too long descriptions for Comment.nvim's key mapping and add g key to trigger which-key (#2145) --- lua/plugins/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8d855f1..16a9ca1 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -201,10 +201,10 @@ local default_plugins = { { "numToStr/Comment.nvim", keys = { - { "gcc", mode = "n" , desc = "Toggles the current line using linewise comment"}, - { "gc", mode = {"n","o","x"} , desc = "Toggles the region using linewise comment"}, - { "gbc", mode = "n" , desc = "Toggles the current line using blockwise comment"}, - { "gb", mode = {"n","o","x"} , desc = "Toggles the region using blockwise comment"}, + { "gcc", mode = "n", desc = "Toggles comment on current line" }, + { "gc", mode = { "n", "o", "x" }, desc = "Toggles comment on current line's region" }, + { "gbc", mode = "n", desc = "Toggles blockwise comment on current line" }, + { "gb", mode = { "n", "o", "x" }, desc = "Toggles blockwise comment on region" }, }, init = function() require("core.utils").load_mappings "comment" @@ -256,7 +256,7 @@ local default_plugins = { -- Only load whichkey after all the gui { "folke/which-key.nvim", - keys = { "", '"', "'", "`", "c", "v" }, + keys = { "", '"', "'", "`", "c", "v", "g" }, init = function() require("core.utils").load_mappings "whichkey" end, From 286c951d7b1f4531c8f40873a3846f40a3503e33 Mon Sep 17 00:00:00 2001 From: georgejean Date: Sat, 24 Jun 2023 03:19:07 +0200 Subject: [PATCH 23/48] fix: make key mapping's description to lazy load Comment.nvim coherent with the defaults (#2148) --- lua/plugins/init.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 16a9ca1..60dab65 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -201,10 +201,12 @@ local default_plugins = { { "numToStr/Comment.nvim", keys = { - { "gcc", mode = "n", desc = "Toggles comment on current line" }, - { "gc", mode = { "n", "o", "x" }, desc = "Toggles comment on current line's region" }, - { "gbc", mode = "n", desc = "Toggles blockwise comment on current line" }, - { "gb", mode = { "n", "o", "x" }, desc = "Toggles blockwise comment on region" }, + { "gcc", mode = "n", desc = "Comment toggle current line" }, + { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" }, + { "gc", mode = "x", desc = "Comment toggle linewise (visual)" }, + { "gbc", mode = "n", desc = "Comment toggle current block" }, + { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" }, + { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" }, }, init = function() require("core.utils").load_mappings "comment" From 10b668d98aba6bce9b494d028174207e59e5c59a Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 29 Jun 2023 05:18:18 +0530 Subject: [PATCH 24/48] make formatting mapping fm as general mapping #2167 so its available even if an actual lsp isnt attached to the buffer --- lua/core/mappings.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 625d4fc..acc2948 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -45,6 +45,13 @@ M.general = { -- new buffer ["b"] = { " enew ", "New buffer" }, ["ch"] = { " NvCheatsheet ", "Mapping cheatsheet" }, + + ["fm"] = { + function() + vim.lsp.buf.format { async = true } + end, + "LSP formatting", + }, }, t = { @@ -193,14 +200,14 @@ M.lspconfig = { ["[d"] = { function() - vim.diagnostic.goto_prev({ float = { border = "rounded" }}) + vim.diagnostic.goto_prev { float = { border = "rounded" } } end, "Goto prev", }, ["]d"] = { function() - vim.diagnostic.goto_next({ float = { border = "rounded" }}) + vim.diagnostic.goto_next { float = { border = "rounded" } } end, "Goto next", }, @@ -212,13 +219,6 @@ M.lspconfig = { "Diagnostic setloclist", }, - ["fm"] = { - function() - vim.lsp.buf.format { async = true } - end, - "LSP formatting", - }, - ["wa"] = { function() vim.lsp.buf.add_workspace_folder() From 83aac1ecc0c84726d3aace3ed97d7001add4694b Mon Sep 17 00:00:00 2001 From: M Date: Sun, 2 Jul 2023 17:52:52 +0700 Subject: [PATCH 25/48] fix: wildcard pattern usage in `fs_realpath` (#2152) --- lua/core/init.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index 13be788..ea2cebd 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -72,11 +72,10 @@ autocmd("FileType", { }) -- reload some chadrc options on-save -vim.api.nvim_create_autocmd("BufWritePost", { - pattern = vim.tbl_map( - vim.fs.normalize, - vim.fn.glob(vim.loop.fs_realpath(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua"), true, true, true) - ), +autocmd("BufWritePost", { + pattern = vim.tbl_map(function(path) + return vim.fs.normalize(vim.loop.fs_realpath(path)) + end, vim.fn.glob(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua", true, true, true)), group = vim.api.nvim_create_augroup("ReloadNvChad", {}), callback = function(opts) From 3500e7388df177631273d75c9ecda5f8635ea470 Mon Sep 17 00:00:00 2001 From: James Wright Date: Thu, 6 Jul 2023 10:42:33 -0600 Subject: [PATCH 26/48] Catch errors from shell calls (#2188) --- lua/core/bootstrap.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index 6ffc0bf..43653a0 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -5,6 +5,11 @@ M.echo = function(str) vim.api.nvim_echo({ { str, "Bold" } }, true, {}) end +local function shell_call(args) + local output = vim.fn.system(args) + assert(vim.v.shell_error == 0, "External call failed with error code: " .. vim.v.shell_error .. "\n" .. output) +end + M.lazy = function(install_path) ------------- base46 --------------- local lazy_path = vim.fn.stdpath "data" .. "/lazy/base46" @@ -12,7 +17,7 @@ M.lazy = function(install_path) M.echo " Compiling base46 theme to bytecode ..." local base46_repo = "https://github.com/NvChad/base46" - vim.fn.system { "git", "clone", "--depth", "1", "-b", "v2.0", base46_repo, lazy_path } + shell_call { "git", "clone", "--depth", "1", "-b", "v2.0", base46_repo, lazy_path } vim.opt.rtp:prepend(lazy_path) require("base46").compile() @@ -20,7 +25,7 @@ M.lazy = function(install_path) --------- lazy.nvim --------------- M.echo " Installing lazy.nvim & plugins ..." local repo = "https://github.com/folke/lazy.nvim.git" - vim.fn.system { "git", "clone", "--filter=blob:none", "--branch=stable", repo, install_path } + shell_call { "git", "clone", "--filter=blob:none", "--branch=stable", repo, install_path } vim.opt.rtp:prepend(install_path) -- install plugins @@ -42,7 +47,7 @@ M.gen_chadrc_template = function() -- clone example_config repo if input == "y" then M.echo "cloning example custom config repo ..." - vim.fn.system { "git", "clone", "--depth", "1", "https://github.com/NvChad/example_config", path } + shell_call { "git", "clone", "--depth", "1", "https://github.com/NvChad/example_config", path } vim.fn.delete(path .. ".git", "rf") else -- use very minimal chadrc From 08f3deb9010c259dc3e6e060bbc49568cbcc50ba Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 7 Jul 2023 05:05:50 +0530 Subject: [PATCH 27/48] temporarily revert blankline to stable version #2189 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 60dab65..bc53433 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -63,6 +63,7 @@ local default_plugins = { { "lukas-reineke/indent-blankline.nvim", + version = "2.20.7", init = function() require("core.utils").lazy_load "indent-blankline.nvim" end, From 720d71b546b8300bf3951c839f52db6cb83c3dc5 Mon Sep 17 00:00:00 2001 From: N <47500890+avi-cenna@users.noreply.github.com> Date: Sat, 8 Jul 2023 19:39:33 -0400 Subject: [PATCH 28/48] Update README.md (#2194) Corrected typos and improved grammar --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index be803ca..bdc89d8 100644 --- a/.github/README.md +++ b/.github/README.md @@ -37,7 +37,7 @@ - Lazy loading is done 93% of the time meaning that plugins will not be loaded by default, they will be loaded only when required also at specific commands, events etc. This lowers the startuptime and it was like 0.07~ secs tested on an old pentium machine 1.4ghz + 4gb ram & HDD. -- NvChad isnt a framework! Its supposed to be used as a "base" config, so users could tweak the defaults well, can also remove the things they dont like in the default config and build their config on top of it. Users can tweak the entire default config while staying in their custom config (lua/custom dir). This is the control center of the user's config and gitignored so the users can stay update to-date with NvChad's latest config (main branch) while still controlling it with their chadrc (file that controls entire custom dir) +- NvChad isn't a framework! It's supposed to be used as a "base" config, so users can tweak the defaults well, and also remove the things they don't like in the default config and build their config on top of it. Users can tweak the entire default config while staying in their custom config (lua/custom dir). This is the control center of the user's config and gitignored so the users can stay up-to-date with NvChad's latest config (main branch) while still controlling it with their chadrc (file that controls entire custom dir). ## Theme Showcase From f18488d41cb74321377631f691a3247bc59cb064 Mon Sep 17 00:00:00 2001 From: "A.S.K" <95036645+aimixsaka@users.noreply.github.com> Date: Mon, 24 Jul 2023 12:31:21 +0800 Subject: [PATCH 29/48] feat: ignore after folder (#2228) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4564ed0..ce3274d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ syntax coc-settings.json .luarc.json lazy-lock.json +after From 682b023fb36834fda744c9b488d9227c66be7c29 Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 26 Jul 2023 06:56:56 +0530 Subject: [PATCH 30/48] make tabufline reloadable --- lua/core/init.lua | 4 ++++ lua/plugins/init.lua | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index ea2cebd..a30dfd3 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -96,6 +96,10 @@ autocmd("BufWritePost", { require("plenary.reload").reload_module("nvchad_ui.statusline." .. config.ui.statusline.theme) vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()" + -- tabufline + require("plenary.reload").reload_module "nvchad_ui.tabufline.modules" + vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()" + require("base46").load_all_highlights() -- vim.cmd("redraw!") end, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index bc53433..8719168 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -230,7 +230,6 @@ local default_plugins = { config = function(_, opts) dofile(vim.g.base46_cache .. "nvimtree") require("nvim-tree").setup(opts) - vim.g.nvimtree_side = opts.view.side end, }, From 0e27cb4b44fbba69f8646d1f88555737d2b6aedf Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 26 Jul 2023 09:58:01 +0530 Subject: [PATCH 31/48] dont reload tabufline if its disabled #2236 --- lua/core/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index a30dfd3..8342fb2 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -97,8 +97,10 @@ autocmd("BufWritePost", { vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()" -- tabufline - require("plenary.reload").reload_module "nvchad_ui.tabufline.modules" - vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()" + if config.ui.tabufline.enabled then + require("plenary.reload").reload_module "nvchad_ui.tabufline.modules" + vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()" + end require("base46").load_all_highlights() -- vim.cmd("redraw!") From 6766acefece875c46948fb25f9231a1ace6a11a1 Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 6 Aug 2023 21:52:08 +0530 Subject: [PATCH 32/48] dont disable editor config with lazy_nvim --- lua/plugins/configs/lazy_nvim.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/plugins/configs/lazy_nvim.lua b/lua/plugins/configs/lazy_nvim.lua index 2575dea..cd170bd 100644 --- a/lua/plugins/configs/lazy_nvim.lua +++ b/lua/plugins/configs/lazy_nvim.lua @@ -41,7 +41,6 @@ return { "compiler", "bugreport", "ftplugin", - "editorconfig", }, }, }, From 05f581918a0a99a0298a65556edf37cb784808f3 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 9 Aug 2023 02:20:53 +0200 Subject: [PATCH 33/48] feat: added .ignore file (#2271) Added .ignore file. So telescope doesn't ignore the custom folder. --- .ignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .ignore diff --git a/.ignore b/.ignore new file mode 100644 index 0000000..42677fb --- /dev/null +++ b/.ignore @@ -0,0 +1 @@ +!/lua/custom/ From 487ca445665d6d0a9b25f7e367c6a9a300505c9e Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 9 Aug 2023 08:51:40 +0530 Subject: [PATCH 34/48] update icon paths --- lua/plugins/configs/cmp.lua | 2 +- lua/plugins/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 365ec2c..14450ab 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -15,7 +15,7 @@ local formatting_style = { fields = field_arrangement[cmp_style] or { "abbr", "kind", "menu" }, format = function(_, item) - local icons = require("nvchad_ui.icons").lspkind + local icons = require "nvchad_ui.icons.lspkind" local icon = (cmp_ui.icons and icons[item.kind]) or "" if cmp_style == "atom" or cmp_style == "atom_colored" then diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8719168..c8efe5d 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -53,7 +53,7 @@ local default_plugins = { { "nvim-tree/nvim-web-devicons", opts = function() - return { override = require("nvchad_ui.icons").devicons } + return { override = require"nvchad_ui.icons.devicons" } end, config = function(_, opts) dofile(vim.g.base46_cache .. "devicons") From 8ea74bc23bcaab9910a827ed69fd9635f87b063e Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 9 Aug 2023 20:22:46 +0530 Subject: [PATCH 35/48] update some module paths --- lua/core/bootstrap.lua | 2 +- lua/core/init.lua | 10 +++++----- lua/core/mappings.lua | 8 ++++---- lua/plugins/configs/cmp.lua | 2 +- lua/plugins/configs/lspconfig.lua | 4 ++-- lua/plugins/init.lua | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index 43653a0..bd34d6c 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -32,7 +32,7 @@ M.lazy = function(install_path) require "plugins" -- mason packages & show post_boostrap screen - require "nvchad.post_bootstrap"() + require "nvchad.post_install"() end M.gen_chadrc_template = function() diff --git a/lua/core/init.lua b/lua/core/init.lua index 8342fb2..19804e1 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -93,13 +93,13 @@ autocmd("BufWritePost", { vim.g.transparency = config.ui.transparency -- statusline - require("plenary.reload").reload_module("nvchad_ui.statusline." .. config.ui.statusline.theme) - vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()" + require("plenary.reload").reload_module("nvchad.statusline." .. config.ui.statusline.theme) + vim.opt.statusline = "%!v:lua.require('nvchad.statusline." .. config.ui.statusline.theme .. "').run()" -- tabufline if config.ui.tabufline.enabled then - require("plenary.reload").reload_module "nvchad_ui.tabufline.modules" - vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()" + require("plenary.reload").reload_module "nvchad.tabufline.modules" + vim.opt.tabline = "%!v:lua.require('nvchad.tabufline.modules').run()" end require("base46").load_all_highlights() @@ -111,5 +111,5 @@ autocmd("BufWritePost", { local new_cmd = vim.api.nvim_create_user_command new_cmd("NvChadUpdate", function() - require "nvchad.update"() + require "nvchad.updater"() end, {}) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index acc2948..2aaf7ab 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -79,14 +79,14 @@ M.tabufline = { -- cycle through buffers [""] = { function() - require("nvchad_ui.tabufline").tabuflineNext() + require("nvchad.tabufline").tabuflineNext() end, "Goto next buffer", }, [""] = { function() - require("nvchad_ui.tabufline").tabuflinePrev() + require("nvchad.tabufline").tabuflinePrev() end, "Goto prev buffer", }, @@ -94,7 +94,7 @@ M.tabufline = { -- close buffer + hide terminal buffer ["x"] = { function() - require("nvchad_ui.tabufline").close_buffer() + require("nvchad.tabufline").close_buffer() end, "Close buffer", }, @@ -172,7 +172,7 @@ M.lspconfig = { ["ra"] = { function() - require("nvchad_ui.renamer").open() + require("nvchad.renamer").open() end, "LSP rename", }, diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 14450ab..19868b6 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -15,7 +15,7 @@ local formatting_style = { fields = field_arrangement[cmp_style] or { "abbr", "kind", "menu" }, format = function(_, item) - local icons = require "nvchad_ui.icons.lspkind" + local icons = require "nvchad.icons.lspkind" local icon = (cmp_ui.icons and icons[item.kind]) or "" if cmp_style == "atom" or cmp_style == "atom_colored" then diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index facb4cb..fe7cbbc 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -1,5 +1,5 @@ dofile(vim.g.base46_cache .. "lsp") -require "nvchad_ui.lsp" +require "nvchad.lsp" local M = {} local utils = require "core.utils" @@ -13,7 +13,7 @@ M.on_attach = function(client, bufnr) utils.load_mappings("lspconfig", { buffer = bufnr }) if client.server_capabilities.signatureHelpProvider then - require("nvchad_ui.signature").setup(client) + require("nvchad.signature").setup(client) end if not utils.load_config().ui.lsp_semantic_tokens and client.supports_method "textDocument/semanticTokens" then diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index c8efe5d..292fd3e 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -20,7 +20,7 @@ local default_plugins = { branch = "v2.0", lazy = false, config = function() - require "nvchad_ui" + require "nvchad" end, }, @@ -53,7 +53,7 @@ local default_plugins = { { "nvim-tree/nvim-web-devicons", opts = function() - return { override = require"nvchad_ui.icons.devicons" } + return { override = require "nvchad.icons.devicons" } end, config = function(_, opts) dofile(vim.g.base46_cache .. "devicons") From 46a61073a82087f9e339dab6de2b2f94c051b070 Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 9 Aug 2023 20:29:50 +0530 Subject: [PATCH 36/48] clean up --- lua/plugins/configs/lspconfig.lua | 2 +- lua/plugins/init.lua | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index fe7cbbc..18e84ad 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -54,7 +54,7 @@ require("lspconfig").lua_ls.setup { library = { [vim.fn.expand "$VIMRUNTIME/lua"] = true, [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, - [vim.fn.stdpath "data" .. "/lazy/extensions/nvchad_types"] = true, + [vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types"] = true, [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, }, maxPreload = 100000, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 292fd3e..e4355a9 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -4,9 +4,6 @@ local default_plugins = { "nvim-lua/plenary.nvim", - -- nvchad plugins - { "NvChad/extensions", branch = "v2.0" }, - { "NvChad/base46", branch = "v2.0", From d3d9aa251a9dd94881cdbc48c5852b3eaba969b8 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 10 Aug 2023 11:09:25 +0530 Subject: [PATCH 37/48] rm config func from UI plugin spec cuz the code will be loaded in the plugin/init.lua file of UI repo --- lua/plugins/init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index e4355a9..7b8a253 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -16,9 +16,6 @@ local default_plugins = { "NvChad/ui", branch = "v2.0", lazy = false, - config = function() - require "nvchad" - end, }, { From 9c013a6aac6925172e88d2ca17fbd8c1a548560d Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 24 Aug 2023 12:56:22 +0200 Subject: [PATCH 38/48] updated lazygit keys for which-key plugin (#2331) --- lua/plugins/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 7b8a253..8228109 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -252,7 +252,7 @@ local default_plugins = { -- Only load whichkey after all the gui { "folke/which-key.nvim", - keys = { "", '"', "'", "`", "c", "v", "g" }, + keys = { "", "", '"', "'", "`", "c", "v", "g" }, init = function() require("core.utils").load_mappings "whichkey" end, From 3f1e6d71d4c6c98380d5383d5e1bf1f6eaa3399f Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 27 Aug 2023 11:28:56 +0530 Subject: [PATCH 39/48] make whichkey lazyloadable by its cmd | fix #2342 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8228109..6491c3b 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -256,6 +256,7 @@ local default_plugins = { init = function() require("core.utils").load_mappings "whichkey" end, + cmd = "WhichKey", config = function(_, opts) dofile(vim.g.base46_cache .. "whichkey") require("which-key").setup(opts) From a9bc954d0203ae9bded11f1e7167bf9020f181aa Mon Sep 17 00:00:00 2001 From: Diogo Silva Date: Wed, 30 Aug 2023 21:28:07 -0300 Subject: [PATCH 40/48] refactor: gen chadrc template (#2349) --- lua/core/bootstrap.lua | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index bd34d6c..c1bab90 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -1,4 +1,5 @@ local M = {} +local fn = vim.fn M.echo = function(str) vim.cmd "redraw" @@ -6,13 +7,13 @@ M.echo = function(str) end local function shell_call(args) - local output = vim.fn.system(args) + local output = fn.system(args) assert(vim.v.shell_error == 0, "External call failed with error code: " .. vim.v.shell_error .. "\n" .. output) end M.lazy = function(install_path) ------------- base46 --------------- - local lazy_path = vim.fn.stdpath "data" .. "/lazy/base46" + local lazy_path = fn.stdpath "data" .. "/lazy/base46" M.echo " Compiling base46 theme to bytecode ..." @@ -36,26 +37,24 @@ M.lazy = function(install_path) end M.gen_chadrc_template = function() - if not vim.api.nvim_get_runtime_file("lua/custom/chadrc.lua", false)[1] then - local path = vim.fn.stdpath "config" .. "/lua/custom/" - local input = "N" + local path = fn.stdpath "config" .. "/lua/custom" - if next(vim.api.nvim_list_uis()) then - input = vim.fn.input "Do you want to install example custom config? (y/N) : " - end + if fn.isdirectory(path) ~= 1 then + local input = fn.input "Do you want to install example custom config? (y/N): " - -- clone example_config repo - if input == "y" then - M.echo "cloning example custom config repo ..." + if input:lower() == "y" then + M.echo "Cloning example custom config repo..." shell_call { "git", "clone", "--depth", "1", "https://github.com/NvChad/example_config", path } - vim.fn.delete(path .. ".git", "rf") + fn.delete(path .. "/.git", "rf") else -- use very minimal chadrc - vim.fn.mkdir(path, "p") + fn.mkdir(path, "p") - local file = io.open(path .. "chadrc.lua", "w") - file:write "---@type ChadrcConfig \n local M = {}\n M.ui = {theme = 'onedark'}\n return M" - file:close() + local file = io.open(path .. "/chadrc.lua", "w") + if file then + file:write "---@type ChadrcConfig\nlocal M = {}\n\nM.ui = { theme = 'onedark' }\n\nreturn M" + file:close() + end end end end From a69e8dc59142fac200d93ace190829fb12b455ec Mon Sep 17 00:00:00 2001 From: camel_case <101834410+UTFeight@users.noreply.github.com> Date: Sat, 2 Sep 2023 14:30:02 +0300 Subject: [PATCH 41/48] feat(lsp): add visual mode code actions (#2353) --- lua/core/mappings.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 2aaf7ab..14fd0db 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -240,6 +240,15 @@ M.lspconfig = { "List workspace folders", }, }, + + v = { + ["ca"] = { + function() + vim.lsp.buf.code_action() + end, + "LSP code action", + }, + }, } M.nvimtree = { From 456ae88fadef197b4ce774545d1f047bbbcdb067 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 7 Sep 2023 21:32:07 +0530 Subject: [PATCH 42/48] include MasonUpdate cmd for mason.nvim lazyloading https://github.com/NvChad/ui/commit/5344b81e5e30edd930072cccd4ccbf6e88756a86 , so we dont need to specifically load mason in updater --- lua/plugins/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 6491c3b..e869340 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -118,7 +118,7 @@ local default_plugins = { -- lsp stuff { "williamboman/mason.nvim", - cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUninstall", "MasonUninstallAll", "MasonLog" }, + cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUpdate" }, opts = function() return require "plugins.configs.mason" end, From de8597731641e410ac78fa6395c98a01c532d091 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 8 Sep 2023 06:11:49 +0530 Subject: [PATCH 43/48] rm useless luasnip calls --- lua/plugins/configs/others.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index dafd5a4..e973965 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -25,16 +25,8 @@ M.blankline = { M.luasnip = function(opts) require("luasnip").config.set_config(opts) - -- vscode format - require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load { paths = vim.g.vscode_snippets_path or "" } - - -- snipmate format - require("luasnip.loaders.from_snipmate").load() require("luasnip.loaders.from_snipmate").lazy_load { paths = vim.g.snipmate_snippets_path or "" } - - -- lua format - require("luasnip.loaders.from_lua").load() require("luasnip.loaders.from_lua").lazy_load { paths = vim.g.lua_snippets_path or "" } vim.api.nvim_create_autocmd("InsertLeave", { From 617dca4dc11231138eb880b7c79253c17c9720f9 Mon Sep 17 00:00:00 2001 From: Zohir Benghalem <116302048+kayuxx@users.noreply.github.com> Date: Sat, 9 Sep 2023 02:13:28 +0100 Subject: [PATCH 44/48] add fzf telescope extension to improve sorting performance (#2371) * add fzf telescope extension to improve sorting performance * add fzf config tbl to the default tlsc config --- lua/plugins/configs/telescope.lua | 10 +++++++++- lua/plugins/init.lua | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lua/plugins/configs/telescope.lua b/lua/plugins/configs/telescope.lua index 784fb19..91c1d3a 100644 --- a/lua/plugins/configs/telescope.lua +++ b/lua/plugins/configs/telescope.lua @@ -49,7 +49,15 @@ local options = { }, }, - extensions_list = { "themes", "terms" }, + extensions_list = { "themes", "terms", "fzf" }, + extensions = { + fzf = { + fuzzy = true, + override_generic_sorter = true, + override_file_sorter = true, + case_mode = "smart_case", + }, + }, } return options diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index e869340..a517851 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -229,7 +229,7 @@ local default_plugins = { { "nvim-telescope/telescope.nvim", - dependencies = "nvim-treesitter/nvim-treesitter", + dependencies = { "nvim-treesitter/nvim-treesitter", { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } }, cmd = "Telescope", init = function() require("core.utils").load_mappings "telescope" From 215aa2bb2ff702014132c629d9c995246234fe0e Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 11 Sep 2023 14:47:45 +0530 Subject: [PATCH 45/48] Revert "rm useless luasnip calls" This reverts commit de8597731641e410ac78fa6395c98a01c532d091. --- lua/plugins/configs/others.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index e973965..dafd5a4 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -25,8 +25,16 @@ M.blankline = { M.luasnip = function(opts) require("luasnip").config.set_config(opts) + -- vscode format + require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load { paths = vim.g.vscode_snippets_path or "" } + + -- snipmate format + require("luasnip.loaders.from_snipmate").load() require("luasnip.loaders.from_snipmate").lazy_load { paths = vim.g.snipmate_snippets_path or "" } + + -- lua format + require("luasnip.loaders.from_lua").load() require("luasnip.loaders.from_lua").lazy_load { paths = vim.g.lua_snippets_path or "" } vim.api.nvim_create_autocmd("InsertLeave", { From 3091ea58359bb85f087499bd73fbc0a57a935c34 Mon Sep 17 00:00:00 2001 From: Al Berez Date: Fri, 15 Sep 2023 23:18:10 -0700 Subject: [PATCH 46/48] Keep visual selection when indent (#2382) When user indent visually selected text with `>>` or `<<` this change will keep visual selection. --- lua/core/mappings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 14fd0db..dde5bfc 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -61,6 +61,8 @@ M.general = { v = { [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "Move up", opts = { expr = true } }, [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "Move down", opts = { expr = true } }, + ["<"] = { ""] = { ">gv", "Indent line" }, }, x = { From 195fe4ae72365c75757c5d0df677f3b29d8697ce Mon Sep 17 00:00:00 2001 From: Sidhanth Rathod Date: Thu, 28 Sep 2023 11:33:45 +0530 Subject: [PATCH 47/48] Rm outdated info in readme --- .github/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index bdc89d8..f08da94 100644 --- a/.github/README.md +++ b/.github/README.md @@ -88,8 +88,7 @@ A fuzzy file finder, picker, sorter, previewer and much more: - Many beautiful themes, theme toggler by our [base46 plugin](https://github.com/NvChad/base46) - Inbuilt terminal toggling & management with [Nvterm](https://github.com/NvChad/nvterm) -- NvChad updater, hide & unhide terminal buffers with [NvChad extensions](https://github.com/NvChad/extensions) -- Lightweight & performant ui plugin with [NvChad UI](https://github.com/NvChad/ui) It provides statusline modules, tabufline ( tabs + buffer manager) , beautiful cheatsheets and much more! +- Lightweight & performant ui plugin with [NvChad UI](https://github.com/NvChad/ui) It provides statusline modules, tabufline ( tabs + buffer manager) , beautiful cheatsheets, NvChad updater, hide & unhide terminal buffers, theme switcher and much more! - File navigation with [nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua) - Beautiful and configurable icons with [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) - Git diffs and more with [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim) From 13e9b0f458c3e5e95ac05a10822f26dbb1aa03cb Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 2 Oct 2023 13:49:24 +0530 Subject: [PATCH 48/48] rm outdated link from readme --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index f08da94..8f3ec47 100644 --- a/.github/README.md +++ b/.github/README.md @@ -112,7 +112,7 @@ A fuzzy file finder, picker, sorter, previewer and much more: If you like NvChad and would like to support & appreciate it via donation then I'll gladly accept it. [![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/siduck) -[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/siduck76) +[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/siduck13) [![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/siduck) [![patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://www.patreon.com/siduck)