lsp-timeout: disable
This commit is contained in:
parent
8e5f73550f
commit
2a5620f242
1 changed files with 6 additions and 6 deletions
12
init.lua
12
init.lua
|
|
@ -288,7 +288,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
vim.g.lsp_loaded = true
|
||||
vim.cmd("packadd nvim-lspconfig")
|
||||
vim.cmd("packadd lsp_lines.nvim")
|
||||
vim.cmd("packadd lsp-timeout.nvim")
|
||||
-- vim.cmd("packadd lsp-timeout.nvim")
|
||||
|
||||
local lsp = require("lspconfig")
|
||||
-- Use an on_attach function to only map the following keys
|
||||
|
|
@ -379,11 +379,11 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
})
|
||||
|
||||
---- lsp-timeout
|
||||
vim.g["lsp-timeout-config"] = {
|
||||
stopTimeout = 1000 * 60 * 5, -- ms, timeout before stopping all LSP servers
|
||||
startTimeout = 1000 * 2, -- ms, timeout before restart
|
||||
silent = false -- true to suppress notifications
|
||||
}
|
||||
-- vim.g["lsp-timeout-config"] = {
|
||||
-- stopTimeout = 1000 * 60 * 5, -- ms, timeout before stopping all LSP servers
|
||||
-- startTimeout = 1000 * 2, -- ms, timeout before restart
|
||||
-- silent = false -- true to suppress notifications
|
||||
-- }
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue