summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index 2c894fe..c76ef2d 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -1,15 +1,7 @@
--- require("nvim-lsp-installer").setup {}
local lspconfig = require("lspconfig")
local function on_attach()
vim.cmd("doautocmd User lspAttached")
-
- -- vim.cmd([[
- -- augroup Format
- -- au! * <buffer>
- -- au BufWritePre <buffer> lua vim.lsp.buf.formatting_sync()
- -- augroup END
- -- ]])
end
lspconfig.lua_ls.setup {
@@ -23,21 +15,6 @@ lspconfig.lua_ls.setup {
}
}
--- lspconfig.hls.setup {
--- on_attach = on_attach,
--- filetypes = { 'haskell', 'lhaskell', 'cabal' },
--- }
-
-lspconfig.bashls.setup {
- on_attach = on_attach,
-}
-
--- lspconfig.omnisharp.setup {
--- cmd = { "/usr/bin/omnisharp", "--languageserver" , "--hostPID", tostring(vim.fn.getpid()) },
--- on_attach = on_attach,
--- -- use_mono = true,
--- }
-
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type