mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
lsp ghost text optional config
This commit is contained in:
parent
9faad80261
commit
f60855a938
8 changed files with 149 additions and 36 deletions
|
@ -32,9 +32,14 @@ return {
|
|||
-- event = "BufWinEnter",
|
||||
cmd = { "NvimTree", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" },
|
||||
-- dependencies = "kyazdani42/nvim-web-devicons",
|
||||
-- config = function()
|
||||
-- require("user.nvim-tree")
|
||||
-- end,
|
||||
config = function()
|
||||
local data_exists, treeconfig = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
if treeconfig.loadnvimtree_lazy then
|
||||
require("user.nvim-tree")
|
||||
end
|
||||
end
|
||||
end,
|
||||
},
|
||||
-- for file tab
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue