summaryrefslogtreecommitdiff
path: root/lua/plugins/lsp.lua
diff options
context:
space:
mode:
authorFolke Lemaitre <folke.lemaitre@gmail.com>2023-01-09 10:53:23 +0100
committerFolke Lemaitre <folke.lemaitre@gmail.com>2023-01-09 10:53:23 +0100
commitecf7a83181714e55f3bf8bf374cda3d2072f419d (patch)
treef76c4cd38900d89815f7214696f09028e920f2dc /lua/plugins/lsp.lua
parente6e661301187ec5b7016071cf8dccb0b93517d79 (diff)
refactor: better examples
Diffstat (limited to 'lua/plugins/lsp.lua')
-rw-r--r--lua/plugins/lsp.lua51
1 files changed, 0 insertions, 51 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
deleted file mode 100644
index 342d408..0000000
--- a/lua/plugins/lsp.lua
+++ /dev/null
@@ -1,51 +0,0 @@
-return {
-
- -- uncomment and add lsp servers with their config to servers below
- {
- "neovim/nvim-lspconfig",
- -- ---@class PluginLspOpts
- -- opts = {
- -- ---@type lspconfig.options
- -- servers = {
- -- jsonls = {},
- -- sumneko_lua = {
- -- settings = {
- -- Lua = {
- -- workspace = {
- -- checkThirdParty = false,
- -- },
- -- completion = {
- -- callSnippet = "Replace",
- -- },
- -- },
- -- },
- -- },
- -- },
- -- -- you can do any additional lsp server setup here
- -- -- return true if you don't want this server to be setup with lspconfig
- -- ---@type table<string, fun(server:string, opts:_.lspconfig.options):boolean?>
- -- setup = {
- -- -- example to setup with typescript.nvim
- -- -- tsserver = function(_, opts)
- -- -- require("typescript").setup({ server = opts })
- -- -- return true
- -- -- end,
- -- -- Specify * to use this function as a fallback for any server
- -- -- ["*"] = function(server, opts) end,
- -- },
- -- },
- },
-
- -- uncomment and add tools to ensure_installed below
- {
- "williamboman/mason.nvim",
- -- opts = {
- -- ensure_installed = {
- -- "stylua",
- -- "shellcheck",
- -- "shfmt",
- -- "flake8",
- -- },
- -- },
- },
-}