diff options
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/colorscheme.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/comment.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/flash.lua | 29 | ||||
| -rw-r--r-- | nvim/lua/plugins/gitsigns.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/lsp.lua | 9 | ||||
| -rw-r--r-- | nvim/lua/plugins/nix-develop.lua | 3 | ||||
| -rw-r--r-- | nvim/lua/plugins/none-ls.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/nvim-neoclip.lua | 13 | ||||
| -rw-r--r-- | nvim/lua/plugins/oil-nvim.lua | 40 | ||||
| -rw-r--r-- | nvim/lua/plugins/quicker.lua | 5 | ||||
| -rw-r--r-- | nvim/lua/plugins/render-markdown.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/telescope.lua | 3 | ||||
| -rw-r--r-- | nvim/lua/plugins/todo-comments.lua | 15 | ||||
| -rw-r--r-- | nvim/lua/plugins/which-key.lua | 1 |
14 files changed, 69 insertions, 54 deletions
diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua index 18105b8..4e890f5 100644 --- a/nvim/lua/plugins/colorscheme.lua +++ b/nvim/lua/plugins/colorscheme.lua @@ -1,5 +1,6 @@ return { "miikanissi/modus-themes.nvim", + version = "*", priority = 1000, opts = { style = "modus_vivendi", -- só quero o tema escuro diff --git a/nvim/lua/plugins/comment.lua b/nvim/lua/plugins/comment.lua index 1871cef..ba527cc 100644 --- a/nvim/lua/plugins/comment.lua +++ b/nvim/lua/plugins/comment.lua @@ -1,5 +1,6 @@ return { 'numToStr/Comment.nvim', + version = "*", opts = { -- add any options here } diff --git a/nvim/lua/plugins/flash.lua b/nvim/lua/plugins/flash.lua index ff8f515..bcc857c 100644 --- a/nvim/lua/plugins/flash.lua +++ b/nvim/lua/plugins/flash.lua @@ -1,16 +1,17 @@ return { - "folke/flash.nvim", - event = "VeryLazy", - ---@type Flash.Config - opts = { - modes = { - search = { - enabled = true, - }, - }, - }, - keys = { - { ";", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" }, - { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, - }, + "folke/flash.nvim", + version = "*", + event = "VeryLazy", + ---@type Flash.Config + opts = { + modes = { + search = { + enabled = true, + }, + }, + }, + keys = { + { ";", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" }, + { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, + }, } diff --git a/nvim/lua/plugins/gitsigns.lua b/nvim/lua/plugins/gitsigns.lua index 92361c2..dc62199 100644 --- a/nvim/lua/plugins/gitsigns.lua +++ b/nvim/lua/plugins/gitsigns.lua @@ -1,3 +1,4 @@ return { "lewis6991/gitsigns.nvim", + version = "*", } diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 9fe9c32..704d5c7 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -5,12 +5,13 @@ return { }, { "lukas-reineke/lsp-format.nvim", + version = "*", opts = { - yaml = { - exclude = { - "none-ls", + yaml = { + exclude = { + "none-ls", + }, }, - }, }, }, { diff --git a/nvim/lua/plugins/nix-develop.lua b/nvim/lua/plugins/nix-develop.lua index 3a1c657..57fff9d 100644 --- a/nvim/lua/plugins/nix-develop.lua +++ b/nvim/lua/plugins/nix-develop.lua @@ -1,3 +1,4 @@ return { - "figsoda/nix-develop.nvim" + "figsoda/nix-develop.nvim", + version = "*", } diff --git a/nvim/lua/plugins/none-ls.lua b/nvim/lua/plugins/none-ls.lua index 176c8f5..75368c5 100644 --- a/nvim/lua/plugins/none-ls.lua +++ b/nvim/lua/plugins/none-ls.lua @@ -1,6 +1,7 @@ -- ripped from https://www.lazyvim.org/extras/lsp/none-ls return { "nvimtools/none-ls.nvim", + version = "*", opts = function(_, opts) local nls = require("null-ls") opts.root_dir = opts.root_dir diff --git a/nvim/lua/plugins/nvim-neoclip.lua b/nvim/lua/plugins/nvim-neoclip.lua index a260c0c..2fce8fa 100644 --- a/nvim/lua/plugins/nvim-neoclip.lua +++ b/nvim/lua/plugins/nvim-neoclip.lua @@ -1,8 +1,9 @@ return { - "AckslD/nvim-neoclip.lua", - dependencies = { - -- you'll need at least one of these - -- {'nvim-telescope/telescope.nvim'}, - -- {'ibhagwan/fzf-lua'}, - }, + "AckslD/nvim-neoclip.lua", + version = "*", + dependencies = { + -- you'll need at least one of these + -- {'nvim-telescope/telescope.nvim'}, + -- {'ibhagwan/fzf-lua'}, + }, } diff --git a/nvim/lua/plugins/oil-nvim.lua b/nvim/lua/plugins/oil-nvim.lua index 0f645c3..460addc 100644 --- a/nvim/lua/plugins/oil-nvim.lua +++ b/nvim/lua/plugins/oil-nvim.lua @@ -1,21 +1,23 @@ return { - { - "stevearc/oil.nvim", - ---@module 'oil' - ---@type oil.SetupOpts - opts = { - vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }), - }, - -- Optional dependencies - -- dependencies = { { "nvim-mini/mini.icons", opts = {} } }, - dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons - -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. - lazy = false, - }, - { - "malewicz1337/oil-git.nvim", - dependencies = { - "stevearc/oil.nvim", - }, - }, + { + "stevearc/oil.nvim", + ---@module 'oil' + ---@type oil.SetupOpts + opts = { + vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }), + }, + -- Optional dependencies + -- dependencies = { { "nvim-mini/mini.icons", opts = {} } }, + dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons + -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. + lazy = false, + version = "*", + }, + { + "malewicz1337/oil-git.nvim", + version = "*", + dependencies = { + "stevearc/oil.nvim", + }, + }, } diff --git a/nvim/lua/plugins/quicker.lua b/nvim/lua/plugins/quicker.lua index 2fd6aad..a8dc51e 100644 --- a/nvim/lua/plugins/quicker.lua +++ b/nvim/lua/plugins/quicker.lua @@ -1,13 +1,14 @@ return { 'stevearc/quicker.nvim', + version = "*", ft = "qf", ---@module "quicker" ---@type quicker.SetupOptions opts = { vim.keymap.set("n", "<leader>q", function() - require("quicker").toggle() + require("quicker").toggle() end, { - desc = "Toggle quickfix", + desc = "Toggle quickfix", }) }, } diff --git a/nvim/lua/plugins/render-markdown.lua b/nvim/lua/plugins/render-markdown.lua index 7ac5915..5860a8c 100644 --- a/nvim/lua/plugins/render-markdown.lua +++ b/nvim/lua/plugins/render-markdown.lua @@ -1,5 +1,6 @@ return { 'MeanderingProgrammer/render-markdown.nvim', + version = "*", dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons ---@module 'render-markdown' ---@type render.md.UserConfig diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua index 7741010..3ec0a7b 100644 --- a/nvim/lua/plugins/telescope.lua +++ b/nvim/lua/plugins/telescope.lua @@ -1,5 +1,6 @@ return { - 'nvim-telescope/telescope.nvim', version = '*', + 'nvim-telescope/telescope.nvim', + version = '*', dependencies = { 'nvim-lua/plenary.nvim', -- optional but recommended diff --git a/nvim/lua/plugins/todo-comments.lua b/nvim/lua/plugins/todo-comments.lua index 52fc471..265fb4b 100644 --- a/nvim/lua/plugins/todo-comments.lua +++ b/nvim/lua/plugins/todo-comments.lua @@ -1,9 +1,10 @@ return { - "folke/todo-comments.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, - opts = { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - }, + "folke/todo-comments.nvim", + version = "*", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + }, } diff --git a/nvim/lua/plugins/which-key.lua b/nvim/lua/plugins/which-key.lua index db77db1..c1706c5 100644 --- a/nvim/lua/plugins/which-key.lua +++ b/nvim/lua/plugins/which-key.lua @@ -1,4 +1,5 @@ return { "folke/which-key.nvim", lazy = true, + version = "*", } |
