diff options
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/neo-tree.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nvim/.config/nvim/lua/plugins/neo-tree.lua b/nvim/.config/nvim/lua/plugins/neo-tree.lua index a43eb94..6d1a672 100644 --- a/nvim/.config/nvim/lua/plugins/neo-tree.lua +++ b/nvim/.config/nvim/lua/plugins/neo-tree.lua @@ -11,9 +11,9 @@ return { winbar = true, content_layout = "center", sources = { - { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, - { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, - { source = "git_status", display_name = get_icon "Git" .. " Git" }, + { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, + { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, + { source = "git_status", display_name = get_icon "Git" .. " Git" }, { source = "diagnostics", display_name = get_icon "Diagnostic" .. " Diagnostic" }, }, }, @@ -55,7 +55,7 @@ return { if node.type == "directory" or node:has_children() then if not node:is_expanded() then -- if unexpanded, expand state.commands.toggle_node(state) - else -- if expanded and has children, seleect the next child + else -- if expanded and has children, seleect the next child require("neo-tree.ui.renderer").focus_node(state, node:get_child_ids()[1]) end else -- if not a directory just open it @@ -83,9 +83,9 @@ return { for i, result in pairs(results) do if result.val and result.val ~= "" then vim.list_extend(messages, { - { ("%s."):format(i), "Identifier" }, + { ("%s."):format(i), "Identifier" }, { (" %s: "):format(result.msg) }, - { result.val, "String" }, + { result.val, "String" }, { "\n" }, }) end |
