refactor(nvim): remove after key in plugins
after is not valid for lazy.nvim, only for packger which is no longer in use
This commit is contained in:
parent
cf6633b4c4
commit
aa3c06b0d7
@ -102,7 +102,6 @@ lazy.setup({
|
|||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
after = { "nvim-treesitter" },
|
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
textobjects = {
|
textobjects = {
|
||||||
@ -243,7 +242,6 @@ lazy.setup({
|
|||||||
-- Show code actions
|
-- Show code actions
|
||||||
{
|
{
|
||||||
"kosayoda/nvim-lightbulb",
|
"kosayoda/nvim-lightbulb",
|
||||||
after = "nvim-lspconfig",
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"antoinemadec/FixCursorHold.nvim",
|
"antoinemadec/FixCursorHold.nvim",
|
||||||
},
|
},
|
||||||
@ -312,7 +310,6 @@ lazy.setup({
|
|||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
},
|
},
|
||||||
after = "LuaSnip",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Code completion
|
-- Code completion
|
||||||
@ -360,14 +357,12 @@ lazy.setup({
|
|||||||
require("dap.ext.vscode").load_launchjs()
|
require("dap.ext.vscode").load_launchjs()
|
||||||
require("plugins.configs._dap")
|
require("plugins.configs._dap")
|
||||||
end,
|
end,
|
||||||
after = "nvim-notify",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Python debugger, dapinstall does not play nice with debugpy
|
-- Python debugger, dapinstall does not play nice with debugpy
|
||||||
{
|
{
|
||||||
"mfussenegger/nvim-dap-python",
|
"mfussenegger/nvim-dap-python",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
after = "nvim-dap",
|
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.python-dap")
|
require("plugins.configs.python-dap")
|
||||||
end,
|
end,
|
||||||
@ -377,7 +372,6 @@ lazy.setup({
|
|||||||
{
|
{
|
||||||
"theHamsta/nvim-dap-virtual-text",
|
"theHamsta/nvim-dap-virtual-text",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
after = "nvim-dap",
|
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-dap-virtual-text").setup({})
|
require("nvim-dap-virtual-text").setup({})
|
||||||
end,
|
end,
|
||||||
@ -387,7 +381,6 @@ lazy.setup({
|
|||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
after = "nvim-dap",
|
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.dap-ui")
|
require("plugins.configs.dap-ui")
|
||||||
end,
|
end,
|
||||||
@ -562,7 +555,6 @@ lazy.setup({
|
|||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"nvim-neorg/neorg-telescope",
|
"nvim-neorg/neorg-telescope",
|
||||||
},
|
},
|
||||||
after = "nvim-treesitter",
|
|
||||||
ft = "norg",
|
ft = "norg",
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -818,7 +810,6 @@ lazy.setup({
|
|||||||
{
|
{
|
||||||
"gen740/SmoothCursor.nvim",
|
"gen740/SmoothCursor.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
after = "kanagawa.nvim",
|
|
||||||
config = function()
|
config = function()
|
||||||
require("smoothcursor").setup({
|
require("smoothcursor").setup({
|
||||||
priority = 8,
|
priority = 8,
|
||||||
|
Loading…
Reference in New Issue
Block a user