nvim: Fix wrong lazy.nvim plugin spec options

Some options were left over from old plugin managers, some were just
used wrong.
This commit is contained in:
Marty Oehme 2024-06-17 13:13:15 +02:00
parent 157fbc812c
commit c45d85922b
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 4 additions and 5 deletions

View file

@ -99,7 +99,6 @@ return {
{ "WhoIsSethDaniel/mason-tool-installer.nvim" }, { "WhoIsSethDaniel/mason-tool-installer.nvim" },
}, },
event = { "BufReadPost", "BufNewFile", "BufWritePre" }, event = { "BufReadPost", "BufNewFile", "BufWritePre" },
after = { "nvim-cmp" },
config = function() config = function()
require("plugins.config.lsp") require("plugins.config.lsp")
end, end,

View file

@ -1,7 +1,7 @@
return { return {
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
run = ":TSUpdate", build = ":TSUpdate",
-- show current cursor context at top of buffer -- show current cursor context at top of buffer
-- improves commenting plugin above by using ts -- improves commenting plugin above by using ts
dependencies = { dependencies = {

View file

@ -2,7 +2,7 @@ return {
-- statusline -- statusline
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
requires = { "nvim-tree/nvim-web-devicons", config = true }, dependencies = { { "nvim-tree/nvim-web-devicons", config = true } },
config = function() config = function()
-- FIXME: Errors out on no pynvim installed -- FIXME: Errors out on no pynvim installed
-- local function molten() -- local function molten()
@ -61,7 +61,7 @@ return {
cmd = { "Fidget" }, cmd = { "Fidget" },
keys = { keys = {
{ "<leader>sh", "<cmd>Fidget history<cr>", { silent = true, desc = "show notification history" } }, { "<leader>sh", "<cmd>Fidget history<cr>", { silent = true, desc = "show notification history" } },
} },
}, },
-- make all vim.ui interfaces prettyy -- make all vim.ui interfaces prettyy
{ "stevearc/dressing.nvim", config = true, event = "VeryLazy" }, { "stevearc/dressing.nvim", config = true, event = "VeryLazy" },