Skip to content

feat: add NvimTreeSymlinkIcon #2198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 15, 2023
Merged

feat: add NvimTreeSymlinkIcon #2198

merged 3 commits into from
May 15, 2023

Conversation

DoctorKnowsBetter
Copy link
Contributor

@DoctorKnowsBetter DoctorKnowsBetter commented May 8, 2023

fixes #2193

Please consider changes.

Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please:

  • remove defaults
  • update doc/nvim-tree-lua.txt

@@ -33,6 +33,7 @@ local function get_hl_groups()
return {
IndentMarker = { fg = "#8094b4" },
Symlink = { gui = "bold", fg = colors.cyan },
SymlinkIcon = { fg = colors.cyan },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we can't apply this default as it will break existing users.

SymlinkIcon should only be applied when the user defines it.

@alex-courtis alex-courtis changed the title #2193 Add the ability to change the icon color for "symlink_formatted" feat: add NvimTreeSymlinkIcon May 13, 2023
Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for your contribution.

Someone might want a folder version, but that's for another day.

@alex-courtis alex-courtis merged commit 736c7ff into nvim-tree:master May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No ability to change the icon color for "symlink_formatted"
2 participants