mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 16:52:12 +02:00
moved the width definition
This commit is contained in:
@@ -96,9 +96,6 @@ return {
|
|||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
auto_reload_on_write = true,
|
auto_reload_on_write = true,
|
||||||
sort_by = "case_sensitive",
|
sort_by = "case_sensitive",
|
||||||
view = {
|
|
||||||
width = get_width,
|
|
||||||
},
|
|
||||||
filters = {
|
filters = {
|
||||||
dotfiles = false,
|
dotfiles = false,
|
||||||
},
|
},
|
||||||
@@ -106,6 +103,8 @@ return {
|
|||||||
threshold = vim.log.levels.INFO,
|
threshold = vim.log.levels.INFO,
|
||||||
absolute_path = false,
|
absolute_path = false,
|
||||||
},
|
},
|
||||||
|
-- dynamically get the width of the tree
|
||||||
|
width = get_width,
|
||||||
})
|
})
|
||||||
|
|
||||||
local whichKey = require("which-key")
|
local whichKey = require("which-key")
|
||||||
|
|||||||
Reference in New Issue
Block a user