Add nvim-tree icons
This commit is contained in:
parent
d6680fd014
commit
613b72cd15
2 changed files with 6 additions and 14 deletions
|
|
@ -1,6 +1,7 @@
|
|||
-- {{ ansible_managed }}
|
||||
|
||||
local nvim_tree = require('nvim-tree');
|
||||
local nvim_tree_icons = require('nvim-web-devicons');
|
||||
|
||||
local function my_on_attach(bufnr)
|
||||
local api = require('nvim-tree.api')
|
||||
|
|
@ -26,18 +27,6 @@ end
|
|||
|
||||
nvim_tree.setup {
|
||||
on_attach = my_on_attach,
|
||||
renderer = {
|
||||
icons = {
|
||||
show = {
|
||||
file = false,
|
||||
folder = false,
|
||||
modified = false,
|
||||
hidden = false,
|
||||
diagnostics = false,
|
||||
bookmarks = false,
|
||||
git = false,
|
||||
folder_arrow = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nvim_tree_icons.setup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue