aboutsummaryrefslogtreecommitdiff
path: root/lspconfig.lua
diff options
context:
space:
mode:
authorLeander <80996591+m0ntagur@users.noreply.github.com>2022-08-13 00:28:44 +0200
committerGitHub <noreply@github.com>2022-08-13 00:28:44 +0200
commite74f0e546136445068dfac7b494c3d33e549783a (patch)
tree9500c6146ff7b99260a06ffea5774307f88f143b /lspconfig.lua
parent2556a29c4fc56837565112cd41329500971b753c (diff)
Delete lspconfig.lua
Diffstat (limited to 'lspconfig.lua')
-rw-r--r--lspconfig.lua38
1 files changed, 0 insertions, 38 deletions
diff --git a/lspconfig.lua b/lspconfig.lua
deleted file mode 100644
index 80950e3..0000000
--- a/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"
- },
-})