summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup/lspconfig.lua
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2024-08-28 08:58:46 +0200
committerAdam Stück <adam@adast.dk>2024-08-28 08:58:46 +0200
commit42af051a2339acdc893d11014b0543aabf4c08da (patch)
treea09726f5151f05a05f0374a93776837f0d9e1e1f /.config/nvim/lua/setup/lspconfig.lua
parent163b8df4567aa7afb94ed311a178a16496d8f602 (diff)
nvim: add nvim-conf git submodule
Diffstat (limited to '.config/nvim/lua/setup/lspconfig.lua')
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
deleted file mode 100644
index 8b83e47..0000000
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ /dev/null
@@ -1,28 +0,0 @@
-local lspconfig = require("lspconfig")
-
-local function on_attach()
- vim.cmd("doautocmd User lspAttached")
-end
-
-lspconfig.lua_ls.setup {
- on_attach = on_attach,
- settings = {
- Lua = {
- diagnostics = {
- globals = { 'vim' }
- }
- }
- }
-}
-lspconfig.bashls.setup {
- on_attach = on_attach,
-}
-lspconfig.pyright.setup{
- on_attach = on_attach,
-}
-
--- 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 = hl })
--- end