2023-01-07 10:53:01 +01:00
|
|
|
return {
|
|
|
|
|
2023-01-07 10:59:10 +01:00
|
|
|
-- uncomment and add lsp servers with their config to servers below
|
2023-01-07 10:53:01 +01:00
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
2023-01-07 11:16:22 +01:00
|
|
|
-- you can do any additional lsp server setup here
|
|
|
|
-- return true if you don't want this server to be setup with lspconfig
|
|
|
|
---@param server string lsp server name
|
|
|
|
---@param opts _.lspconfig.options any options set for the server
|
|
|
|
-- setup_server = function(server, opts)
|
|
|
|
-- return false
|
|
|
|
-- end,
|
2023-01-07 10:53:01 +01:00
|
|
|
---@type lspconfig.options
|
2023-01-07 10:59:10 +01:00
|
|
|
-- servers = {
|
|
|
|
-- jsonls = {},
|
|
|
|
-- sumneko_lua = {
|
|
|
|
-- settings = {
|
|
|
|
-- Lua = {
|
|
|
|
-- workspace = {
|
|
|
|
-- checkThirdParty = false,
|
|
|
|
-- },
|
|
|
|
-- completion = {
|
|
|
|
-- callSnippet = "Replace",
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
-- },
|
2023-01-07 10:53:01 +01:00
|
|
|
},
|
|
|
|
|
2023-01-07 10:59:10 +01:00
|
|
|
-- uncomment and add tools to ensure_installed below
|
2023-01-07 10:53:01 +01:00
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
2023-01-07 10:59:10 +01:00
|
|
|
-- ensure_installed = {
|
|
|
|
-- "stylua",
|
|
|
|
-- "shellcheck",
|
|
|
|
-- "shfmt",
|
|
|
|
-- "flake8",
|
|
|
|
-- },
|
2023-01-07 10:53:01 +01:00
|
|
|
},
|
|
|
|
}
|