From 9762d71c6e1c14e30accc0b6a12b589621297c29 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sun, 28 Jul 2024 14:21:42 +0700 Subject: [PATCH 01/32] enc: update config bufferline --- lua/plugins/bufferline.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua index 3122fe5..2865427 100644 --- a/lua/plugins/bufferline.lua +++ b/lua/plugins/bufferline.lua @@ -177,6 +177,10 @@ return { fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" }, bg = { attribute = "bg", highlight = "Normal" }, }, + indicator_visible = { + fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" }, + bg = { attribute = "bg", highlight = "Normal" }, + }, }, }) end, From f6ec28fbba126fe72da7a4d38f33bbbbcf6aa791 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 2 Aug 2024 08:14:03 +0700 Subject: [PATCH 02/32] enc: update patch plugins --- lazy-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 051246c..163e480 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -32,7 +32,7 @@ "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "e38c5d837e755ce186ae51d2c48e1b387c4425c6" }, - "nvim-cmp": { "branch": "main", "commit": "d818fd0624205b34e14888358037fb6f5dc51234" }, + "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, "nvim-dap": { "branch": "master", "commit": "5ba8ceace596360321cf33fa4b56d9d46e057ce9" }, "nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" }, @@ -45,17 +45,17 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "f9ff00bc06d7cb70548a3847d7a2a05e928bc988" }, - "nvim-treesitter": { "branch": "master", "commit": "63be47f203d3e9174fdac3872fb9766e5bcc5a11" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" }, + "nvim-treesitter": { "branch": "master", "commit": "d13f0183ba93f9b5aba7359146f294abfffff9c3" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "c269645a31ae1edf3b2d1ca240d11a40ff00be55" }, "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "a727bd368e70808125b7cf589328cc595faf3d5a" }, "rest.nvim": { "branch": "main", "commit": "91badd46c60df6bd9800c809056af2d80d33da4c" }, - "smart-splits.nvim": { "branch": "master", "commit": "66fda3a601a5b4c679656f15eb6ddd613c8d3216" }, - "telescope.nvim": { "branch": "master", "commit": "47ab113de540d1d1d9cdf7dba76dc60ddd808bb8" }, + "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, + "telescope.nvim": { "branch": "master", "commit": "3b1600d0fd5172ad9fae00987362ca0ef3d8895d" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, "toggleterm.nvim": { "branch": "main", "commit": "8ed0f52006d3207ec6c94de7db62da840937ef2a" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, From 41bc2bce8fb9d5dc327953ced1aa2cd1e95bb9c3 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 3 Aug 2024 17:28:09 +0700 Subject: [PATCH 03/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 163e480..9f82470 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -45,8 +45,8 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "f9ff00bc06d7cb70548a3847d7a2a05e928bc988" }, - "nvim-treesitter": { "branch": "master", "commit": "d13f0183ba93f9b5aba7359146f294abfffff9c3" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "c269645a31ae1edf3b2d1ca240d11a40ff00be55" }, + "nvim-treesitter": { "branch": "master", "commit": "09bad640e4507885fa0e7035348c7854c531b3d6" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "48128953949b51235ccada535f021a505fdaf3df" }, "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, From 87a44d46dbe5af2954106cb684ccf9b338ef1377 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 3 Aug 2024 18:04:40 +0700 Subject: [PATCH 04/32] enc: update config Eva-theme --- lazy-lock.json | 2 +- lua/custom/default.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 9f82470..697dafb 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,6 +1,5 @@ { "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, - "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, @@ -16,6 +15,7 @@ "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, "codeium.vim": { "branch": "main", "commit": "e0342fde9474fdd0a36ff9692fe0031b7611a19f" }, "conform.nvim": { "branch": "master", "commit": "acc7337cfd24ddfa3109bfc8c258c09c88c5c450" }, + "dracula.nvim": { "branch": "main", "commit": "fdf503e52ec1c8aae07353604d891fe5a3ed5201" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 5a94332..336a577 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -15,7 +15,7 @@ -- darcula-dark -- juliana -- Eva-Dark, Eva-Dark-Italic, Eva-Dark-Bold -pcode.colorscheme = "Eva-Dark-Italic" +pcode.colorscheme = "dracula" -- 0 =off 1= on pcode.transparent_mode = 0 From e76eea2ebb48d6133a8615d77eec10c412516c62 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 3 Aug 2024 18:05:19 +0700 Subject: [PATCH 05/32] enc: update eva-theme config --- lazy-lock.json | 5 ++--- lua/custom/default.lua | 4 ++-- lua/plugins/themes/evatheme.lua | 5 +++++ lua/user/autocommands.lua | 10 ++++++++++ 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 697dafb..2571dd6 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,5 +1,6 @@ { "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, + "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, @@ -15,7 +16,6 @@ "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, "codeium.vim": { "branch": "main", "commit": "e0342fde9474fdd0a36ff9692fe0031b7611a19f" }, "conform.nvim": { "branch": "master", "commit": "acc7337cfd24ddfa3109bfc8c258c09c88c5c450" }, - "dracula.nvim": { "branch": "main", "commit": "fdf503e52ec1c8aae07353604d891fe5a3ed5201" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, @@ -45,7 +45,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "f9ff00bc06d7cb70548a3847d7a2a05e928bc988" }, - "nvim-treesitter": { "branch": "master", "commit": "09bad640e4507885fa0e7035348c7854c531b3d6" }, + "nvim-treesitter": { "branch": "master", "commit": "a7a3b9c10e8a5fe0da05ebb65db3ed1d164e612d" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "48128953949b51235ccada535f021a505fdaf3df" }, "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, @@ -53,7 +53,6 @@ "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "a727bd368e70808125b7cf589328cc595faf3d5a" }, - "rest.nvim": { "branch": "main", "commit": "91badd46c60df6bd9800c809056af2d80d33da4c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, "telescope.nvim": { "branch": "master", "commit": "3b1600d0fd5172ad9fae00987362ca0ef3d8895d" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 336a577..93e8d22 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -15,7 +15,7 @@ -- darcula-dark -- juliana -- Eva-Dark, Eva-Dark-Italic, Eva-Dark-Bold -pcode.colorscheme = "dracula" +pcode.colorscheme = "Eva-Dark-Italic" -- 0 =off 1= on pcode.transparent_mode = 0 @@ -154,7 +154,7 @@ pcode.refactoring = false pcode.database = false -- https://github.com/rest-nvim/rest.nvim -pcode.rest_client = true +pcode.rest_client = false -- https://github.com/mfussenegger/nvim-dap pcode.nvim_dap = true -- not support for windows os (auto config mason-nvim-dap) diff --git a/lua/plugins/themes/evatheme.lua b/lua/plugins/themes/evatheme.lua index b616055..e5c2947 100644 --- a/lua/plugins/themes/evatheme.lua +++ b/lua/plugins/themes/evatheme.lua @@ -30,6 +30,11 @@ if substring(tostring(clr), "Eva") and true or false then hi(0, "NvimTreeGitMergeIcon", { bg = color.dark, fg = color.git.diffModified }) hi(0, "NvimTreeGitStagedIcon", { bg = color.dark, fg = color.git.stagedModified }) hi(0, "MiniIndentscopeSymbol", { bg = color.dark, fg = color.parameter }) + -- cursor + -- hi(0, "Cursor", { bg = "#838FA7", fg = "#838FA7" }) + hi(0, "CursorColumn", { bg = color.dark, fg = "#838FA7" }) + hi(0, "TermCursor", { bg = "#838FA7", fg = color.dark }) + hi(0, "TermCursorNC", { bg = "#838FA7", fg = color.dark }) end, }) end, diff --git a/lua/user/autocommands.lua b/lua/user/autocommands.lua index eaf163f..8b0c0c4 100644 --- a/lua/user/autocommands.lua +++ b/lua/user/autocommands.lua @@ -86,6 +86,16 @@ vim.filetype.add({ }, }) +-- config cursor +vim.opt.guicursor = { + "n-v:block", -- Normal, Visual, Command mode: block cursor + "i-ci-ve-c:ver25", -- Insert, Command-line Insert, Visual mode: vertical bar cursor + "r-cr:hor20", -- Replace, Command-line Replace mode: horizontal bar cursor + "o:hor50", -- Operator-pending mode: horizontal bar cursor + "a:blinkwait700-blinkoff400-blinkon250", -- Blinking settings + "sm:block-blinkwait175-blinkoff150-blinkon175", -- Select mode: block cursor with blinking +} + -- Autoformat -- augroup _lsp -- autocmd! From cfea979e6bbdaa1004937d4f1990dc4ec5b85bb8 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 3 Aug 2024 21:09:32 +0700 Subject: [PATCH 06/32] enc: --- coba.lua | 66 +++++++++++++++++++++++++++++++++ lua/plugins/themes/evatheme.lua | 4 +- 2 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 coba.lua diff --git a/coba.lua b/coba.lua new file mode 100644 index 0000000..98ab041 --- /dev/null +++ b/coba.lua @@ -0,0 +1,66 @@ +---@type Palette +M.light_base = { + declarative = "#7C4DFF", + func = "#437AED", + type = "#00BEC4", + instanceReference = "#FA278E", + primitive = "#EF8ED8", + digit = "#FF6D12", + parameter = "#F0AA0B", + typeparam = "#F0AA0B", + text = "#53A053", + logical = "#C838C6", + operator = "#00BEC4", + property = "#CD6069", + comment = "#A9A9AA", + variable = "#5D5D5F", + background = "#EBEEF5", + panelBackground = "#e1e4eb", + warning = "#FB942F", + error = "#E45454", + info = "#4480F4", + git = { + diffAdded = "#40AD41", + diffDeleted = "#F14C4C", + diffModified = "#9277E6", + stagedAdded = "#83C654", + ignored = "#A9A9AA", + renamed = "#F3AD01", + stagedDeleted = "#CD6069", + stagedModified = "#D73BD5", + untracked = "#3EC141", + }, +} +---@type Palette +M.dark_base = { + git = { + added = "#98C379", + ignored = "#676E95", + renamed = "#E4BF7F", + stagedDeleted = "#E06C75", + stagedModified = "#D365E5", + untracked = "#3EC141", + diffAdded = "#40AD41", + diffDeleted = "#F14C4C", + diffModified = "#A78CFA", + }, + warning = "#EF973A", + error = "#F36464", + info = "#598DEF", + panelBackground = "#21252b", + declarative = "#A78CFA", + func = "#6495EE", + type = "#56B7C3", + instanceReference = "#F02B77", + primitive = "#FF6AB3", + digit = "#FF9070", + parameter = "#E4BF7F", + typeparam = "#E4BF7F", + text = "#98C379", + property = "#E06C75", + logical = "#CF68E1", + comment = "#676E95", + operator = "#56B7C3", + variable = "#B0B7C3", + background = "#282C34", +} diff --git a/lua/plugins/themes/evatheme.lua b/lua/plugins/themes/evatheme.lua index e5c2947..1739a90 100644 --- a/lua/plugins/themes/evatheme.lua +++ b/lua/plugins/themes/evatheme.lua @@ -33,8 +33,8 @@ if substring(tostring(clr), "Eva") and true or false then -- cursor -- hi(0, "Cursor", { bg = "#838FA7", fg = "#838FA7" }) hi(0, "CursorColumn", { bg = color.dark, fg = "#838FA7" }) - hi(0, "TermCursor", { bg = "#838FA7", fg = color.dark }) - hi(0, "TermCursorNC", { bg = "#838FA7", fg = color.dark }) + hi(0, "TermCursor", { bg = "#FF9070", fg = color.dark }) + hi(0, "TermCursorNC", { bg = "#FF9070", fg = color.dark }) end, }) end, From 12ec8d33ef1264bbbd9c914c0f33a13a105916a9 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 3 Aug 2024 21:09:59 +0700 Subject: [PATCH 07/32] enc: update config eva-theme --- coba.lua | 66 -------------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 coba.lua diff --git a/coba.lua b/coba.lua deleted file mode 100644 index 98ab041..0000000 --- a/coba.lua +++ /dev/null @@ -1,66 +0,0 @@ ----@type Palette -M.light_base = { - declarative = "#7C4DFF", - func = "#437AED", - type = "#00BEC4", - instanceReference = "#FA278E", - primitive = "#EF8ED8", - digit = "#FF6D12", - parameter = "#F0AA0B", - typeparam = "#F0AA0B", - text = "#53A053", - logical = "#C838C6", - operator = "#00BEC4", - property = "#CD6069", - comment = "#A9A9AA", - variable = "#5D5D5F", - background = "#EBEEF5", - panelBackground = "#e1e4eb", - warning = "#FB942F", - error = "#E45454", - info = "#4480F4", - git = { - diffAdded = "#40AD41", - diffDeleted = "#F14C4C", - diffModified = "#9277E6", - stagedAdded = "#83C654", - ignored = "#A9A9AA", - renamed = "#F3AD01", - stagedDeleted = "#CD6069", - stagedModified = "#D73BD5", - untracked = "#3EC141", - }, -} ----@type Palette -M.dark_base = { - git = { - added = "#98C379", - ignored = "#676E95", - renamed = "#E4BF7F", - stagedDeleted = "#E06C75", - stagedModified = "#D365E5", - untracked = "#3EC141", - diffAdded = "#40AD41", - diffDeleted = "#F14C4C", - diffModified = "#A78CFA", - }, - warning = "#EF973A", - error = "#F36464", - info = "#598DEF", - panelBackground = "#21252b", - declarative = "#A78CFA", - func = "#6495EE", - type = "#56B7C3", - instanceReference = "#F02B77", - primitive = "#FF6AB3", - digit = "#FF9070", - parameter = "#E4BF7F", - typeparam = "#E4BF7F", - text = "#98C379", - property = "#E06C75", - logical = "#CF68E1", - comment = "#676E95", - operator = "#56B7C3", - variable = "#B0B7C3", - background = "#282C34", -} From 72b8b4b53180fca46d31b6555a30af47e0fc7e2d Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Thu, 15 Aug 2024 07:46:49 +0700 Subject: [PATCH 08/32] enc: update patch plugins --- lazy-lock.json | 32 ++++++++-------- lua/plugins/cmp_cmdline.lua | 7 ++++ lua/user/utils/cheatsheet.lua | 56 ++++++++++++++++++++++++++++ lua/user/utils/lualine_component.lua | 8 ++-- 4 files changed, 83 insertions(+), 20 deletions(-) create mode 100644 lua/user/utils/cheatsheet.lua diff --git a/lazy-lock.json b/lazy-lock.json index 2571dd6..d2ceb53 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, + "alpha-nvim": { "branch": "main", "commit": "355fbb81a59637a8963cf5847074f8c44dbef11f" }, "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, "auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, @@ -14,49 +14,49 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, - "codeium.vim": { "branch": "main", "commit": "e0342fde9474fdd0a36ff9692fe0031b7611a19f" }, + "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, "conform.nvim": { "branch": "master", "commit": "acc7337cfd24ddfa3109bfc8c258c09c88c5c450" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, - "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, + "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "live-server.nvim": { "branch": "main", "commit": "5fc8abb727827a09d0ce1b7757d0a4c7b5802b09" }, "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, - "lualine.nvim": { "branch": "master", "commit": "544dd1583f9bb27b393f598475c89809c4d5e86b" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "4ba55f9755ebe8297d92c419b90a946123292ae6" }, + "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "62360f061d45177dda8afc1b0fd1327328540301" }, + "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, - "mini.indentscope": { "branch": "main", "commit": "1222393d9c5e8d92b913ccab6701a7164b21781c" }, + "mini.indentscope": { "branch": "main", "commit": "d2e7b5f0260789c325f92ab3421ff9884ea01842" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "e38c5d837e755ce186ae51d2c48e1b387c4425c6" }, + "nvim-autopairs": { "branch": "master", "commit": "48ca9aaee733911424646cb1605f27bc01dedbe3" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, "nvim-dap": { "branch": "master", "commit": "5ba8ceace596360321cf33fa4b56d9d46e057ce9" }, "nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, - "nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" }, + "nvim-lint": { "branch": "master", "commit": "ad0fe35e80f5cd31a0f19176d7b30e5c3011119d" }, "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, - "nvim-tree.lua": { "branch": "master", "commit": "f9ff00bc06d7cb70548a3847d7a2a05e928bc988" }, - "nvim-treesitter": { "branch": "master", "commit": "a7a3b9c10e8a5fe0da05ebb65db3ed1d164e612d" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "48128953949b51235ccada535f021a505fdaf3df" }, - "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, + "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, + "nvim-treesitter": { "branch": "master", "commit": "3de418e73d5b912096229aaeea8bb7aef5094e0d" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "ced6375723b20616282f9f6a1018a63ae19b106a" }, + "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "a727bd368e70808125b7cf589328cc595faf3d5a" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "3b1600d0fd5172ad9fae00987362ca0ef3d8895d" }, + "telescope.nvim": { "branch": "master", "commit": "68a6d8e8a0a8276ad56dc2a5bc29a4767a8eb5da" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, - "toggleterm.nvim": { "branch": "main", "commit": "8ed0f52006d3207ec6c94de7db62da840937ef2a" }, + "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, "vim-visual-multi": { "branch": "master", "commit": "38b0e8d94a5499ccc17d6159763d32c79f53417b" }, diff --git a/lua/plugins/cmp_cmdline.lua b/lua/plugins/cmp_cmdline.lua index c67800c..800e8e2 100644 --- a/lua/plugins/cmp_cmdline.lua +++ b/lua/plugins/cmp_cmdline.lua @@ -99,6 +99,13 @@ return { desc = "Scroll backward", mode = { "i", "n", "s" }, }, + { + "", + function() + require("user.utils.cheatsheet").run() + end, + desc = "Chatseet", + }, }, }, { diff --git a/lua/user/utils/cheatsheet.lua b/lua/user/utils/cheatsheet.lua new file mode 100644 index 0000000..b52ce5e --- /dev/null +++ b/lua/user/utils/cheatsheet.lua @@ -0,0 +1,56 @@ +local M = {} + +M.run = function() + local Popup = require("nui.popup") + local event = require("nui.utils.autocmd").event + + -- Buat popup untuk menampilkan keymapping + local popup = Popup({ + enter = true, + focusable = true, + border = { + style = "rounded", + text = { + top = " Key Mappings ", + }, + }, + position = "50%", + size = { + width = "80%", + height = "80%", + }, + }) + + -- Daftar keymapping yang akan ditampilkan dalam dua kolom dengan section header + -- stylua: ignore + local key_mappings = { + { "a ", "Toggle Dashboard ", "e ", "Toggle Explorer "}, + { "c ", "Chat AI ", "bb", ":Telescope buffers "}, + { " ", " ", "bd", ":bdelete "}, + { " ", " ", " ", " "}, + { "Terminal ", " ", " ", " "}, + { "tt ", ":ToggleTerm ", "tn", ":ToggleTerm direction=horizontal"}, + } + + -- Fungsi untuk mengubah daftar keymapping menjadi format string + local function format_key_mappings(mappings) + local formatted = {} + for _, mapping in ipairs(mappings) do + table.insert(formatted, string.format("%-20s %-20s %-20s %s", mapping[1], mapping[2], mapping[3], mapping[4])) + end + return formatted + end + + -- Set konten popup dengan daftar keymapping yang diformat + vim.api.nvim_buf_set_lines(popup.bufnr, 0, -1, false, format_key_mappings(key_mappings)) + + -- Mount popup + popup:mount() + + -- Unmount popup ketika cursor meninggalkan buffer + popup:on(event.BufLeave, function() + popup:unmount() + end) +end + +return M diff --git a/lua/user/utils/lualine_component.lua b/lua/user/utils/lualine_component.lua index dd7401e..1781a4d 100644 --- a/lua/user/utils/lualine_component.lua +++ b/lua/user/utils/lualine_component.lua @@ -46,7 +46,7 @@ return { color = function() local buf = vim.api.nvim_get_current_buf() local ts = vim.treesitter.highlighter.active[buf] - return { fg = ts and not vim.tbl_isempty(ts) and "#50fa7b" or "#FF5555" } + return { fg = ts and not vim.tbl_isempty(ts) and "#98C379" or "#E06C75" } end, cond = hide_in_width, }, @@ -71,7 +71,7 @@ return { color = function() if pcode.codeium then local codeium = all_trim(vim.api.nvim_call_function("codeium#GetStatusString", {})) - return { fg = codeium == "OFF" and "#3E4452" or "#50fa7b" } + return { fg = codeium == "OFF" and "#3E4452" or "#98C379" } else return {} end @@ -222,11 +222,11 @@ return { separator = { left = " ", right = "" }, fmt = function(str) if pcode.show_mode == 1 then - return icons.ui.Neovim .. " " .. (mode_map[str] or str) + return icons.ui.Neovim .. " " .. str:sub(1, 1) elseif pcode.show_mode == 2 then return icons.ui.Neovim elseif pcode.show_mode == 3 then - return (mode_map[str] or str) + return str:sub(1, 1) elseif pcode.show_mode == 4 then return nil else From 3ac997cc1020e735f0d7dc23fc998c53fe37de67 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Mon, 19 Aug 2024 21:39:51 +0700 Subject: [PATCH 09/32] enc: update config --- lazy-lock.json | 15 +++++++-------- lua/custom/default.lua | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index d2ceb53..6d2fec2 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,8 +3,6 @@ "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "alpha-nvim": { "branch": "main", "commit": "355fbb81a59637a8963cf5847074f8c44dbef11f" }, - "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, - "auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, @@ -15,7 +13,6 @@ "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, - "conform.nvim": { "branch": "master", "commit": "acc7337cfd24ddfa3109bfc8c258c09c88c5c450" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, @@ -25,19 +22,21 @@ "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "62360f061d45177dda8afc1b0fd1327328540301" }, + "mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" }, "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mini.indentscope": { "branch": "main", "commit": "d2e7b5f0260789c325f92ab3421ff9884ea01842" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, + "none-ls-extras.nvim": { "branch": "main", "commit": "dfdc998a8c7bb728abab156942bd43ed2345845a" }, + "none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "48ca9aaee733911424646cb1605f27bc01dedbe3" }, + "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, "nvim-dap": { "branch": "master", "commit": "5ba8ceace596360321cf33fa4b56d9d46e057ce9" }, "nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, - "nvim-lint": { "branch": "master", "commit": "ad0fe35e80f5cd31a0f19176d7b30e5c3011119d" }, "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, @@ -45,16 +44,16 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "3de418e73d5b912096229aaeea8bb7aef5094e0d" }, + "nvim-treesitter": { "branch": "master", "commit": "1e860567fbc19f117a03c0d2c46dcc01325c1b8b" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "ced6375723b20616282f9f6a1018a63ae19b106a" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "68a6d8e8a0a8276ad56dc2a5bc29a4767a8eb5da" }, + "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 93e8d22..44e522b 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -46,7 +46,7 @@ pcode.format_timeout_ms = 5000 -- https://github.com/mfussenegger/nvim-lint -- https://github.com/stevearc/conform.nvim -- use conform and nvim-lint if set true -pcode.disable_null_ls = true +pcode.disable_null_ls = false pcode.treesitter_ensure_installed = {} pcode.tscontext = false @@ -166,7 +166,7 @@ pcode.active_javascript_config = { jest_command = "npm test -- ", jest_config = "jest.config.mjs", } -pcode.active_prisma_config = true +pcode.active_prisma_config = false pcode.active_php_config = false pcode.active_golang_config = false pcode.active_python_config = false From 1629caa7003d20b05e20cd69ddf5d124e4714e57 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Thu, 22 Aug 2024 17:11:55 +0700 Subject: [PATCH 10/32] enc: update patch plugins --- lazy-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 6d2fec2..9451dc8 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "alpha-nvim": { "branch": "main", "commit": "355fbb81a59637a8963cf5847074f8c44dbef11f" }, + "alpha-nvim": { "branch": "main", "commit": "b6f4129302db197a7249e67a90de3f2b676de13e" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, @@ -44,8 +44,8 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "1e860567fbc19f117a03c0d2c46dcc01325c1b8b" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "ced6375723b20616282f9f6a1018a63ae19b106a" }, + "nvim-treesitter": { "branch": "master", "commit": "6ed65c3a1d0ebc1813a0fcec3d930c149dcf00aa" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, From 60fa8e90c62c095618a3c25d8fbe9250d9813e16 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 23 Aug 2024 15:15:26 +0700 Subject: [PATCH 11/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 9451dc8..8317851 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -29,7 +29,7 @@ "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "none-ls-extras.nvim": { "branch": "main", "commit": "dfdc998a8c7bb728abab156942bd43ed2345845a" }, - "none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" }, + "none-ls.nvim": { "branch": "main", "commit": "cb5bd2ffd81b7a3d264deebfe894388010381dc5" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, @@ -44,7 +44,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "6ed65c3a1d0ebc1813a0fcec3d930c149dcf00aa" }, + "nvim-treesitter": { "branch": "master", "commit": "8724e7d028ba11604dde94dc4be63f70cccf16e0" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, From be42c75ded516948cf54ede2641c9c4eb1e4c352 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sat, 24 Aug 2024 13:22:23 +0700 Subject: [PATCH 12/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 8317851..ab503dc 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -44,7 +44,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "8724e7d028ba11604dde94dc4be63f70cccf16e0" }, + "nvim-treesitter": { "branch": "master", "commit": "04401b5dd17c3419dae5141677bd256f52d54733" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, @@ -54,7 +54,7 @@ "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, - "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, + "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, From 245f1b7abbd1036d4d813941f85b6417bc7b0ed7 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sun, 25 Aug 2024 12:02:39 +0700 Subject: [PATCH 13/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index ab503dc..546304a 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -29,7 +29,7 @@ "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "none-ls-extras.nvim": { "branch": "main", "commit": "dfdc998a8c7bb728abab156942bd43ed2345845a" }, - "none-ls.nvim": { "branch": "main", "commit": "cb5bd2ffd81b7a3d264deebfe894388010381dc5" }, + "none-ls.nvim": { "branch": "main", "commit": "3cc6c6ae11c89a6963f0b5a25ad2ce211039faf2" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, @@ -44,7 +44,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "04401b5dd17c3419dae5141677bd256f52d54733" }, + "nvim-treesitter": { "branch": "master", "commit": "e085c614fcd716eedb8e2e55bae2ccad4becd40d" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, From 4894f180e6457d71f92a346f81391bf32dbe3341 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sun, 25 Aug 2024 14:57:20 +0700 Subject: [PATCH 14/32] enc: update patch plugins --- lazy-lock.json | 16 ++++++---------- lua/custom/default.lua | 4 ++-- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 546304a..cc071d9 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,6 +3,8 @@ "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "alpha-nvim": { "branch": "main", "commit": "b6f4129302db197a7249e67a90de3f2b676de13e" }, + "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, + "auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, @@ -12,7 +14,8 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, - "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, + "codeium.nvim": { "branch": "main", "commit": "f6a2ef32a9e923cb0104a19d3e426b0e40e49505" }, + "conform.nvim": { "branch": "master", "commit": "8b5e13c1af3211f5bb5e091992aba8629312e514" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, @@ -22,29 +25,22 @@ "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "62360f061d45177dda8afc1b0fd1327328540301" }, - "mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mini.indentscope": { "branch": "main", "commit": "d2e7b5f0260789c325f92ab3421ff9884ea01842" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, - "none-ls-extras.nvim": { "branch": "main", "commit": "dfdc998a8c7bb728abab156942bd43ed2345845a" }, - "none-ls.nvim": { "branch": "main", "commit": "3cc6c6ae11c89a6963f0b5a25ad2ce211039faf2" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, - "nvim-dap": { "branch": "master", "commit": "5ba8ceace596360321cf33fa4b56d9d46e057ce9" }, - "nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" }, - "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, + "nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" }, "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, - "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "e085c614fcd716eedb8e2e55bae2ccad4becd40d" }, + "nvim-treesitter": { "branch": "master", "commit": "081dfa6e0f72f0440aefd808a46ea9e4ae48d263" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 44e522b..e23b336 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -46,7 +46,7 @@ pcode.format_timeout_ms = 5000 -- https://github.com/mfussenegger/nvim-lint -- https://github.com/stevearc/conform.nvim -- use conform and nvim-lint if set true -pcode.disable_null_ls = false +pcode.disable_null_ls = true pcode.treesitter_ensure_installed = {} pcode.tscontext = false @@ -157,7 +157,7 @@ pcode.database = false pcode.rest_client = false -- https://github.com/mfussenegger/nvim-dap -pcode.nvim_dap = true -- not support for windows os (auto config mason-nvim-dap) +pcode.nvim_dap = false -- not support for windows os (auto config mason-nvim-dap) -- conefig special support test & dap pcode.active_rust_config = false From 82b68e6d017f8ad5350276a933433cb5f092d15f Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Mon, 26 Aug 2024 07:43:46 +0700 Subject: [PATCH 15/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- lua/custom/default.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index cc071d9..74a66b5 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -14,7 +14,7 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, - "codeium.nvim": { "branch": "main", "commit": "f6a2ef32a9e923cb0104a19d3e426b0e40e49505" }, + "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, "conform.nvim": { "branch": "master", "commit": "8b5e13c1af3211f5bb5e091992aba8629312e514" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, @@ -40,7 +40,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "081dfa6e0f72f0440aefd808a46ea9e4ae48d263" }, + "nvim-treesitter": { "branch": "master", "commit": "397982d197768ebdefc0e2db396d95c4d371ca86" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index e23b336..9508436 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -103,7 +103,7 @@ pcode.coderunner = { -- https://github.com/nvim-tree/nvim-tree.lua -- 0 = normal -- 1 = float -pcode.nvimtree_isfloat = 0 +pcode.nvimtree_isfloat = 1 -- https://github.com/roobert/tailwindcss-colorizer-cmp.nvim pcode.tailwindcolorizer = false From 891086f606e0b3d5d9cd64cb52fc4db3308eb3bd Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Tue, 27 Aug 2024 12:59:14 +0700 Subject: [PATCH 16/32] enc: update patch plugins --- lazy-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazy-lock.json b/lazy-lock.json index 74a66b5..940eaf3 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -40,7 +40,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "397982d197768ebdefc0e2db396d95c4d371ca86" }, + "nvim-treesitter": { "branch": "master", "commit": "7499f7379459db3b31c75cf5cec45f785be6e2c7" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, From 2b1a97a9f20846b769179162771c9632d7eb8963 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Wed, 28 Aug 2024 06:52:16 +0700 Subject: [PATCH 17/32] enc: update patch plugins --- lazy-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 940eaf3..c31c10b 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -13,7 +13,7 @@ "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, + "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, "conform.nvim": { "branch": "master", "commit": "8b5e13c1af3211f5bb5e091992aba8629312e514" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, @@ -40,9 +40,9 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "7499f7379459db3b31c75cf5cec45f785be6e2c7" }, + "nvim-treesitter": { "branch": "master", "commit": "2eb50352c039009cf046f43241b649b162ee5148" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, - "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, + "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, From 70185c6de3980e76c075176ed880ad6060e1dd6e Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Thu, 29 Aug 2024 06:46:35 +0700 Subject: [PATCH 18/32] enc: update patch plugins --- lazy-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazy-lock.json b/lazy-lock.json index c31c10b..2e6ef5c 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -40,7 +40,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "2eb50352c039009cf046f43241b649b162ee5148" }, + "nvim-treesitter": { "branch": "master", "commit": "7a64148896289a91cb2a92e9da3f76d5512a3fb8" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, From 4d03c39f7a54fb4e3a607feed940e4a4b59133f5 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 30 Aug 2024 05:25:57 +0700 Subject: [PATCH 19/32] enc: update patch plgins --- lazy-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazy-lock.json b/lazy-lock.json index 2e6ef5c..cdd3ddf 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -40,7 +40,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "7a64148896289a91cb2a92e9da3f76d5512a3fb8" }, + "nvim-treesitter": { "branch": "master", "commit": "585860a1865853d2c287c8ef534297da8115818e" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, From ee0092886defccf649f92e904fd53c991bc71fba Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 30 Aug 2024 18:54:01 +0700 Subject: [PATCH 20/32] enc: update patch plugins --- lazy-lock.json | 4 ++-- lua/plugins/themes/evatheme.lua | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index cdd3ddf..44f1dee 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -40,8 +40,8 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "585860a1865853d2c287c8ef534297da8115818e" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, + "nvim-treesitter": { "branch": "master", "commit": "9ac3931bf6891cecd59c432d343d6490afd401e5" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, diff --git a/lua/plugins/themes/evatheme.lua b/lua/plugins/themes/evatheme.lua index 1739a90..52a1acc 100644 --- a/lua/plugins/themes/evatheme.lua +++ b/lua/plugins/themes/evatheme.lua @@ -11,8 +11,10 @@ if substring(tostring(clr), "Eva") and true or false then pattern = "*", callback = function() local hi = vim.api.nvim_set_hl - hi(0, "LspInfoBorder", { fg = "#2F3F5C" }) - hi(0, "FloatBorder", { fg = "#2F3F5C" }) + -- hi(0, "LspInfoBorder", { fg = "#2F3F5C" }) + hi(0, "LspInfoBorder", { fg = "#598DEF" }) + -- hi(0, "FloatBorder", { fg = "#2F3F5C" }) + hi(0, "FloatBorder", { fg = "#598DEF" }) hi(0, "StatusLine", { bg = color.background }) hi(0, "StatusLineNC", { bg = color.background }) hi(0, "WinBar", { bg = color.background }) From f488cd14951c823ab38d0588d6082c7731a1cdb5 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 30 Aug 2024 21:28:41 +0700 Subject: [PATCH 21/32] enc: update patch plugins --- lua/plugins/themes/evatheme.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/plugins/themes/evatheme.lua b/lua/plugins/themes/evatheme.lua index 52a1acc..df625b4 100644 --- a/lua/plugins/themes/evatheme.lua +++ b/lua/plugins/themes/evatheme.lua @@ -12,9 +12,11 @@ if substring(tostring(clr), "Eva") and true or false then callback = function() local hi = vim.api.nvim_set_hl -- hi(0, "LspInfoBorder", { fg = "#2F3F5C" }) - hi(0, "LspInfoBorder", { fg = "#598DEF" }) + -- hi(0, "LspInfoBorder", { fg = "#598DEF" }) + hi(0, "LspInfoBorder", { fg = "#8A97C3" }) -- hi(0, "FloatBorder", { fg = "#2F3F5C" }) - hi(0, "FloatBorder", { fg = "#598DEF" }) + -- hi(0, "FloatBorder", { fg = "#598DEF" }) + hi(0, "FloatBorder", { fg = "#8A97C3" }) hi(0, "StatusLine", { bg = color.background }) hi(0, "StatusLineNC", { bg = color.background }) hi(0, "WinBar", { bg = color.background }) From 870e0fe28a1d1a13371b97f973567c8e21f155a6 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Wed, 4 Sep 2024 07:53:45 +0700 Subject: [PATCH 22/32] enc: update patch plugins --- lazy-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 44f1dee..ac420ce 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -15,7 +15,7 @@ "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, - "conform.nvim": { "branch": "master", "commit": "8b5e13c1af3211f5bb5e091992aba8629312e514" }, + "conform.nvim": { "branch": "master", "commit": "0ebe875d9c306f5fc829db38492ffff2a70d8e9d" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, @@ -30,17 +30,17 @@ "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, + "nvim-autopairs": { "branch": "master", "commit": "fd2badc24e675f947162a16c124d395bde80dbd6" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, - "nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" }, + "nvim-lint": { "branch": "master", "commit": "a7ce9c78a7c710c28bee56dfab10a5c0c80b7fb5" }, "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "9ac3931bf6891cecd59c432d343d6490afd401e5" }, + "nvim-treesitter": { "branch": "master", "commit": "5b8b126de02ebfd92e46ed5986b3e58e870b85de" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, @@ -54,7 +54,7 @@ "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, - "vim-visual-multi": { "branch": "master", "commit": "38b0e8d94a5499ccc17d6159763d32c79f53417b" }, + "vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" }, "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" }, "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, "yanky.nvim": { "branch": "main", "commit": "9268018e92d02650a94e39dd5f5903c542f7ea11" } From 3ddbd80e6ab874b68388d2943cd938e30cff013d Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Tue, 10 Sep 2024 07:44:52 +0700 Subject: [PATCH 23/32] enc: update patch plugins --- lazy-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index ac420ce..6888aaa 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -24,9 +24,9 @@ "live-server.nvim": { "branch": "main", "commit": "5fc8abb727827a09d0ce1b7757d0a4c7b5802b09" }, "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "62360f061d45177dda8afc1b0fd1327328540301" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, - "mini.indentscope": { "branch": "main", "commit": "d2e7b5f0260789c325f92ab3421ff9884ea01842" }, + "mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, @@ -39,9 +39,9 @@ "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, - "nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, - "nvim-treesitter": { "branch": "master", "commit": "5b8b126de02ebfd92e46ed5986b3e58e870b85de" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, + "nvim-tree.lua": { "branch": "master", "commit": "d41b4ca013ed89e41b9c0ecbdae5f1633e42f7fa" }, + "nvim-treesitter": { "branch": "master", "commit": "4770d9a1a77b0cc2b723c646c3dbe43a9133e5db" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, From aeae04bacf9be7b869e022b3d2e26924f81bbeec Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 13 Sep 2024 05:50:10 +0700 Subject: [PATCH 24/32] enc: update patch plugins --- lazy-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 6888aaa..6688dda 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -15,7 +15,7 @@ "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, - "conform.nvim": { "branch": "master", "commit": "0ebe875d9c306f5fc829db38492ffff2a70d8e9d" }, + "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, @@ -32,15 +32,15 @@ "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "fd2badc24e675f947162a16c124d395bde80dbd6" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, - "nvim-lint": { "branch": "master", "commit": "a7ce9c78a7c710c28bee56dfab10a5c0c80b7fb5" }, - "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, + "nvim-lint": { "branch": "master", "commit": "2bb7cc049d129d7fdbf31db0bc34fad5dd216f0d" }, + "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, "nvim-tree.lua": { "branch": "master", "commit": "d41b4ca013ed89e41b9c0ecbdae5f1633e42f7fa" }, - "nvim-treesitter": { "branch": "master", "commit": "4770d9a1a77b0cc2b723c646c3dbe43a9133e5db" }, + "nvim-treesitter": { "branch": "master", "commit": "4af16a10b7f1e79275f712a1c6dcf725d301a303" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, @@ -49,7 +49,7 @@ "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, + "telescope.nvim": { "branch": "master", "commit": "1398e11b06f67276881ed44dcefda5050d8ecd0c" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, From 09c5fdd25988566bf433d5473829496cc93eca58 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sun, 22 Sep 2024 12:05:34 +0700 Subject: [PATCH 25/32] enc: update patch plugins --- lazy-lock.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 6688dda..5acd5b8 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -16,7 +16,7 @@ "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, - "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, + "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, @@ -28,19 +28,19 @@ "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, - "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, + "noice.nvim": { "branch": "main", "commit": "c1ba80ccf6b3bd8c7fc88fe2e61085131d44ad65" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "fd2badc24e675f947162a16c124d395bde80dbd6" }, + "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, - "nvim-lint": { "branch": "master", "commit": "2bb7cc049d129d7fdbf31db0bc34fad5dd216f0d" }, + "nvim-lint": { "branch": "master", "commit": "c823e2d0621b5c15aa6b46be4d69b1379bcb8fa6" }, "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, - "nvim-tree.lua": { "branch": "master", "commit": "d41b4ca013ed89e41b9c0ecbdae5f1633e42f7fa" }, - "nvim-treesitter": { "branch": "master", "commit": "4af16a10b7f1e79275f712a1c6dcf725d301a303" }, + "nvim-tree.lua": { "branch": "master", "commit": "e7cdecc6363acef8232f2f099fe21096ffdc071f" }, + "nvim-treesitter": { "branch": "master", "commit": "929ca9c76ee20bb27cffbde4ee90583b6c54d616" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, @@ -49,13 +49,13 @@ "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "1398e11b06f67276881ed44dcefda5050d8ecd0c" }, + "telescope.nvim": { "branch": "master", "commit": "175178e3889c13a840f036d464aee2d145157b9e" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, "vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" }, "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" }, - "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, + "which-key.nvim": { "branch": "main", "commit": "fb070344402cfc662299d9914f5546d840a22126" }, "yanky.nvim": { "branch": "main", "commit": "9268018e92d02650a94e39dd5f5903c542f7ea11" } } From ec403e8b5471187b3032352d7d95fdde95172927 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Wed, 2 Oct 2024 08:00:43 +0700 Subject: [PATCH 26/32] enc: update patch plugins --- lazy-lock.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 5acd5b8..012276a 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "alpha-nvim": { "branch": "main", "commit": "b6f4129302db197a7249e67a90de3f2b676de13e" }, + "alpha-nvim": { "branch": "main", "commit": "bf3c8bb8c02ed3d9644cc5bbc48e2bdc39349cd7" }, "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, "auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, @@ -17,7 +17,7 @@ "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" }, - "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, + "friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, @@ -30,26 +30,26 @@ "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, "noice.nvim": { "branch": "main", "commit": "c1ba80ccf6b3bd8c7fc88fe2e61085131d44ad65" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" }, + "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, - "nvim-lint": { "branch": "master", "commit": "c823e2d0621b5c15aa6b46be4d69b1379bcb8fa6" }, + "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" }, "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, - "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, - "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, - "nvim-tree.lua": { "branch": "master", "commit": "e7cdecc6363acef8232f2f099fe21096ffdc071f" }, - "nvim-treesitter": { "branch": "master", "commit": "929ca9c76ee20bb27cffbde4ee90583b6c54d616" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" }, + "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, + "nvim-scrollview": { "branch": "main", "commit": "2a0ba552442638d1746379d8b8f3ba2df7d0bdf0" }, + "nvim-tree.lua": { "branch": "master", "commit": "4a9e82d10a3715d0c3845e1d2f66ddfb8b711253" }, + "nvim-treesitter": { "branch": "master", "commit": "da61d31a3d51f38a78a739392aabf79e7b2f523f" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "44fd461b879d80a21d5041f312f070f22551c0bc" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "a2072fef01645c5b06045f126437ff8e2057ef3c" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "d227e6c9879bb50af35cd733461198666981d482" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "175178e3889c13a840f036d464aee2d145157b9e" }, + "telescope.nvim": { "branch": "master", "commit": "eae0d8fbde590b0eaa2f9481948cd6fd7dd21656" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, From d0194ea92e4d555b3b0ffa8255f180f26c759f8e Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Sun, 6 Oct 2024 12:49:52 +0700 Subject: [PATCH 27/32] enc: patch plugins --- lazy-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 012276a..9d1b513 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -14,12 +14,12 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, - "codeium.vim": { "branch": "main", "commit": "8dea01eaaa7d6f5ab545a2f8f8962d3ae5411fa4" }, + "codeium.vim": { "branch": "main", "commit": "b9be24761977b64c100db1c8745635d46172a4e2" }, "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" }, "friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, - "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, + "indent-blankline.nvim": { "branch": "master", "commit": "2e57e1bbda970317dce4b7878ccf9a831dc7067d" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "live-server.nvim": { "branch": "main", "commit": "5fc8abb727827a09d0ce1b7757d0a4c7b5802b09" }, "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, @@ -28,19 +28,19 @@ "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, - "noice.nvim": { "branch": "main", "commit": "c1ba80ccf6b3bd8c7fc88fe2e61085131d44ad65" }, + "noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, - "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" }, + "nvim-lint": { "branch": "master", "commit": "27f44d1cc3d733a38a736acb902f94879d99c76c" }, "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, "nvim-scrollview": { "branch": "main", "commit": "2a0ba552442638d1746379d8b8f3ba2df7d0bdf0" }, "nvim-tree.lua": { "branch": "master", "commit": "4a9e82d10a3715d0c3845e1d2f66ddfb8b711253" }, - "nvim-treesitter": { "branch": "master", "commit": "da61d31a3d51f38a78a739392aabf79e7b2f523f" }, + "nvim-treesitter": { "branch": "master", "commit": "7821feb7e7d55a76b7ffeeb6b0bfb7b8f499ce94" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "44fd461b879d80a21d5041f312f070f22551c0bc" }, @@ -49,7 +49,7 @@ "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "d227e6c9879bb50af35cd733461198666981d482" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "eae0d8fbde590b0eaa2f9481948cd6fd7dd21656" }, + "telescope.nvim": { "branch": "master", "commit": "dc6fc321a5ba076697cca89c9d7ea43153276d81" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, From 3c34a7ba224f40a901ccee97d5d62cf6ca77c4b9 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 11 Oct 2024 17:28:02 +0700 Subject: [PATCH 28/32] fix: error nvim-tree indent file --- lazy-lock.json | 16 +++---- lua/plugins/nvimtree.lua | 97 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 104 insertions(+), 9 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 9d1b513..bc324a9 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -17,9 +17,9 @@ "codeium.vim": { "branch": "main", "commit": "b9be24761977b64c100db1c8745635d46172a4e2" }, "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" }, - "friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" }, + "friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, - "indent-blankline.nvim": { "branch": "master", "commit": "2e57e1bbda970317dce4b7878ccf9a831dc7067d" }, + "indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "live-server.nvim": { "branch": "main", "commit": "5fc8abb727827a09d0ce1b7757d0a4c7b5802b09" }, "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, @@ -33,23 +33,23 @@ "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, - "nvim-lint": { "branch": "master", "commit": "27f44d1cc3d733a38a736acb902f94879d99c76c" }, + "nvim-lint": { "branch": "master", "commit": "f707b3ae50417067fa63fdfe179b0bff6b380da1" }, "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, - "nvim-scrollview": { "branch": "main", "commit": "2a0ba552442638d1746379d8b8f3ba2df7d0bdf0" }, + "nvim-scrollview": { "branch": "main", "commit": "bc37a942debe191fffd072f0f1f2ec7c56c54b17" }, "nvim-tree.lua": { "branch": "master", "commit": "4a9e82d10a3715d0c3845e1d2f66ddfb8b711253" }, - "nvim-treesitter": { "branch": "master", "commit": "7821feb7e7d55a76b7ffeeb6b0bfb7b8f499ce94" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" }, + "nvim-treesitter": { "branch": "master", "commit": "19079207ba4a8c7ed956f40a111a22b1a2dfa6e8" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "b91c98afa6c42819aea6cbc1ba38272f5456a5cf" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "44fd461b879d80a21d5041f312f070f22551c0bc" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "d227e6c9879bb50af35cd733461198666981d482" }, "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, - "telescope.nvim": { "branch": "master", "commit": "dc6fc321a5ba076697cca89c9d7ea43153276d81" }, + "telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" }, "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, diff --git a/lua/plugins/nvimtree.lua b/lua/plugins/nvimtree.lua index 604d126..e4912c4 100644 --- a/lua/plugins/nvimtree.lua +++ b/lua/plugins/nvimtree.lua @@ -1,10 +1,10 @@ -local icons = pcode.icons local set_view = {} if pcode.nvimtree_isfloat == 1 then set_view = require("user.utils.nvimtree").float else set_view = require("user.utils.nvimtree").normal end +--[[ local icons = pcode.icons return { "kyazdani42/nvim-tree.lua", lazy = true, @@ -219,3 +219,98 @@ return { end) end, } + ]] + +return { + "nvim-tree/nvim-tree.lua", + cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, + keys = { + { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, + }, + opts = function() + local icons = pcode.icons + return { + filters = { dotfiles = false }, + disable_netrw = true, + hijack_cursor = true, + sync_root_with_cwd = true, + update_focused_file = { + enable = true, + update_root = false, + }, + view = set_view, + renderer = { + root_folder_label = false, + highlight_git = true, + -- indent_markers = { enable = true }, + indent_markers = { + enable = true, + inline_arrows = true, + icons = { + corner = "└", + edge = "│", + item = "│", + none = " ", + }, + }, + icons = { + webdev_colors = true, + git_placement = "before", + padding = " ", + symlink_arrow = " ➛ ", + show = { + file = true, + folder = true, + folder_arrow = true, + git = true, + }, + glyphs = { + default = icons.ui.Text, + symlink = icons.ui.FileSymlink, + bookmark = icons.ui.BookMark, + folder = { + -- arrow_closed = icons.ui.TriangleShortArrowRight, + arrow_closed = icons.ui.ChevronShortRight, + -- arrow_open = icons.ui.TriangleShortArrowDown, + arrow_open = icons.ui.ChevronShortDown, + default = icons.ui.Folder, + open = icons.ui.FolderOpen, + empty = icons.ui.EmptyFolder, + empty_open = icons.ui.EmptyFolderOpen, + symlink = icons.ui.FolderSymlink, + symlink_open = icons.ui.FolderOpen, + }, + git = { + unstaged = icons.git.FileUnstaged, + staged = icons.git.FileStaged, + unmerged = icons.git.FileUnmerged, + renamed = icons.git.FileRenamed, + untracked = icons.git.FileUntracked, + deleted = icons.git.FileDeleted, + ignored = icons.git.FileIgnored, + }, + }, + }, + special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, + symlink_destination = true, + }, + filters = { + dotfiles = false, + git_clean = false, + no_buffer = false, + custom = { "node_modules", "\\.cache", "\\.git" }, + exclude = { + ".gitignore", + ".prettierignore", + }, + }, + } + end, + config = function(_, opts) + require("nvim-tree").setup(opts) + local api = require("nvim-tree.api") + api.events.subscribe(api.events.Event.FileCreated, function(file) + vim.cmd("edit " .. file.fname) + end) + end, +} \ No newline at end of file From ceb786c9ccab7528d3eb7030477cecc265f39ed5 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 11 Oct 2024 20:35:34 +0700 Subject: [PATCH 29/32] enc: create backup nvim-tree config --- lua/plugins/nvimtree_20241011.lua | 221 ++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 lua/plugins/nvimtree_20241011.lua diff --git a/lua/plugins/nvimtree_20241011.lua b/lua/plugins/nvimtree_20241011.lua new file mode 100644 index 0000000..604d126 --- /dev/null +++ b/lua/plugins/nvimtree_20241011.lua @@ -0,0 +1,221 @@ +local icons = pcode.icons +local set_view = {} +if pcode.nvimtree_isfloat == 1 then + set_view = require("user.utils.nvimtree").float +else + set_view = require("user.utils.nvimtree").normal +end +return { + "kyazdani42/nvim-tree.lua", + lazy = true, + cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, + opts = { + auto_reload_on_write = false, + disable_netrw = false, + hijack_cursor = false, + hijack_netrw = true, + hijack_unnamed_buffer_when_opening = false, + sort_by = "name", + root_dirs = {}, + prefer_startup_root = false, + sync_root_with_cwd = true, + reload_on_bufenter = false, + respect_buf_cwd = false, + on_attach = "default", + select_prompts = false, + view = set_view, + renderer = { + add_trailing = false, + group_empty = false, + highlight_git = true, + full_name = false, + highlight_opened_files = "none", + -- root_folder_label = ":t", + root_folder_label = false, + indent_width = 2, + indent_markers = { + enable = true, + inline_arrows = true, + icons = { + corner = "└", + edge = "│", + item = "│", + none = " ", + }, + }, + icons = { + webdev_colors = true, + git_placement = "before", + padding = " ", + symlink_arrow = " ➛ ", + show = { + file = true, + folder = true, + folder_arrow = true, + git = true, + }, + glyphs = { + default = icons.ui.Text, + symlink = icons.ui.FileSymlink, + bookmark = icons.ui.BookMark, + folder = { + -- arrow_closed = icons.ui.TriangleShortArrowRight, + arrow_closed = icons.ui.ChevronShortRight, + -- arrow_open = icons.ui.TriangleShortArrowDown, + arrow_open = icons.ui.ChevronShortDown, + default = icons.ui.Folder, + open = icons.ui.FolderOpen, + empty = icons.ui.EmptyFolder, + empty_open = icons.ui.EmptyFolderOpen, + symlink = icons.ui.FolderSymlink, + symlink_open = icons.ui.FolderOpen, + }, + git = { + unstaged = icons.git.FileUnstaged, + staged = icons.git.FileStaged, + unmerged = icons.git.FileUnmerged, + renamed = icons.git.FileRenamed, + untracked = icons.git.FileUntracked, + deleted = icons.git.FileDeleted, + ignored = icons.git.FileIgnored, + }, + }, + }, + special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, + symlink_destination = true, + }, + hijack_directories = { + enable = false, + auto_open = true, + }, + update_focused_file = { + enable = true, + debounce_delay = 15, + update_root = true, + ignore_list = {}, + }, + diagnostics = { + enable = true, + show_on_dirs = false, + show_on_open_dirs = true, + debounce_delay = 50, + severity = { + min = vim.diagnostic.severity.HINT, + max = vim.diagnostic.severity.ERROR, + }, + icons = { + hint = icons.diagnostics.BoldHint, + info = icons.diagnostics.BoldInformation, + warning = icons.diagnostics.BoldWarning, + error = icons.diagnostics.BoldError, + }, + }, + filters = { + dotfiles = false, + git_clean = false, + no_buffer = false, + custom = { "node_modules", "\\.cache", "\\.git" }, + exclude = { + ".gitignore", + ".prettierignore", + }, + }, + filesystem_watchers = { + enable = true, + debounce_delay = 50, + ignore_dirs = {}, + }, + git = { + enable = true, + ignore = false, + show_on_dirs = true, + show_on_open_dirs = true, + disable_for_dirs = {}, + timeout = 400, + }, + actions = { + use_system_clipboard = true, + change_dir = { + enable = true, + global = false, + restrict_above_cwd = false, + }, + expand_all = { + max_folder_discovery = 300, + exclude = {}, + }, + file_popup = { + open_win_config = { + col = 1, + row = 1, + relative = "cursor", + border = "shadow", + style = "minimal", + }, + }, + open_file = { + quit_on_open = false, + resize_window = false, + window_picker = { + enable = true, + picker = "default", + chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", + exclude = { + filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" }, + buftype = { "nofile", "terminal", "help" }, + }, + }, + }, + remove_file = { + close_window = true, + }, + }, + trash = { + cmd = "trash", + require_confirm = true, + }, + live_filter = { + prefix = "[FILTER]: ", + always_show_folders = true, + }, + tab = { + sync = { + open = false, + close = false, + ignore = {}, + }, + }, + notify = { + -- threshold = vim.log.levels.INFO, + threshold = vim.log.levels.ERROR, + }, + log = { + enable = false, + truncate = false, + types = { + all = false, + config = false, + copy_paste = false, + dev = false, + diagnostics = false, + git = false, + profile = false, + watcher = false, + }, + }, + system_open = { + cmd = nil, + args = {}, + }, + }, + keys = { + { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, + }, + config = function(_, opts) + require("nvim-tree").setup(opts) + local api = require("nvim-tree.api") + api.events.subscribe(api.events.Event.FileCreated, function(file) + vim.cmd("edit " .. file.fname) + end) + end, +} From cfbb38f75e6c4da1a7bbd812c3d58771d848e91f Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 11 Oct 2024 20:36:00 +0700 Subject: [PATCH 30/32] enc: backup nvim-tree config --- lua/plugins/nvimtree_20241011.lua | 443 +++++++++++++++--------------- 1 file changed, 222 insertions(+), 221 deletions(-) diff --git a/lua/plugins/nvimtree_20241011.lua b/lua/plugins/nvimtree_20241011.lua index 604d126..018f8c9 100644 --- a/lua/plugins/nvimtree_20241011.lua +++ b/lua/plugins/nvimtree_20241011.lua @@ -1,221 +1,222 @@ -local icons = pcode.icons -local set_view = {} -if pcode.nvimtree_isfloat == 1 then - set_view = require("user.utils.nvimtree").float -else - set_view = require("user.utils.nvimtree").normal -end -return { - "kyazdani42/nvim-tree.lua", - lazy = true, - cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, - opts = { - auto_reload_on_write = false, - disable_netrw = false, - hijack_cursor = false, - hijack_netrw = true, - hijack_unnamed_buffer_when_opening = false, - sort_by = "name", - root_dirs = {}, - prefer_startup_root = false, - sync_root_with_cwd = true, - reload_on_bufenter = false, - respect_buf_cwd = false, - on_attach = "default", - select_prompts = false, - view = set_view, - renderer = { - add_trailing = false, - group_empty = false, - highlight_git = true, - full_name = false, - highlight_opened_files = "none", - -- root_folder_label = ":t", - root_folder_label = false, - indent_width = 2, - indent_markers = { - enable = true, - inline_arrows = true, - icons = { - corner = "└", - edge = "│", - item = "│", - none = " ", - }, - }, - icons = { - webdev_colors = true, - git_placement = "before", - padding = " ", - symlink_arrow = " ➛ ", - show = { - file = true, - folder = true, - folder_arrow = true, - git = true, - }, - glyphs = { - default = icons.ui.Text, - symlink = icons.ui.FileSymlink, - bookmark = icons.ui.BookMark, - folder = { - -- arrow_closed = icons.ui.TriangleShortArrowRight, - arrow_closed = icons.ui.ChevronShortRight, - -- arrow_open = icons.ui.TriangleShortArrowDown, - arrow_open = icons.ui.ChevronShortDown, - default = icons.ui.Folder, - open = icons.ui.FolderOpen, - empty = icons.ui.EmptyFolder, - empty_open = icons.ui.EmptyFolderOpen, - symlink = icons.ui.FolderSymlink, - symlink_open = icons.ui.FolderOpen, - }, - git = { - unstaged = icons.git.FileUnstaged, - staged = icons.git.FileStaged, - unmerged = icons.git.FileUnmerged, - renamed = icons.git.FileRenamed, - untracked = icons.git.FileUntracked, - deleted = icons.git.FileDeleted, - ignored = icons.git.FileIgnored, - }, - }, - }, - special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, - symlink_destination = true, - }, - hijack_directories = { - enable = false, - auto_open = true, - }, - update_focused_file = { - enable = true, - debounce_delay = 15, - update_root = true, - ignore_list = {}, - }, - diagnostics = { - enable = true, - show_on_dirs = false, - show_on_open_dirs = true, - debounce_delay = 50, - severity = { - min = vim.diagnostic.severity.HINT, - max = vim.diagnostic.severity.ERROR, - }, - icons = { - hint = icons.diagnostics.BoldHint, - info = icons.diagnostics.BoldInformation, - warning = icons.diagnostics.BoldWarning, - error = icons.diagnostics.BoldError, - }, - }, - filters = { - dotfiles = false, - git_clean = false, - no_buffer = false, - custom = { "node_modules", "\\.cache", "\\.git" }, - exclude = { - ".gitignore", - ".prettierignore", - }, - }, - filesystem_watchers = { - enable = true, - debounce_delay = 50, - ignore_dirs = {}, - }, - git = { - enable = true, - ignore = false, - show_on_dirs = true, - show_on_open_dirs = true, - disable_for_dirs = {}, - timeout = 400, - }, - actions = { - use_system_clipboard = true, - change_dir = { - enable = true, - global = false, - restrict_above_cwd = false, - }, - expand_all = { - max_folder_discovery = 300, - exclude = {}, - }, - file_popup = { - open_win_config = { - col = 1, - row = 1, - relative = "cursor", - border = "shadow", - style = "minimal", - }, - }, - open_file = { - quit_on_open = false, - resize_window = false, - window_picker = { - enable = true, - picker = "default", - chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", - exclude = { - filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" }, - buftype = { "nofile", "terminal", "help" }, - }, - }, - }, - remove_file = { - close_window = true, - }, - }, - trash = { - cmd = "trash", - require_confirm = true, - }, - live_filter = { - prefix = "[FILTER]: ", - always_show_folders = true, - }, - tab = { - sync = { - open = false, - close = false, - ignore = {}, - }, - }, - notify = { - -- threshold = vim.log.levels.INFO, - threshold = vim.log.levels.ERROR, - }, - log = { - enable = false, - truncate = false, - types = { - all = false, - config = false, - copy_paste = false, - dev = false, - diagnostics = false, - git = false, - profile = false, - watcher = false, - }, - }, - system_open = { - cmd = nil, - args = {}, - }, - }, - keys = { - { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, - }, - config = function(_, opts) - require("nvim-tree").setup(opts) - local api = require("nvim-tree.api") - api.events.subscribe(api.events.Event.FileCreated, function(file) - vim.cmd("edit " .. file.fname) - end) - end, -} +-- local icons = pcode.icons +-- local set_view = {} +-- if pcode.nvimtree_isfloat == 1 then +-- set_view = require("user.utils.nvimtree").float +-- else +-- set_view = require("user.utils.nvimtree").normal +-- end +-- return { +-- "kyazdani42/nvim-tree.lua", +-- lazy = true, +-- cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, +-- opts = { +-- auto_reload_on_write = false, +-- disable_netrw = false, +-- hijack_cursor = false, +-- hijack_netrw = true, +-- hijack_unnamed_buffer_when_opening = false, +-- sort_by = "name", +-- root_dirs = {}, +-- prefer_startup_root = false, +-- sync_root_with_cwd = true, +-- reload_on_bufenter = false, +-- respect_buf_cwd = false, +-- on_attach = "default", +-- select_prompts = false, +-- view = set_view, +-- renderer = { +-- add_trailing = false, +-- group_empty = false, +-- highlight_git = true, +-- full_name = false, +-- highlight_opened_files = "none", +-- -- root_folder_label = ":t", +-- root_folder_label = false, +-- indent_width = 2, +-- indent_markers = { +-- enable = true, +-- inline_arrows = true, +-- icons = { +-- corner = "└", +-- edge = "│", +-- item = "│", +-- none = " ", +-- }, +-- }, +-- icons = { +-- webdev_colors = true, +-- git_placement = "before", +-- padding = " ", +-- symlink_arrow = " ➛ ", +-- show = { +-- file = true, +-- folder = true, +-- folder_arrow = true, +-- git = true, +-- }, +-- glyphs = { +-- default = icons.ui.Text, +-- symlink = icons.ui.FileSymlink, +-- bookmark = icons.ui.BookMark, +-- folder = { +-- -- arrow_closed = icons.ui.TriangleShortArrowRight, +-- arrow_closed = icons.ui.ChevronShortRight, +-- -- arrow_open = icons.ui.TriangleShortArrowDown, +-- arrow_open = icons.ui.ChevronShortDown, +-- default = icons.ui.Folder, +-- open = icons.ui.FolderOpen, +-- empty = icons.ui.EmptyFolder, +-- empty_open = icons.ui.EmptyFolderOpen, +-- symlink = icons.ui.FolderSymlink, +-- symlink_open = icons.ui.FolderOpen, +-- }, +-- git = { +-- unstaged = icons.git.FileUnstaged, +-- staged = icons.git.FileStaged, +-- unmerged = icons.git.FileUnmerged, +-- renamed = icons.git.FileRenamed, +-- untracked = icons.git.FileUntracked, +-- deleted = icons.git.FileDeleted, +-- ignored = icons.git.FileIgnored, +-- }, +-- }, +-- }, +-- special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, +-- symlink_destination = true, +-- }, +-- hijack_directories = { +-- enable = false, +-- auto_open = true, +-- }, +-- update_focused_file = { +-- enable = true, +-- debounce_delay = 15, +-- update_root = true, +-- ignore_list = {}, +-- }, +-- diagnostics = { +-- enable = true, +-- show_on_dirs = false, +-- show_on_open_dirs = true, +-- debounce_delay = 50, +-- severity = { +-- min = vim.diagnostic.severity.HINT, +-- max = vim.diagnostic.severity.ERROR, +-- }, +-- icons = { +-- hint = icons.diagnostics.BoldHint, +-- info = icons.diagnostics.BoldInformation, +-- warning = icons.diagnostics.BoldWarning, +-- error = icons.diagnostics.BoldError, +-- }, +-- }, +-- filters = { +-- dotfiles = false, +-- git_clean = false, +-- no_buffer = false, +-- custom = { "node_modules", "\\.cache", "\\.git" }, +-- exclude = { +-- ".gitignore", +-- ".prettierignore", +-- }, +-- }, +-- filesystem_watchers = { +-- enable = true, +-- debounce_delay = 50, +-- ignore_dirs = {}, +-- }, +-- git = { +-- enable = true, +-- ignore = false, +-- show_on_dirs = true, +-- show_on_open_dirs = true, +-- disable_for_dirs = {}, +-- timeout = 400, +-- }, +-- actions = { +-- use_system_clipboard = true, +-- change_dir = { +-- enable = true, +-- global = false, +-- restrict_above_cwd = false, +-- }, +-- expand_all = { +-- max_folder_discovery = 300, +-- exclude = {}, +-- }, +-- file_popup = { +-- open_win_config = { +-- col = 1, +-- row = 1, +-- relative = "cursor", +-- border = "shadow", +-- style = "minimal", +-- }, +-- }, +-- open_file = { +-- quit_on_open = false, +-- resize_window = false, +-- window_picker = { +-- enable = true, +-- picker = "default", +-- chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", +-- exclude = { +-- filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" }, +-- buftype = { "nofile", "terminal", "help" }, +-- }, +-- }, +-- }, +-- remove_file = { +-- close_window = true, +-- }, +-- }, +-- trash = { +-- cmd = "trash", +-- require_confirm = true, +-- }, +-- live_filter = { +-- prefix = "[FILTER]: ", +-- always_show_folders = true, +-- }, +-- tab = { +-- sync = { +-- open = false, +-- close = false, +-- ignore = {}, +-- }, +-- }, +-- notify = { +-- -- threshold = vim.log.levels.INFO, +-- threshold = vim.log.levels.ERROR, +-- }, +-- log = { +-- enable = false, +-- truncate = false, +-- types = { +-- all = false, +-- config = false, +-- copy_paste = false, +-- dev = false, +-- diagnostics = false, +-- git = false, +-- profile = false, +-- watcher = false, +-- }, +-- }, +-- system_open = { +-- cmd = nil, +-- args = {}, +-- }, +-- }, +-- keys = { +-- { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, +-- }, +-- config = function(_, opts) +-- require("nvim-tree").setup(opts) +-- local api = require("nvim-tree.api") +-- api.events.subscribe(api.events.Event.FileCreated, function(file) +-- vim.cmd("edit " .. file.fname) +-- end) +-- end, +-- } +return {} From 2ce30970f6d26946ba61835e15429d52eddae2d3 Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 11 Oct 2024 21:00:07 +0700 Subject: [PATCH 31/32] enc: fix nvim-tree open file exploler --- lazy-lock.json | 66 +++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 051246c..bc324a9 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" }, "Eva-Theme.nvim": { "branch": "master", "commit": "902dd17975a7710e544d409ea856dbecc9d64997" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, + "alpha-nvim": { "branch": "main", "commit": "bf3c8bb8c02ed3d9644cc5bbc48e2bdc39349cd7" }, "auto-conform.nvim": { "branch": "main", "commit": "d04389f955dd0990e85a269b226199f458de32a6" }, "auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, @@ -13,55 +13,49 @@ "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" }, - "codeium.vim": { "branch": "main", "commit": "e0342fde9474fdd0a36ff9692fe0031b7611a19f" }, - "conform.nvim": { "branch": "master", "commit": "acc7337cfd24ddfa3109bfc8c258c09c88c5c450" }, - "dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" }, - "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, + "code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" }, + "codeium.vim": { "branch": "main", "commit": "b9be24761977b64c100db1c8745635d46172a4e2" }, + "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" }, + "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" }, + "friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" }, "gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, - "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, + "indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "live-server.nvim": { "branch": "main", "commit": "5fc8abb727827a09d0ce1b7757d0a4c7b5802b09" }, "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" }, - "lualine.nvim": { "branch": "master", "commit": "544dd1583f9bb27b393f598475c89809c4d5e86b" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "4ba55f9755ebe8297d92c419b90a946123292ae6" }, + "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, - "mini.indentscope": { "branch": "main", "commit": "1222393d9c5e8d92b913ccab6701a7164b21781c" }, + "mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" }, "neoscroll.nvim": { "branch": "master", "commit": "a731f66f1d39ec6175fd201c5bf849e54abda99c" }, - "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, + "noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" }, "nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, - "nvim-autopairs": { "branch": "master", "commit": "e38c5d837e755ce186ae51d2c48e1b387c4425c6" }, - "nvim-cmp": { "branch": "main", "commit": "d818fd0624205b34e14888358037fb6f5dc51234" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" }, - "nvim-dap": { "branch": "master", "commit": "5ba8ceace596360321cf33fa4b56d9d46e057ce9" }, - "nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" }, - "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, - "nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" }, - "nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, + "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" }, + "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" }, + "nvim-lint": { "branch": "master", "commit": "f707b3ae50417067fa63fdfe179b0bff6b380da1" }, + "nvim-lspconfig": { "branch": "master", "commit": "056f569f71e4b726323b799b9cfacc53653bceb3" }, "nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, - "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, - "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, - "nvim-scrollview": { "branch": "main", "commit": "30ca6e18265928eb4ea7402346b4dfddbd8ce41e" }, - "nvim-tree.lua": { "branch": "master", "commit": "f9ff00bc06d7cb70548a3847d7a2a05e928bc988" }, - "nvim-treesitter": { "branch": "master", "commit": "63be47f203d3e9174fdac3872fb9766e5bcc5a11" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" }, - "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, + "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, + "nvim-scrollview": { "branch": "main", "commit": "bc37a942debe191fffd072f0f1f2ec7c56c54b17" }, + "nvim-tree.lua": { "branch": "master", "commit": "4a9e82d10a3715d0c3845e1d2f66ddfb8b711253" }, + "nvim-treesitter": { "branch": "master", "commit": "19079207ba4a8c7ed956f40a111a22b1a2dfa6e8" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "b91c98afa6c42819aea6cbc1ba38272f5456a5cf" }, + "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" }, - "rest.nvim": { "branch": "main", "commit": "91badd46c60df6bd9800c809056af2d80d33da4c" }, - "smart-splits.nvim": { "branch": "master", "commit": "66fda3a601a5b4c679656f15eb6ddd613c8d3216" }, - "telescope.nvim": { "branch": "master", "commit": "47ab113de540d1d1d9cdf7dba76dc60ddd808bb8" }, - "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "9be4af5b1bc1f26a11206ed7ce8bf44312e7941a" }, - "toggleterm.nvim": { "branch": "main", "commit": "8ed0f52006d3207ec6c94de7db62da840937ef2a" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "d227e6c9879bb50af35cd733461198666981d482" }, + "smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" }, + "telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" }, + "tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" }, + "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, - "vim-visual-multi": { "branch": "master", "commit": "38b0e8d94a5499ccc17d6159763d32c79f53417b" }, + "vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" }, "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" }, - "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, + "which-key.nvim": { "branch": "main", "commit": "fb070344402cfc662299d9914f5546d840a22126" }, "yanky.nvim": { "branch": "main", "commit": "9268018e92d02650a94e39dd5f5903c542f7ea11" } } From 30ba4f5233efceed951cda62976e46495aab306e Mon Sep 17 00:00:00 2001 From: Pojok Code Date: Fri, 11 Oct 2024 21:00:37 +0700 Subject: [PATCH 32/32] enc: fix nvim-tree exploler error --- lua/custom/default.lua | 8 +- lua/plugins/bufferline.lua | 4 + lua/plugins/cmp_cmdline.lua | 7 + lua/plugins/nvimtree.lua | 97 +++++++++++- lua/plugins/nvimtree_20241011.lua | 222 +++++++++++++++++++++++++++ lua/plugins/themes/evatheme.lua | 13 +- lua/user/autocommands.lua | 10 ++ lua/user/utils/cheatsheet.lua | 56 +++++++ lua/user/utils/lualine_component.lua | 8 +- 9 files changed, 414 insertions(+), 11 deletions(-) create mode 100644 lua/plugins/nvimtree_20241011.lua create mode 100644 lua/user/utils/cheatsheet.lua diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 5a94332..9508436 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -103,7 +103,7 @@ pcode.coderunner = { -- https://github.com/nvim-tree/nvim-tree.lua -- 0 = normal -- 1 = float -pcode.nvimtree_isfloat = 0 +pcode.nvimtree_isfloat = 1 -- https://github.com/roobert/tailwindcss-colorizer-cmp.nvim pcode.tailwindcolorizer = false @@ -154,10 +154,10 @@ pcode.refactoring = false pcode.database = false -- https://github.com/rest-nvim/rest.nvim -pcode.rest_client = true +pcode.rest_client = false -- https://github.com/mfussenegger/nvim-dap -pcode.nvim_dap = true -- not support for windows os (auto config mason-nvim-dap) +pcode.nvim_dap = false -- not support for windows os (auto config mason-nvim-dap) -- conefig special support test & dap pcode.active_rust_config = false @@ -166,7 +166,7 @@ pcode.active_javascript_config = { jest_command = "npm test -- ", jest_config = "jest.config.mjs", } -pcode.active_prisma_config = true +pcode.active_prisma_config = false pcode.active_php_config = false pcode.active_golang_config = false pcode.active_python_config = false diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua index 3122fe5..2865427 100644 --- a/lua/plugins/bufferline.lua +++ b/lua/plugins/bufferline.lua @@ -177,6 +177,10 @@ return { fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" }, bg = { attribute = "bg", highlight = "Normal" }, }, + indicator_visible = { + fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" }, + bg = { attribute = "bg", highlight = "Normal" }, + }, }, }) end, diff --git a/lua/plugins/cmp_cmdline.lua b/lua/plugins/cmp_cmdline.lua index c67800c..800e8e2 100644 --- a/lua/plugins/cmp_cmdline.lua +++ b/lua/plugins/cmp_cmdline.lua @@ -99,6 +99,13 @@ return { desc = "Scroll backward", mode = { "i", "n", "s" }, }, + { + "", + function() + require("user.utils.cheatsheet").run() + end, + desc = "Chatseet", + }, }, }, { diff --git a/lua/plugins/nvimtree.lua b/lua/plugins/nvimtree.lua index 604d126..e4912c4 100644 --- a/lua/plugins/nvimtree.lua +++ b/lua/plugins/nvimtree.lua @@ -1,10 +1,10 @@ -local icons = pcode.icons local set_view = {} if pcode.nvimtree_isfloat == 1 then set_view = require("user.utils.nvimtree").float else set_view = require("user.utils.nvimtree").normal end +--[[ local icons = pcode.icons return { "kyazdani42/nvim-tree.lua", lazy = true, @@ -219,3 +219,98 @@ return { end) end, } + ]] + +return { + "nvim-tree/nvim-tree.lua", + cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, + keys = { + { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, + }, + opts = function() + local icons = pcode.icons + return { + filters = { dotfiles = false }, + disable_netrw = true, + hijack_cursor = true, + sync_root_with_cwd = true, + update_focused_file = { + enable = true, + update_root = false, + }, + view = set_view, + renderer = { + root_folder_label = false, + highlight_git = true, + -- indent_markers = { enable = true }, + indent_markers = { + enable = true, + inline_arrows = true, + icons = { + corner = "└", + edge = "│", + item = "│", + none = " ", + }, + }, + icons = { + webdev_colors = true, + git_placement = "before", + padding = " ", + symlink_arrow = " ➛ ", + show = { + file = true, + folder = true, + folder_arrow = true, + git = true, + }, + glyphs = { + default = icons.ui.Text, + symlink = icons.ui.FileSymlink, + bookmark = icons.ui.BookMark, + folder = { + -- arrow_closed = icons.ui.TriangleShortArrowRight, + arrow_closed = icons.ui.ChevronShortRight, + -- arrow_open = icons.ui.TriangleShortArrowDown, + arrow_open = icons.ui.ChevronShortDown, + default = icons.ui.Folder, + open = icons.ui.FolderOpen, + empty = icons.ui.EmptyFolder, + empty_open = icons.ui.EmptyFolderOpen, + symlink = icons.ui.FolderSymlink, + symlink_open = icons.ui.FolderOpen, + }, + git = { + unstaged = icons.git.FileUnstaged, + staged = icons.git.FileStaged, + unmerged = icons.git.FileUnmerged, + renamed = icons.git.FileRenamed, + untracked = icons.git.FileUntracked, + deleted = icons.git.FileDeleted, + ignored = icons.git.FileIgnored, + }, + }, + }, + special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, + symlink_destination = true, + }, + filters = { + dotfiles = false, + git_clean = false, + no_buffer = false, + custom = { "node_modules", "\\.cache", "\\.git" }, + exclude = { + ".gitignore", + ".prettierignore", + }, + }, + } + end, + config = function(_, opts) + require("nvim-tree").setup(opts) + local api = require("nvim-tree.api") + api.events.subscribe(api.events.Event.FileCreated, function(file) + vim.cmd("edit " .. file.fname) + end) + end, +} \ No newline at end of file diff --git a/lua/plugins/nvimtree_20241011.lua b/lua/plugins/nvimtree_20241011.lua new file mode 100644 index 0000000..018f8c9 --- /dev/null +++ b/lua/plugins/nvimtree_20241011.lua @@ -0,0 +1,222 @@ +-- local icons = pcode.icons +-- local set_view = {} +-- if pcode.nvimtree_isfloat == 1 then +-- set_view = require("user.utils.nvimtree").float +-- else +-- set_view = require("user.utils.nvimtree").normal +-- end +-- return { +-- "kyazdani42/nvim-tree.lua", +-- lazy = true, +-- cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, +-- opts = { +-- auto_reload_on_write = false, +-- disable_netrw = false, +-- hijack_cursor = false, +-- hijack_netrw = true, +-- hijack_unnamed_buffer_when_opening = false, +-- sort_by = "name", +-- root_dirs = {}, +-- prefer_startup_root = false, +-- sync_root_with_cwd = true, +-- reload_on_bufenter = false, +-- respect_buf_cwd = false, +-- on_attach = "default", +-- select_prompts = false, +-- view = set_view, +-- renderer = { +-- add_trailing = false, +-- group_empty = false, +-- highlight_git = true, +-- full_name = false, +-- highlight_opened_files = "none", +-- -- root_folder_label = ":t", +-- root_folder_label = false, +-- indent_width = 2, +-- indent_markers = { +-- enable = true, +-- inline_arrows = true, +-- icons = { +-- corner = "└", +-- edge = "│", +-- item = "│", +-- none = " ", +-- }, +-- }, +-- icons = { +-- webdev_colors = true, +-- git_placement = "before", +-- padding = " ", +-- symlink_arrow = " ➛ ", +-- show = { +-- file = true, +-- folder = true, +-- folder_arrow = true, +-- git = true, +-- }, +-- glyphs = { +-- default = icons.ui.Text, +-- symlink = icons.ui.FileSymlink, +-- bookmark = icons.ui.BookMark, +-- folder = { +-- -- arrow_closed = icons.ui.TriangleShortArrowRight, +-- arrow_closed = icons.ui.ChevronShortRight, +-- -- arrow_open = icons.ui.TriangleShortArrowDown, +-- arrow_open = icons.ui.ChevronShortDown, +-- default = icons.ui.Folder, +-- open = icons.ui.FolderOpen, +-- empty = icons.ui.EmptyFolder, +-- empty_open = icons.ui.EmptyFolderOpen, +-- symlink = icons.ui.FolderSymlink, +-- symlink_open = icons.ui.FolderOpen, +-- }, +-- git = { +-- unstaged = icons.git.FileUnstaged, +-- staged = icons.git.FileStaged, +-- unmerged = icons.git.FileUnmerged, +-- renamed = icons.git.FileRenamed, +-- untracked = icons.git.FileUntracked, +-- deleted = icons.git.FileDeleted, +-- ignored = icons.git.FileIgnored, +-- }, +-- }, +-- }, +-- special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" }, +-- symlink_destination = true, +-- }, +-- hijack_directories = { +-- enable = false, +-- auto_open = true, +-- }, +-- update_focused_file = { +-- enable = true, +-- debounce_delay = 15, +-- update_root = true, +-- ignore_list = {}, +-- }, +-- diagnostics = { +-- enable = true, +-- show_on_dirs = false, +-- show_on_open_dirs = true, +-- debounce_delay = 50, +-- severity = { +-- min = vim.diagnostic.severity.HINT, +-- max = vim.diagnostic.severity.ERROR, +-- }, +-- icons = { +-- hint = icons.diagnostics.BoldHint, +-- info = icons.diagnostics.BoldInformation, +-- warning = icons.diagnostics.BoldWarning, +-- error = icons.diagnostics.BoldError, +-- }, +-- }, +-- filters = { +-- dotfiles = false, +-- git_clean = false, +-- no_buffer = false, +-- custom = { "node_modules", "\\.cache", "\\.git" }, +-- exclude = { +-- ".gitignore", +-- ".prettierignore", +-- }, +-- }, +-- filesystem_watchers = { +-- enable = true, +-- debounce_delay = 50, +-- ignore_dirs = {}, +-- }, +-- git = { +-- enable = true, +-- ignore = false, +-- show_on_dirs = true, +-- show_on_open_dirs = true, +-- disable_for_dirs = {}, +-- timeout = 400, +-- }, +-- actions = { +-- use_system_clipboard = true, +-- change_dir = { +-- enable = true, +-- global = false, +-- restrict_above_cwd = false, +-- }, +-- expand_all = { +-- max_folder_discovery = 300, +-- exclude = {}, +-- }, +-- file_popup = { +-- open_win_config = { +-- col = 1, +-- row = 1, +-- relative = "cursor", +-- border = "shadow", +-- style = "minimal", +-- }, +-- }, +-- open_file = { +-- quit_on_open = false, +-- resize_window = false, +-- window_picker = { +-- enable = true, +-- picker = "default", +-- chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", +-- exclude = { +-- filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" }, +-- buftype = { "nofile", "terminal", "help" }, +-- }, +-- }, +-- }, +-- remove_file = { +-- close_window = true, +-- }, +-- }, +-- trash = { +-- cmd = "trash", +-- require_confirm = true, +-- }, +-- live_filter = { +-- prefix = "[FILTER]: ", +-- always_show_folders = true, +-- }, +-- tab = { +-- sync = { +-- open = false, +-- close = false, +-- ignore = {}, +-- }, +-- }, +-- notify = { +-- -- threshold = vim.log.levels.INFO, +-- threshold = vim.log.levels.ERROR, +-- }, +-- log = { +-- enable = false, +-- truncate = false, +-- types = { +-- all = false, +-- config = false, +-- copy_paste = false, +-- dev = false, +-- diagnostics = false, +-- git = false, +-- profile = false, +-- watcher = false, +-- }, +-- }, +-- system_open = { +-- cmd = nil, +-- args = {}, +-- }, +-- }, +-- keys = { +-- { "e", "NvimTreeToggle", desc = "󰙅 Explorer" }, +-- }, +-- config = function(_, opts) +-- require("nvim-tree").setup(opts) +-- local api = require("nvim-tree.api") +-- api.events.subscribe(api.events.Event.FileCreated, function(file) +-- vim.cmd("edit " .. file.fname) +-- end) +-- end, +-- } +return {} diff --git a/lua/plugins/themes/evatheme.lua b/lua/plugins/themes/evatheme.lua index b616055..df625b4 100644 --- a/lua/plugins/themes/evatheme.lua +++ b/lua/plugins/themes/evatheme.lua @@ -11,8 +11,12 @@ if substring(tostring(clr), "Eva") and true or false then pattern = "*", callback = function() local hi = vim.api.nvim_set_hl - hi(0, "LspInfoBorder", { fg = "#2F3F5C" }) - hi(0, "FloatBorder", { fg = "#2F3F5C" }) + -- hi(0, "LspInfoBorder", { fg = "#2F3F5C" }) + -- hi(0, "LspInfoBorder", { fg = "#598DEF" }) + hi(0, "LspInfoBorder", { fg = "#8A97C3" }) + -- hi(0, "FloatBorder", { fg = "#2F3F5C" }) + -- hi(0, "FloatBorder", { fg = "#598DEF" }) + hi(0, "FloatBorder", { fg = "#8A97C3" }) hi(0, "StatusLine", { bg = color.background }) hi(0, "StatusLineNC", { bg = color.background }) hi(0, "WinBar", { bg = color.background }) @@ -30,6 +34,11 @@ if substring(tostring(clr), "Eva") and true or false then hi(0, "NvimTreeGitMergeIcon", { bg = color.dark, fg = color.git.diffModified }) hi(0, "NvimTreeGitStagedIcon", { bg = color.dark, fg = color.git.stagedModified }) hi(0, "MiniIndentscopeSymbol", { bg = color.dark, fg = color.parameter }) + -- cursor + -- hi(0, "Cursor", { bg = "#838FA7", fg = "#838FA7" }) + hi(0, "CursorColumn", { bg = color.dark, fg = "#838FA7" }) + hi(0, "TermCursor", { bg = "#FF9070", fg = color.dark }) + hi(0, "TermCursorNC", { bg = "#FF9070", fg = color.dark }) end, }) end, diff --git a/lua/user/autocommands.lua b/lua/user/autocommands.lua index eaf163f..8b0c0c4 100644 --- a/lua/user/autocommands.lua +++ b/lua/user/autocommands.lua @@ -86,6 +86,16 @@ vim.filetype.add({ }, }) +-- config cursor +vim.opt.guicursor = { + "n-v:block", -- Normal, Visual, Command mode: block cursor + "i-ci-ve-c:ver25", -- Insert, Command-line Insert, Visual mode: vertical bar cursor + "r-cr:hor20", -- Replace, Command-line Replace mode: horizontal bar cursor + "o:hor50", -- Operator-pending mode: horizontal bar cursor + "a:blinkwait700-blinkoff400-blinkon250", -- Blinking settings + "sm:block-blinkwait175-blinkoff150-blinkon175", -- Select mode: block cursor with blinking +} + -- Autoformat -- augroup _lsp -- autocmd! diff --git a/lua/user/utils/cheatsheet.lua b/lua/user/utils/cheatsheet.lua new file mode 100644 index 0000000..b52ce5e --- /dev/null +++ b/lua/user/utils/cheatsheet.lua @@ -0,0 +1,56 @@ +local M = {} + +M.run = function() + local Popup = require("nui.popup") + local event = require("nui.utils.autocmd").event + + -- Buat popup untuk menampilkan keymapping + local popup = Popup({ + enter = true, + focusable = true, + border = { + style = "rounded", + text = { + top = " Key Mappings ", + }, + }, + position = "50%", + size = { + width = "80%", + height = "80%", + }, + }) + + -- Daftar keymapping yang akan ditampilkan dalam dua kolom dengan section header + -- stylua: ignore + local key_mappings = { + { "a ", "Toggle Dashboard ", "e ", "Toggle Explorer "}, + { "c ", "Chat AI ", "bb", ":Telescope buffers "}, + { " ", " ", "bd", ":bdelete "}, + { " ", " ", " ", " "}, + { "Terminal ", " ", " ", " "}, + { "tt ", ":ToggleTerm ", "tn", ":ToggleTerm direction=horizontal"}, + } + + -- Fungsi untuk mengubah daftar keymapping menjadi format string + local function format_key_mappings(mappings) + local formatted = {} + for _, mapping in ipairs(mappings) do + table.insert(formatted, string.format("%-20s %-20s %-20s %s", mapping[1], mapping[2], mapping[3], mapping[4])) + end + return formatted + end + + -- Set konten popup dengan daftar keymapping yang diformat + vim.api.nvim_buf_set_lines(popup.bufnr, 0, -1, false, format_key_mappings(key_mappings)) + + -- Mount popup + popup:mount() + + -- Unmount popup ketika cursor meninggalkan buffer + popup:on(event.BufLeave, function() + popup:unmount() + end) +end + +return M diff --git a/lua/user/utils/lualine_component.lua b/lua/user/utils/lualine_component.lua index dd7401e..1781a4d 100644 --- a/lua/user/utils/lualine_component.lua +++ b/lua/user/utils/lualine_component.lua @@ -46,7 +46,7 @@ return { color = function() local buf = vim.api.nvim_get_current_buf() local ts = vim.treesitter.highlighter.active[buf] - return { fg = ts and not vim.tbl_isempty(ts) and "#50fa7b" or "#FF5555" } + return { fg = ts and not vim.tbl_isempty(ts) and "#98C379" or "#E06C75" } end, cond = hide_in_width, }, @@ -71,7 +71,7 @@ return { color = function() if pcode.codeium then local codeium = all_trim(vim.api.nvim_call_function("codeium#GetStatusString", {})) - return { fg = codeium == "OFF" and "#3E4452" or "#50fa7b" } + return { fg = codeium == "OFF" and "#3E4452" or "#98C379" } else return {} end @@ -222,11 +222,11 @@ return { separator = { left = " ", right = "" }, fmt = function(str) if pcode.show_mode == 1 then - return icons.ui.Neovim .. " " .. (mode_map[str] or str) + return icons.ui.Neovim .. " " .. str:sub(1, 1) elseif pcode.show_mode == 2 then return icons.ui.Neovim elseif pcode.show_mode == 3 then - return (mode_map[str] or str) + return str:sub(1, 1) elseif pcode.show_mode == 4 then return nil else