Skip to content

Commit

Permalink
feat: update nvim-tree syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
wadackel committed Feb 5, 2024
1 parent 203970f commit a7c1158
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions generator/src/highlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ pub fn get_highlights() -> Vec<Highlight> {
hi!("@string", green, -, -, -, Nvim080OrLater),
hi!("@string.regex", green, -, -, -, Nvim080OrLater),
hi!("@string.escape", pink, -, -, -, Nvim080OrLater),
hi!("@string.special.url", lightfg, -, -, -, Nvim080OrLater),
hi!("@text.title", yellow, -, -, Bold, Nvim080OrLater),
hi!("@text.reference", purple, -, -, -, Nvim080OrLater),
hi!("@text.uri", weakfg, -, -, -, Nvim080OrLater),
Expand All @@ -420,6 +421,13 @@ pub fn get_highlights() -> Vec<Highlight> {
hi!("@tag", mainfg, -, -, -, Nvim080OrLater),
hi!("@tag.delimiter", purple, -, -, -, Nvim080OrLater),
hi!("@tag.attribute", purple, -, -, -, Nvim080OrLater),
hi!("@markup.heading", yellow, -, -, Bold, Nvim080OrLater),
hi!("@markup.strong", -, -, -, Bold, Nvim080OrLater),
hi!("@markup.list", weakfg, -, -, -, Nvim080OrLater),
hi!("@markup.raw", teal, -, -, -, Nvim080OrLater),
hi!("@markup.link", purple, -, -, -, Nvim080OrLater),
hi!("@markup.link.url", lightfg, -, -, -, Nvim080OrLater),
hi!("@markup.quote", weakfg, -, -, -, Nvim080OrLater),
// LSP Semantic highlights
hi!("@lsp.type.class", mainfg, -, -, -, Nvim080OrLater),
hi!("@lsp.type.interface", orange, -, -, -, Nvim080OrLater),
Expand Down Expand Up @@ -553,22 +561,22 @@ pub fn get_highlights() -> Vec<Highlight> {
hi!("NvimTreeEmptyFolderName", weakfg, -, -, None, -),
hi!("NvimTreeOpenedFolderName", purple, -, -, None, -),
hi!("NvimTreeExecFile", lightfg, -, -, None, -),
hi!("NvimTreeOpenedFile", lightfg, -, -, None, -),
hi!("NvimTreeOpenedHL", lightfg, -, -, None, -),
hi!("NvimTreeSpecialFile", lightfg, -, -, Bold, -),
hi!("NvimTreeImageFile", lightfg, -, -, None, -),
hi!("NvimTreeIndentMarker", darkestpurple, -, -, None, -),
hi!("NvimTreeModifiedFile", mainfg, -, -, None, -),
hi!("NvimTreeGitDirty", yellow, -, -, None, -),
hi!("NvimTreeGitStaged", green, -, -, None, -),
hi!("NvimTreeGitMerge", yellow, -, -, None, -),
hi!("NvimTreeGitRenamed", yellow, -, -, None, -),
hi!("NvimTreeGitNew", teal, -, -, None, -),
hi!("NvimTreeGitDeleted", difftextbg, -, -, None, -),
hi!("NvimTreeModifiedIcon", mainfg, -, -, None, -),
hi!("NvimTreeGitDirtyIcon", yellow, -, -, None, -),
hi!("NvimTreeGitStagedIcon", green, -, -, None, -),
hi!("NvimTreeGitMergeIcon", yellow, -, -, None, -),
hi!("NvimTreeGitRenamedIcon", yellow, -, -, None, -),
hi!("NvimTreeGitNewIcon", teal, -, -, None, -),
hi!("NvimTreeGitDeletedIcon", difftextbg, -, -, None, -),
hi!("NvimTreeWindowPicker", tablineselfg, tablineselbg, -, Bold, -),
hi!("NvimTreeNormal", lightfg, -, -, None, -),
hi!("NvimTreeLiveFilterPrefix", darkteal, -, -, None, -),
hi!("NvimTreeLiveFilterValue", teal, -, -, None, -),
hi!("NvimTreeBookmark", yellow, -, -, None, -),
hi!("NvimTreeBookmarkIcon", yellow, -, -, None, -),
// fern.vim
// https://github.com/lambdalisue/fern.vim
hi!("FernBranchSymbol", darkpurple, -, -, None, -),
Expand Down

0 comments on commit a7c1158

Please sign in to comment.