feat: Add custom opts to neo-tree.nvim
This commit is contained in:
parent
c574208de4
commit
90706b4932
1 changed files with 7 additions and 7 deletions
|
@ -61,13 +61,10 @@ return {
|
|||
local events = require('neo-tree.events')
|
||||
|
||||
for _, type in ipairs({ 'Error', 'Warn', 'Info', 'Hint' }) do
|
||||
vim.fn.sign_define(
|
||||
'DiagnosticSign' .. type,
|
||||
{
|
||||
text = icons.diagnostics[type] .. ' ',
|
||||
texthl = 'DiagnosticSign' .. type,
|
||||
}
|
||||
)
|
||||
vim.fn.sign_define('DiagnosticSign' .. type, {
|
||||
text = icons.diagnostics[type] .. ' ',
|
||||
texthl = 'DiagnosticSign' .. type,
|
||||
})
|
||||
end
|
||||
|
||||
local function on_move(data)
|
||||
|
@ -92,10 +89,13 @@ return {
|
|||
filtered_items = {
|
||||
visible = true,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = false,
|
||||
hide_hidden = false,
|
||||
},
|
||||
},
|
||||
|
||||
window = {
|
||||
width = 30,
|
||||
mappings = {
|
||||
['l'] = 'open',
|
||||
['h'] = 'close_node',
|
||||
|
|
Loading…
Reference in a new issue