From f60b4dc97bf7204a5bc3fe316df2ce4bd709babd Mon Sep 17 00:00:00 2001 From: Leander <80996591+m0ntagur@users.noreply.github.com> Date: Sat, 22 Jul 2023 15:38:23 +0200 Subject: Delete nvim directory --- nvim/plugin/lspconfig.lua | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 nvim/plugin/lspconfig.lua (limited to 'nvim/plugin/lspconfig.lua') diff --git a/nvim/plugin/lspconfig.lua b/nvim/plugin/lspconfig.lua deleted file mode 100644 index 80950e3..0000000 --- a/nvim/plugin/lspconfig.lua +++ /dev/null @@ -1,38 +0,0 @@ -local status, lspconfig = pcall(require, 'lspconfig') -if (not status) then return end - - - -lspconfig.pyright.setup {} - -lspconfig.sumneko_lua.setup { - settings = { - Lua = { - diagnostics = { - -- get the language server to recognize the 'vim' globals - globals = { 'vim' } - }, - - workspace = { - libary = vim.api.nvim_get_runtime_file("", true) - } - } - } -} - --- Diagnostic symbols in the sign column (gutter) -local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } -for type, icon in pairs(signs) do - local hl = "DiagnosticSign" .. type - vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) -end - -vim.diagnostic.config({ - virtual_text = { - prefix = '●' - }, - update_in_insert = true, - float = { - source = "always", -- Or "if_many" - }, -}) -- cgit v1.3.1