From 9661cea5d4a2e0f08dcc2715a09d5cfe914aee38 Mon Sep 17 00:00:00 2001 From: aleidk Date: Mon, 7 Apr 2025 09:52:21 -0400 Subject: [PATCH] minor plugin updates --- .../nvim_unstable/lua/aleidk/plugins/comments.lua | 15 +++++++++++++++ .../nvim_unstable/lua/aleidk/plugins/doc-gen.lua | 15 --------------- config/nvim_unstable/lua/aleidk/plugins/init.lua | 12 ++++++++++++ config/nvim_unstable/lua/aleidk/plugins/mini.lua | 9 ++++++++- 4 files changed, 35 insertions(+), 16 deletions(-) delete mode 100644 config/nvim_unstable/lua/aleidk/plugins/doc-gen.lua diff --git a/config/nvim_unstable/lua/aleidk/plugins/comments.lua b/config/nvim_unstable/lua/aleidk/plugins/comments.lua index de06eda..9137253 100644 --- a/config/nvim_unstable/lua/aleidk/plugins/comments.lua +++ b/config/nvim_unstable/lua/aleidk/plugins/comments.lua @@ -9,4 +9,19 @@ return { { "gcl", function() require("comment-box").llline() end, { desc = "Create a comment line", mode = { "n", "v" }, } }, }, }, + { + "danymat/neogen", + opts = { snippet_engine = "nvim" }, + dependencies = { "nvim-treesitter/nvim-treesitter" }, + version = "*", -- stable releases + keys = { + { + "gcd", + function() + require("neogen").generate() + end, + desc = "Generate comment docstring", + }, + }, + } } diff --git a/config/nvim_unstable/lua/aleidk/plugins/doc-gen.lua b/config/nvim_unstable/lua/aleidk/plugins/doc-gen.lua deleted file mode 100644 index 199ce62..0000000 --- a/config/nvim_unstable/lua/aleidk/plugins/doc-gen.lua +++ /dev/null @@ -1,15 +0,0 @@ -return { - "danymat/neogen", - opts = { snippet_engine = "luasnip" }, - dependencies = { "nvim-treesitter/nvim-treesitter" }, - version = "*", -- stable releases - keys = { - { - "gcd", - function() - require("neogen").generate() - end, - desc = "Generate comment docstring", - }, - }, -} diff --git a/config/nvim_unstable/lua/aleidk/plugins/init.lua b/config/nvim_unstable/lua/aleidk/plugins/init.lua index 1745f23..b0448ff 100644 --- a/config/nvim_unstable/lua/aleidk/plugins/init.lua +++ b/config/nvim_unstable/lua/aleidk/plugins/init.lua @@ -9,4 +9,16 @@ return { { "ls", function() require("ts-node-action").node_action() end, desc = "Node Action" } } }, + { + -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins + -- used for completion, annotations and signatures of Neovim apis + 'folke/lazydev.nvim', + ft = 'lua', + opts = { + library = { + -- Load luvit types when the `vim.uv` word is found + { path = 'luvit-meta/library', words = { 'vim%.uv' } }, + }, + }, + }, } diff --git a/config/nvim_unstable/lua/aleidk/plugins/mini.lua b/config/nvim_unstable/lua/aleidk/plugins/mini.lua index 17aad31..88f6bbe 100644 --- a/config/nvim_unstable/lua/aleidk/plugins/mini.lua +++ b/config/nvim_unstable/lua/aleidk/plugins/mini.lua @@ -17,7 +17,14 @@ return { require('mini.splitjoin').setup() require("mini.align").setup({}) require('mini.animate').setup() - require('mini.notify').setup() + require('mini.notify').setup({ + -- Notifications about LSP progress + lsp_progress = { + -- Whether to enable showing + enable = false, + } + }) + vim.notify = require('mini.notify').make_notify() require('mini.starter').setup() require('mini.statusline').setup({}) require('mini.diff').setup({ view = { style = 'sign' } })