1
0
Fork 0

lsp-timeout: disable

This commit is contained in:
Felipe 2023-11-06 22:44:28 -03:00
parent 8e5f73550f
commit 2a5620f242
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -288,7 +288,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
vim.g.lsp_loaded = true vim.g.lsp_loaded = true
vim.cmd("packadd nvim-lspconfig") vim.cmd("packadd nvim-lspconfig")
vim.cmd("packadd lsp_lines.nvim") vim.cmd("packadd lsp_lines.nvim")
vim.cmd("packadd lsp-timeout.nvim") -- vim.cmd("packadd lsp-timeout.nvim")
local lsp = require("lspconfig") local lsp = require("lspconfig")
-- Use an on_attach function to only map the following keys -- Use an on_attach function to only map the following keys
@ -379,11 +379,11 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
}) })
---- lsp-timeout ---- lsp-timeout
vim.g["lsp-timeout-config"] = { -- vim.g["lsp-timeout-config"] = {
stopTimeout = 1000 * 60 * 5, -- ms, timeout before stopping all LSP servers -- stopTimeout = 1000 * 60 * 5, -- ms, timeout before stopping all LSP servers
startTimeout = 1000 * 2, -- ms, timeout before restart -- startTimeout = 1000 * 2, -- ms, timeout before restart
silent = false -- true to suppress notifications -- silent = false -- true to suppress notifications
} -- }
end, end,
}) })