diff options
Diffstat (limited to '.config/nvim/lua/plugins/nvim-lspconfig.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/nvim-lspconfig.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.config/nvim/lua/plugins/nvim-lspconfig.lua b/.config/nvim/lua/plugins/nvim-lspconfig.lua deleted file mode 100644 index c139acb..0000000 --- a/.config/nvim/lua/plugins/nvim-lspconfig.lua +++ /dev/null @@ -1,45 +0,0 @@ -local config = function() - require("neoconf").setup({}) - local cmp_nvim_lsp = require("cmp_nvim_lsp") - -- vim.lsp.enable({ “pyright”, “bashls” }) - -- local lspconfig = require("lspconfig") - local capabilities = cmp_nvim_lsp.default_capabilities() - - -- python - -- lspconfig.pyright.setup({ - -- capabilities = capabilities, - -- on_attach = on_attach, - -- settings = { - -- pyright = { - -- disableOrganizeImports = false, - -- analysis = { - -- useLibraryCodeForTypes = true, - -- autoSearchPaths = true, - -- diagnosticMode = "workspace", - -- autoImportCompletions = true, - -- }, - -- }, - -- }, - -- }) - - -- bash - -- lspconfig.bashls.setup({ - -- capabilities = capabilities, - -- on_attach = on_attach, - -- filetypes = { "sh" }, - -- }) - -end - -return { - "neovim/nvim-lspconfig", - config = config, - lazy = false, - dependencies = { - "windwp/nvim-autopairs", - "williamboman/mason.nvim", - "hrsh7th/nvim-cmp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-nvim-lsp", - }, -} |
