Archived
0
0
Fork 0

lazyload nvimtree to speed up wsl startup

This commit is contained in:
Daryl Ronningen 2022-07-23 23:07:55 -05:00
parent 6302098963
commit 43a119d3ad
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
3 changed files with 9 additions and 4 deletions

View file

@ -8,11 +8,9 @@ require("user.navic")
require("user.cmp") require("user.cmp")
require("user.lsp") require("user.lsp")
require("user.telescope") require("user.telescope")
require("user.treesitter")
require("user.autopairs") require("user.autopairs")
require("user.comment") require("user.comment")
require("user.gitsigns") require("user.gitsigns")
require("user.nvimtree")
require("user.bufferline") require("user.bufferline")
require("user.whitespace") require("user.whitespace")
require("user.lualine") require("user.lualine")

View file

@ -3,7 +3,7 @@ if not status_ok then
return return
end end
lines.register_lsp_virtual_lines() lines.setup()
vim.diagnostic.config({ vim.diagnostic.config({
virtual_text = false, virtual_text = false,

View file

@ -115,7 +115,14 @@ return packer.startup(function(use)
use("lewis6991/gitsigns.nvim") use("lewis6991/gitsigns.nvim")
-- Nvim-Tree -- Nvim-Tree
use("kyazdani42/nvim-tree.lua") use({
"kyazdani42/nvim-tree.lua",
opt = true,
cmd = { "NvimTreeToggle", "NvimTreeClose" },
config = function()
require("user.nvimtree")
end,
})
-- Bufferline -- Bufferline
use("akinsho/bufferline.nvim") use("akinsho/bufferline.nvim")