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();
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ public_dotfiles_repo: 'git@git.fudiggity.nl:sonny/dotfiles.git'
|
|||
|
||||
neovim_plugins:
|
||||
- { url: 'https://github.com/nvim-tree/nvim-tree.lua', name: 'nvim-tree' }
|
||||
- {
|
||||
url: 'https://github.com/nvim-tree/nvim-web-devicons', name: 'nvim-tree-icons'
|
||||
}
|
||||
- { url: 'https://github.com/neovim/nvim-lspconfig', name: 'nvim-lspconfig' }
|
||||
- { url: 'https://github.com/hrsh7th/nvim-cmp/', name: 'nvim-cmp' }
|
||||
- { url: 'https://github.com/hrsh7th/cmp-nvim-lsp/', name: 'cmp-nvim-lsp' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue