docs: more examples
This commit is contained in:
parent
f28f0fcaac
commit
cc4602ef02
2 changed files with 56 additions and 23 deletions
|
@ -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",
|
||||
-- },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue