summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup/lspconfig.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/setup/lspconfig.lua')
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua46
1 files changed, 7 insertions, 39 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index 373c347..2c894fe 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -12,7 +12,7 @@ local function on_attach()
-- ]])
end
-lspconfig.sumneko_lua.setup {
+lspconfig.lua_ls.setup {
on_attach = on_attach,
settings = {
Lua = {
@@ -22,53 +22,21 @@ lspconfig.sumneko_lua.setup {
}
}
}
+
-- lspconfig.hls.setup {
-- on_attach = on_attach,
+-- filetypes = { 'haskell', 'lhaskell', 'cabal' },
-- }
--- lspconfig.pyright.setup {
--- on_attach = on_attach,
--- }
-lspconfig.ccls.setup {
- on_attach = on_attach,
-}
--- lspconfig.clangd.setup {
--- on_attach = on_attach,
--- }
-lspconfig.rust_analyzer.setup {
- on_attach = on_attach,
-}
+
lspconfig.bashls.setup {
on_attach = on_attach,
}
--- lspconfig.dockerls.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.yamlls.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.html.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.cssls.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.marksman.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.jsonls.setup {
--- on_attach = on_attach,
--- }
--- lspconfig.tsserver.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,
--- }
--- lspconfig.texlab.setup {
--- on_attach = on_attach,
+-- -- use_mono = true,
-- }
--- vim.cmd("let g:tex_flavor = 'tex'")
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do