summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-01-10 15:48:30 +0100
committerkylo252 <[email protected]>2022-01-10 15:48:30 +0100
commitd0840511d81abc08502d3f18da89d03025dcf373 (patch)
tree3f6628273931b30b58ec4fb05f21384942912515
parent8259cf60bb0b21d26b0ca49667b09e967182cde6 (diff)
parente9caf5a69a0c31adcfeeeee928ffe76ad6ba4ceb (diff)
Merge branch 'rolling'1.0.0
-rw-r--r--lua/lvim/lsp/templates.lua4
-rw-r--r--lua/lvim/utils/hooks.lua3
2 files changed, 0 insertions, 7 deletions
diff --git a/lua/lvim/lsp/templates.lua b/lua/lvim/lsp/templates.lua
index 6608047d..eb05615e 100644
--- a/lua/lvim/lsp/templates.lua
+++ b/lua/lvim/lsp/templates.lua
@@ -42,10 +42,6 @@ end
---The files are generated to a runtimepath: "$LUNARVIM_RUNTIME_DIR/site/after/ftplugin/template.lua"
---@param servers_names table list of servers to be enabled. Will add all by default
function M.generate_templates(servers_names)
- for _, client in pairs(vim.lsp.get_active_clients()) do
- client:stop()
- end
-
servers_names = servers_names or {}
Log:debug "Templates installation in progress"
diff --git a/lua/lvim/utils/hooks.lua b/lua/lvim/utils/hooks.lua
index 10c3eb20..d28123ab 100644
--- a/lua/lvim/utils/hooks.lua
+++ b/lua/lvim/utils/hooks.lua
@@ -21,9 +21,6 @@ function M.run_post_reload()
Log:debug "Starting post-reload hook"
require("lvim.plugin-loader").ensure_installed()
M.reset_cache()
- if package.loaded["lspconfig"] then
- pcall(vim.cmd, "LspRestart")
- end
end
---Reset any startup cache files used by Packer and Impatient