We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LspStart
1 parent 7a8e6b0 commit bb3fcddCopy full SHA for bb3fcdd
2 files changed
lua/modules/configs/completion/lsp.lua
@@ -18,4 +18,6 @@ return function()
18
end
19
20
pcall(require, "user.configs.lsp")
21
+
22
+ pcall(vim.cmd.LspStart) -- Start LSPs
23
lua/modules/configs/editor/persisted.lua
@@ -1,16 +1,4 @@
1
return function()
2
- vim.api.nvim_create_autocmd("User", {
3
- pattern = "PersistedLoadPost",
4
- desc = "Fix LSP/Highlighting on auto session restore",
5
- callback = function()
6
- local bufname = vim.api.nvim_buf_get_name(0)
7
- if bufname and bufname ~= "" then
8
- vim.defer_fn(function()
9
- vim.cmd("edit")
10
- end, 1)
11
- end
12
- end,
13
- })
14
require("modules.utils").load_plugin("persisted", {
15
save_dir = vim.fn.expand(vim.fn.stdpath("data") .. "/sessions/"),
16
autostart = true,
0 commit comments