aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/lsp.lua')
-rw-r--r--.config/nvim/lua/lsp.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua
index 0eba3fe..6fe008e 100644
--- a/.config/nvim/lua/lsp.lua
+++ b/.config/nvim/lua/lsp.lua
@@ -85,14 +85,12 @@ cmp.setup({
};
})
-local lsp_inlayhints = require("lsp-inlayhints")
-
local on_attach = function(client, bufnr)
vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc")
local lsp_signature = require("lsp_signature")
lsp_signature.on_attach({ bind = true }, bufnr)
- lsp_inlayhints.setup()
- lsp_inlayhints.on_attach(client, bufnr, false)
+ require("lsp-inlayhints").setup()
+ require("lsp-inlayhints").on_attach(client, bufnr, false)
end
vim.api.nvim_create_augroup("LspAttach_inlayhints", {})
@@ -103,7 +101,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
local bufnr = args.buf
local client = vim.lsp.get_client_by_id(args.data.client_id)
- lsp_inlayhints.on_attach(client, bufnr, false)
+ require("lsp-inlayhints").on_attach(client, bufnr, false)
end;
})
@@ -283,6 +281,8 @@ require("lspconfig").lua_ls.setup({
};
})
+require('lspconfig').jedi_language_server.setup({})
+
local null_ls = require("null-ls")
null_ls.setup({