From ecf7a83181714e55f3bf8bf374cda3d2072f419d Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 9 Jan 2023 10:53:23 +0100 Subject: refactor: better examples --- lua/plugins/lsp.lua | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 lua/plugins/lsp.lua (limited to 'lua/plugins/lsp.lua') 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 - -- 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", - -- }, - -- }, - }, -} -- cgit v1.2.3