fuck sessions

This commit is contained in:
Zacharias-Brohn
2025-02-09 01:49:57 +01:00
parent a0ecbb3dc8
commit 8107eac37c
11 changed files with 102 additions and 275 deletions
+7 -8
View File
@@ -19,7 +19,6 @@ M.on_attach = function(_, bufnr)
end, opts "List workspace folders")
map("n", "<leader>D", vim.lsp.buf.type_definition, opts "Go to type definition")
map("n", "<leader>ra", require "nvchad.lsp.renamer", opts "NvRenamer")
map({ "n", "v" }, "<leader>ca", vim.lsp.buf.code_action, opts "Code action")
map("n", "gr", vim.lsp.buf.references, opts "Show references")
@@ -67,13 +66,13 @@ M.defaults = function()
globals = { "vim" },
},
workspace = {
library = {
vim.fn.expand "$VIMRUNTIME/lua",
vim.fn.expand "$VIMRUNTIME/lua/vim/lsp",
vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types",
vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy",
"${3rd}/luv/library",
},
-- library = {
-- vim.fn.expand "$VIMRUNTIME/lua",
-- vim.fn.expand "$VIMRUNTIME/lua/vim/lsp",
-- vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types",
-- vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy",
-- "${3rd}/luv/library",
-- },
maxPreload = 100000,
preloadFileSize = 10000,
},