1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
258f67d7de
update submocules 2023-10-16 15:44:06 -03:00
3121819120
lsp-timeout: initial config 2023-10-16 15:42:42 -03:00
22 changed files with 31 additions and 19 deletions

3
.gitmodules vendored
View file

@ -128,3 +128,6 @@
[submodule "pack/general/opt/lsp_lines.nvim"]
path = pack/general/opt/lsp_lines.nvim
url = https://git.sr.ht/~whynothugo/lsp_lines.nvim
[submodule "pack/general/opt/lsp-timeout.nvim"]
path = pack/general/opt/lsp-timeout.nvim
url = https://github.com/hinell/lsp-timeout.nvim

View file

@ -288,6 +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")
local lsp = require("lspconfig")
-- Use an on_attach function to only map the following keys
@ -367,6 +368,13 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
vim.diagnostic.config({
virtual_text = false,
})
---- 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
}
end,
})

@ -1 +1 @@
Subproject commit 04a06cee3fb9c584de4f5481eb4080bd6c759336
Subproject commit 58bf989736765cae41fa5d0971027efeca033301

@ -0,0 +1 @@
Subproject commit 1bd9fd410139c00569e652ce8ab7d6ea6388fcc0

@ -1 +1 @@
Subproject commit f53af96d4789eef39a082dbcce078d2bfc384ece
Subproject commit 9e3f99fbbd28aaec80dc0158c43be8cca8dd5017

@ -1 +1 @@
Subproject commit 139cff7c85598ec591b5ed7d71ce8ed3b5313b97
Subproject commit 03e036a310379f132d4e39387e9076396132ce3f

@ -1 +1 @@
Subproject commit b3d4408e29d924fe130c9397a7c3b3630b3ea671
Subproject commit 92dc531eea2c9a3ef504a5c8ac0decd1fa59a6a3

@ -1 +1 @@
Subproject commit 1b508e9db330108d3b5d62a6d9cc01fe6bbdd4e0
Subproject commit a5cc8dcad43f0732585d4793deb02a25c4afb766

@ -1 +1 @@
Subproject commit ede4114e1fd41acb121c70a27e1b026ac68c42d6
Subproject commit e49b1e90c1781ce372013de3fa93a91ea29fc34a

@ -1 +1 @@
Subproject commit 1fd22fa96c11573248f9fdd09f25e724c7bb3dd4
Subproject commit 0df29db3543837f8b41597f2640397c5ec792b7b

@ -1 +1 @@
Subproject commit 18095520391186d634a0045dacaa346291096566
Subproject commit 05a9ab28b53f71d1aece421ef32fee2cb857a843

@ -1 +1 @@
Subproject commit a36b277e527f9d34efe16c3636555ce0e0c0464c
Subproject commit e4dafc79cc7dcf4eec0547dbc6f3f3821b2f2b14

@ -1 +1 @@
Subproject commit bdeba1cec3faddd89146690c10b9a87949c0ee66
Subproject commit ff01d34daaed72f271a8ffa088a7e839a60c640f

@ -1 +1 @@
Subproject commit 08a551cc8140e6ca41b5de6cabf75d02a246c330
Subproject commit 477c62493c82684ed510c4f70eaf83802e398898

@ -1 +1 @@
Subproject commit 67f74e630a84ecfa73a82783c487bdedd8cecdc3
Subproject commit 6d596b87862909370f4d1e6535cc9fad80c89fe6

@ -1 +1 @@
Subproject commit 3e96035d62290183fe7a11418db2b254fcfcaee3
Subproject commit 5689dc08ee1ade3feb7f74bdd6e539fba70f3064

@ -1 +1 @@
Subproject commit be7273858d75673a0ae594552742eb8769f35d6a
Subproject commit 28ea1139b3b566187813684a4d37e3da0ce2b888

@ -1 +1 @@
Subproject commit 0960322686bfa38afd4f1e0b9660473cf77e24b6
Subproject commit 49e71322db582147ce8f4df1853d9dab08da0826

@ -1 +1 @@
Subproject commit 45d0237c427baba8cd05e0ab26d30e2ee58c2c82
Subproject commit 3af745113ea537f58c4b1573b64a429fefad9e07

@ -1 +1 @@
Subproject commit 9ce85b0f7dcfe5358c0be937ad23e456907d410b
Subproject commit 50012918b2fc8357b87cff2a7f7f0446e47da174

@ -1 +1 @@
Subproject commit 849c4ee1951f34041a26744d2a88284545564ff0
Subproject commit 2ef7da3a363890686dbaad18ddbf59177cfe4f78

@ -1 +1 @@
Subproject commit ed9574dd6dde143d009b2528ea6d79bd34bbe6c8
Subproject commit 74ce793a60759e3db0d265174f137fb627430355