Skip to content

Commit

Permalink
refactor: update url string color
Browse files Browse the repository at this point in the history
  • Loading branch information
wadackel committed Feb 20, 2024
1 parent 1f6ad84 commit dc4c43d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion colors/dogrun.vim
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ if has("nvim-0.8.0")
hi @string guifg=#7cbe8c ctermfg=108
hi @string.regex guifg=#7cbe8c ctermfg=108
hi @string.escape guifg=#b871b8 ctermfg=133
hi @string.special.url guifg=#8085a6 ctermfg=103
hi @string.special.url guifg=#545c8c ctermfg=60
hi @text.title guifg=#a8a384 ctermfg=144 gui=bold cterm=bold
hi @text.reference guifg=#929be5 ctermfg=104
hi @text.uri guifg=#545c8c ctermfg=60
Expand Down
8 changes: 4 additions & 4 deletions generator/src/highlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@ pub fn get_palette() -> Palette {
def!(xlinegradientbg, extends!(statuslinencbg));
def!(xlinegradientfg, extends!(statuslinencfg));

return p;
p
}

pub fn get_highlights() -> Vec<Highlight> {
return vec![
vec![
// general
hi!("Normal", mainfg, mainbg, -, -, -),
hi!("Delimiter", lightfg, -, -, -, -),
Expand Down Expand Up @@ -402,7 +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!("@string.special.url", weakfg, -, -, -, Nvim080OrLater),
hi!("@text.title", yellow, -, -, Bold, Nvim080OrLater),
hi!("@text.reference", purple, -, -, -, Nvim080OrLater),
hi!("@text.uri", weakfg, -, -, -, Nvim080OrLater),
Expand Down Expand Up @@ -680,5 +680,5 @@ pub fn get_highlights() -> Vec<Highlight> {
// https://github.com/j-hui/fidget.nvim
hi!("FidgetTitle", teal, -, -, Bold, -),
hi!("FidgetTask", weakfg, -, -, -, -),
];
]
}

0 comments on commit dc4c43d

Please sign in to comment.