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", "stevearc/aerial.nvim",
name = "aerial", name = "aerial",
cmd = { cmd = {
"AerialToggle",
"AerialOpen", "AerialOpen",
"AerialOpenAll", "AerialOpenAll",
"AerialNext", "AerialNext",
"AerialPrev", "AerialPrev",
"AerialGo", "AerialGo",
"AerialInfo", "AerialInfo",
"AerialToggle",
}, },
config = function() config = function()
require("aerial").setup(require "config.aerial") require("aerial").setup(require "config.aerial")

View file

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

View file

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

View file

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

View file

@ -2,12 +2,15 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile" },
cmd = { cmd = {
"TSEnable",
"TSToggle", "TSToggle",
"TSBufEnable", "TSBufEnable",
"TSBufToggle", "TSBufToggle",
"TSInstall", "TSInstall",
"TSUpdate", "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,
} }