mirror of
https://github.com/tomru/lazyvim.git
synced 2026-03-03 06:27:16 +01:00
docs: more examples
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
return {
|
||||
|
||||
-- lsp servers
|
||||
-- uncomment and add lsp servers with their config to servers below
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
---@type lspconfig.options
|
||||
servers = {
|
||||
jsonls = {},
|
||||
sumneko_lua = {
|
||||
settings = {
|
||||
Lua = {
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
},
|
||||
completion = {
|
||||
callSnippet = "Replace",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
-- servers = {
|
||||
-- jsonls = {},
|
||||
-- sumneko_lua = {
|
||||
-- settings = {
|
||||
-- Lua = {
|
||||
-- workspace = {
|
||||
-- checkThirdParty = false,
|
||||
-- },
|
||||
-- completion = {
|
||||
-- callSnippet = "Replace",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
|
||||
-- tools
|
||||
-- uncomment and add tools to ensure_installed below
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
ensure_installed = {
|
||||
"stylua",
|
||||
"shellcheck",
|
||||
"shfmt",
|
||||
"flake8",
|
||||
},
|
||||
-- ensure_installed = {
|
||||
-- "stylua",
|
||||
-- "shellcheck",
|
||||
-- "shfmt",
|
||||
-- "flake8",
|
||||
-- },
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user