Reorder some cmd statements for nicer display in Lazy UI

This commit is contained in:
Evie Litherland-Smith 2023-03-03 11:12:22 +00:00
parent eff5d416fa
commit e9dbe3e282
5 changed files with 9 additions and 6 deletions

View file

@ -2,13 +2,13 @@ return {
"stevearc/aerial.nvim",
name = "aerial",
cmd = {
"AerialToggle",
"AerialOpen",
"AerialOpenAll",
"AerialNext",
"AerialPrev",
"AerialGo",
"AerialInfo",
"AerialToggle",
},
config = function()
require("aerial").setup(require "config.aerial")

View file

@ -2,8 +2,8 @@ return {
"sindrets/diffview.nvim",
dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons" },
cmd = {
"DiffviewOpen",
"DiffviewFileHistory",
"DiffviewOpen",
},
config = function() require("diffview").setup(require "config.diffview") end,
}

View file

@ -4,10 +4,10 @@ return {
event = { "BufReadPre", "BufNewFile" },
cmd = {
"LspLog",
"LspInfo",
"LspStop",
"LspStart",
"LspRestart",
"LspInfo",
},
dependencies = {
{ "hrsh7th/nvim-cmp" },

View file

@ -1,13 +1,13 @@
return {
"klen/nvim-test",
cmd = {
"TestSuite",
"TestFile",
"TestEdit",
"TestNearest",
"TestLast",
"TestVisit",
"TestInfo",
"TestSuite",
},
config = function() require("nvim-test").setup(require "config.nvim_test") end,
}

View file

@ -2,12 +2,15 @@ return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" },
cmd = {
"TSEnable",
"TSToggle",
"TSBufEnable",
"TSBufToggle",
"TSInstall",
"TSUpdate",
"TSEnable",
},
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
config = function()
require("nvim-treesitter.configs").setup(require "config.treesitter")
vim.cmd "TSUpdate"
end,
}