docs: more examples
This commit is contained in:
parent
f28f0fcaac
commit
cc4602ef02
|
@ -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 },
|
||||||
|
}
|
|
@ -1,34 +1,34 @@
|
||||||
return {
|
return {
|
||||||
|
|
||||||
-- lsp servers
|
-- uncomment and add lsp servers with their config to servers below
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
---@type lspconfig.options
|
---@type lspconfig.options
|
||||||
servers = {
|
-- servers = {
|
||||||
jsonls = {},
|
-- jsonls = {},
|
||||||
sumneko_lua = {
|
-- sumneko_lua = {
|
||||||
settings = {
|
-- settings = {
|
||||||
Lua = {
|
-- Lua = {
|
||||||
workspace = {
|
-- workspace = {
|
||||||
checkThirdParty = false,
|
-- checkThirdParty = false,
|
||||||
},
|
-- },
|
||||||
completion = {
|
-- completion = {
|
||||||
callSnippet = "Replace",
|
-- callSnippet = "Replace",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
},
|
||||||
|
|
||||||
-- tools
|
-- uncomment and add tools to ensure_installed below
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
ensure_installed = {
|
-- ensure_installed = {
|
||||||
"stylua",
|
-- "stylua",
|
||||||
"shellcheck",
|
-- "shellcheck",
|
||||||
"shfmt",
|
-- "shfmt",
|
||||||
"flake8",
|
-- "flake8",
|
||||||
},
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue