feat(renderer): allow placing git icons after filename (#1203)

This feature allows placing git icons after the filename.
This commit is contained in:
Kiyan
2022-05-07 14:05:51 +02:00
committed by GitHub
parent ec888d08ce
commit a1600e57f2
6 changed files with 74 additions and 48 deletions

View File

@@ -123,7 +123,8 @@ Values may be functions. Warning: this may result in unexpected behaviour.
},
icons = {
webdev_colors = true,
},
git_placement = "before",
}
},
hijack_directories = {
enable = true,
@@ -444,6 +445,11 @@ Here is a list of the options available in the setup call:
type: `boolean`
default: `true`
- |renderer.icons.git_placement|: place where the git icons will be rendered.
After or before the `filename` (after the file/folders icons).
type: `after` or `before`
default: `before`
*nvim-tree.filters*
|filters|: filtering options