chore(plugins): clean up

This commit is contained in:
2024-08-11 03:56:42 +02:00
parent 5f54ddbdb2
commit c970e6fa6e
11 changed files with 41 additions and 52 deletions
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"numToStr/Comment.nvim", "numToStr/Comment.nvim",
lazy = true,
event = "VimEnter", event = "VimEnter",
opts = { opts = {
--ignore empty lines --ignore empty lines
-1
View File
@@ -1,7 +1,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"wellle/context.vim", "wellle/context.vim",
lazy = true,
event = "VimEnter", event = "VimEnter",
init = function() init = function()
vim.g.context_enabled = true vim.g.context_enabled = true
-1
View File
@@ -10,7 +10,6 @@ end
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"tpope/vim-fugitive", "tpope/vim-fugitive",
lazy = true,
event = "VimEnter", event = "VimEnter",
---@type LazyKeysSpec[] ---@type LazyKeysSpec[]
keys = { keys = {
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
lazy = true,
event = "VimEnter", event = "VimEnter",
opts = { opts = {
on_attach = function(bufnr) on_attach = function(bufnr)
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
lazy = true,
event = "VimEnter", event = "VimEnter",
config = function() config = function()
local custom_moonfly = require("lualine.themes.moonfly") local custom_moonfly = require("lualine.themes.moonfly")
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"williamboman/mason.nvim", "williamboman/mason.nvim",
lazy = true,
event = "VimEnter", event = "VimEnter",
config = true, config = true,
} }
+1
View File
@@ -10,6 +10,7 @@ return {
stages = "static", stages = "static",
}, },
config = function(_, opts) config = function(_, opts)
---@type notify
vim.notify = require("notify") vim.notify = require("notify")
vim.notify.setup(opts) vim.notify.setup(opts)
end, end,
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
lazy = true,
event = "VimEnter", event = "VimEnter",
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
+1 -4
View File
@@ -1,11 +1,9 @@
-- https://github.com/nvim-treesitter/nvim-treesitter -- https://github.com/nvim-treesitter/nvim-treesitter
---@type LazyPluginSpec[] ---@type LazyPluginSpec
return { return {
{
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
build = ":TSUpdate", build = ":TSUpdate",
lazy = true,
event = "VimEnter", event = "VimEnter",
opts = { opts = {
ensure_installed = { ensure_installed = {
@@ -46,5 +44,4 @@ return {
-- uncomment the line below: -- uncomment the line below:
-- vim.highlight.priorities.semantic_tokens = 99 -- vim.highlight.priorities.semantic_tokens = 99
end, end,
},
} }
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"simeji/winresizer", "simeji/winresizer",
lazy = true,
keys = { keys = {
{ "<C-W>r", vim.cmd.WinResizerStartResize, mode = "n" }, { "<C-W>r", vim.cmd.WinResizerStartResize, mode = "n" },
}, },
-1
View File
@@ -3,7 +3,6 @@
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"sindrets/winshift.nvim", "sindrets/winshift.nvim",
lazy = true,
keys = { keys = {
{ "<C-W>m", vim.cmd.WinShift, mode = "n" }, { "<C-W>m", vim.cmd.WinShift, mode = "n" },
}, },