mirror of
https://github.com/tomru/lazyvim.git
synced 2026-03-03 22:47:22 +01:00
docs: more examples
This commit is contained in:
33
lua/plugins/example.lua
Normal file
33
lua/plugins/example.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
-- every spec file under config.plugins will be loaded automatically by lazy.nvim
|
||||
--
|
||||
-- In your plugin files, you can:
|
||||
-- * add extra plugins
|
||||
-- * disable/enabled LazyVim plugins
|
||||
-- * override the configuration of LazyVim plugins
|
||||
return {
|
||||
-- change trouble config
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
-- config = { use_diagnostic_signs = true },
|
||||
},
|
||||
|
||||
-- add symbols-outline
|
||||
{
|
||||
"simrat39/symbols-outline.nvim",
|
||||
cmd = "SymbolsOutline",
|
||||
keys = { { "<leader>cs", "<cmd>SymbolsOutline<cr>", desc = "Symbols Outline" } },
|
||||
config = true,
|
||||
},
|
||||
|
||||
-- add zen-mode
|
||||
{
|
||||
"folke/zen-mode.nvim",
|
||||
cmd = "ZenMode",
|
||||
config = true,
|
||||
keys = { { "<leader>z", "<cmd>ZenMode<cr>", desc = "Zen Mode" } },
|
||||
},
|
||||
|
||||
-- use mini.starter instead of alpha
|
||||
-- { "goolord/alpha-nvim", enabled = false },
|
||||
-- { "echasnovski/mini.starter", enabled = true },
|
||||
}
|
||||
Reference in New Issue
Block a user