Compare commits
No commits in common. "55d8df866bb6f1823586ac2609ba4346028eb47e" and "d6b95fdef6c04fcb3c5735772beb36a6a359befb" have entirely different histories.
55d8df866b
...
d6b95fdef6
2 changed files with 2 additions and 22 deletions
|
@ -123,6 +123,7 @@ with builtins;
|
|||
];
|
||||
}
|
||||
{ plugin = which-key-nvim; }
|
||||
{ plugin = lspkind-nvim; }
|
||||
{ plugin = lsp_lines-nvim; }
|
||||
{
|
||||
plugin = nvim-ufo;
|
||||
|
@ -130,19 +131,6 @@ with builtins;
|
|||
{ plugin = promise-async; }
|
||||
];
|
||||
}
|
||||
{
|
||||
plugin = neodev-nvim;
|
||||
conf = /* lua */ ''
|
||||
require("neodev").setup({
|
||||
override = function(root_dir, library)
|
||||
if root_dir:find("/home/moritz/.dotfiles/", 1, true) == 1 then
|
||||
library.enabled = true
|
||||
library.plugins = true
|
||||
end
|
||||
end,
|
||||
})
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
|
|
|
@ -107,13 +107,9 @@ local on_attach_def = function(client, bufnr)
|
|||
}, { buffer = bufnr, silent = true })
|
||||
|
||||
if client.server_capabilities.inlayHintProvider then
|
||||
local slow_lsp_servers = {
|
||||
"rust_analyzer",
|
||||
}
|
||||
local timeout = vim.tbl_contains(slow_lsp_servers, client.name, {}) and 500 or 0
|
||||
vim.defer_fn(function()
|
||||
vim.lsp.inlay_hint(bufnr, true)
|
||||
end, timeout)
|
||||
end, 1000)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -160,7 +156,6 @@ lspconfig_setup("lua_ls", {
|
|||
runtime = {
|
||||
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
|
||||
version = "LuaJIT",
|
||||
path = vim.split(package.path, ";"),
|
||||
},
|
||||
diagnostics = {
|
||||
-- Get the language server to recognize the `vim` global
|
||||
|
@ -178,9 +173,6 @@ lspconfig_setup("lua_ls", {
|
|||
format = {
|
||||
enable = false,
|
||||
},
|
||||
hint = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue