Create new neovim config with lua
This commit is contained in:
25
config/nvim/lua/file-tree.lua
Normal file
25
config/nvim/lua/file-tree.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
require("nvim-tree").setup({
|
||||
open_on_setup = true,
|
||||
hijack_cursor = true,
|
||||
update_cwd = true,
|
||||
update_focused_file = {
|
||||
enable = true
|
||||
},
|
||||
view = {
|
||||
width = 30,
|
||||
side = "left",
|
||||
auto_resize = true
|
||||
},
|
||||
filters = {
|
||||
custom = { ".git" }
|
||||
}
|
||||
})
|
||||
|
||||
vim.g.nvim_tree_add_trailing = 1
|
||||
vim.g.nvim_tree_indent_markers = 1
|
||||
vim.g.nvim_tree_show_icons = {
|
||||
git = 0,
|
||||
folders = 0,
|
||||
files = 0,
|
||||
folder_arrows = 0
|
||||
}
|
||||
Reference in New Issue
Block a user