Skip to content

Commit 79cc672

Browse files
committed
fmt
1 parent e3903d3 commit 79cc672

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

doc/nvim-tree-lua.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,9 @@ UI rendering setup
432432
*nvim-tree.renderer.icons.git_placement*
433433
Place where the git icons will be rendered.
434434
After or before the `filename` (after the file/folders icons).
435-
When placed in the signcolumn, the value of signcolumn should be `yes`
436-
for the nvim-tree window.
437-
Note that the diagnostic signs will take precedence over the git signs.
435+
When placed in the signcolumn, the value of signcolumn should be `yes`
436+
for the nvim-tree window.
437+
Note that the diagnostic signs will take precedence over the git signs.
438438
Type: `after`, `before` or `signcolumn`, Default: `before`
439439

440440
*nvim-tree.filters*

lua/nvim-tree/renderer/components/git.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ local _icons = require "nvim-tree.renderer.icon-config"
22
local utils = require "nvim-tree.utils"
33

44
local M = {
5-
SIGN_GROUP = "NvimTreeGitSigns"
5+
SIGN_GROUP = "NvimTreeGitSigns",
66
}
77

88
local function build_icons_table()
@@ -128,13 +128,13 @@ local git_hl = {
128128

129129
function M.setup_signs()
130130
local i = M.icon_state.icons.git_icons
131-
vim.fn.sign_define("NvimTreeGitDirty", { text = i.unstaged, texthl = "NvimTreeGitDirty" })
132-
vim.fn.sign_define("NvimTreeGitStaged", { text = i.staged, texthl = "NvimTreeGitStaged" })
133-
vim.fn.sign_define("NvimTreeGitMerge", { text = i.unmerged, texthl = "NvimTreeGitMerge" })
134-
vim.fn.sign_define("NvimTreeGitRenamed", { text = i.renamed, texthl = "NvimTreeGitRenamed" })
135-
vim.fn.sign_define("NvimTreeGitNew", { text = i.untracked, texthl = "NvimTreeGitNew" })
136-
vim.fn.sign_define("NvimTreeGitDeleted", { text = i.deleted, texthl = "NvimTreeGitDeleted" })
137-
vim.fn.sign_define("NvimTreeGitIgnored", { text = i.ignored, texthl = "NvimTreeGitIgnored" })
131+
vim.fn.sign_define("NvimTreeGitDirty", { text = i.unstaged, texthl = "NvimTreeGitDirty" })
132+
vim.fn.sign_define("NvimTreeGitStaged", { text = i.staged, texthl = "NvimTreeGitStaged" })
133+
vim.fn.sign_define("NvimTreeGitMerge", { text = i.unmerged, texthl = "NvimTreeGitMerge" })
134+
vim.fn.sign_define("NvimTreeGitRenamed", { text = i.renamed, texthl = "NvimTreeGitRenamed" })
135+
vim.fn.sign_define("NvimTreeGitNew", { text = i.untracked, texthl = "NvimTreeGitNew" })
136+
vim.fn.sign_define("NvimTreeGitDeleted", { text = i.deleted, texthl = "NvimTreeGitDeleted" })
137+
vim.fn.sign_define("NvimTreeGitIgnored", { text = i.ignored, texthl = "NvimTreeGitIgnored" })
138138
end
139139

140140
local function get_highlight_(node)

0 commit comments

Comments
 (0)