summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-02-24 15:50:39 +0100
committerAdam Stück <adam@adast.xyz>2023-02-24 15:50:39 +0100
commit993df94795075250072618977b1ba84b43d38f37 (patch)
tree381909251e7a24d7c43378b4345d612fee3312d3
parent582babe024aded4704da38fca833cf05dc6c706e (diff)
nvim: drop comments
-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