aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 10:43:13 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 10:43:13 +0000
commit4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57 (patch)
tree9a98aee8345128dadb3950f109392cb44ba0d2c2 /.config/nvim/lua/lsp.lua
parentd40df46b6c003ff2d574d5efc36cecebafe39f6e (diff)
downloaddotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar.gz
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar.bz2
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar.lz
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar.xz
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.tar.zst
dotfiles-4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57.zip
Neovim improvements
Diffstat (limited to '.config/nvim/lua/lsp.lua')
-rw-r--r--.config/nvim/lua/lsp.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua
index 495f7fa..a2207d5 100644
--- a/.config/nvim/lua/lsp.lua
+++ b/.config/nvim/lua/lsp.lua
@@ -163,14 +163,6 @@ lspconfig.rust_analyzer.setup({
on_attach = on_attach;
})
-lspconfig.sqls.setup({
- on_attach = function(client, bufnr)
- require("sqls").on_attach(client, bufnr)
- on_attach(client, bufnr)
- end;
- capabilities = capabilities;
-})
-
lspconfig.omnisharp.setup({
cmd = { "omnisharp" };
@@ -295,6 +287,9 @@ null_ls.setup({
};
})
+vim.lsp.handlers["textDocument/hover"] =
+ vim.lsp.with(vim.lsp.handlers.hover,
+ { border = "rounded"; relative = "cursor"; max_width = 80 })
-- Debugging
local dap, dapui = require("dap"), require("dapui")