mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-03-22 17:44:38 +01:00
fuck sessions
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user