feat(config): add nvim_tree config setting
This commit is contained in:
parent
e9e84bb645
commit
f6c4a9d2cb
2 changed files with 8 additions and 1 deletions
|
@ -68,4 +68,10 @@ config.lsp = {
|
|||
ts_utils = {},
|
||||
}
|
||||
|
||||
config.nvim_tree = {
|
||||
view = {
|
||||
width = 50,
|
||||
},
|
||||
}
|
||||
|
||||
return config
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
local g = vim.g
|
||||
local icons = require('cosmic.core.theme.icons')
|
||||
local config = require('cosmic.config')
|
||||
|
||||
-- settings
|
||||
g.nvim_tree_git_hl = 1
|
||||
|
@ -40,4 +41,4 @@ local args = {
|
|||
},
|
||||
}
|
||||
|
||||
require('nvim-tree').setup(args)
|
||||
require('nvim-tree').setup(vim.tbl_deep_extend('force', args, config.nvim_tree or {}))
|
||||
|
|
Loading…
Add table
Reference in a new issue