From 9379dac8c15d1080844c211b948b39da8051ea8a Mon Sep 17 00:00:00 2001 From: wadackel Date: Sat, 18 May 2024 15:22:23 +0900 Subject: [PATCH] feat: update styles for nvim v0.10 --- colors/dogrun.vim | 5 +++++ generator/src/highlight.rs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/colors/dogrun.vim b/colors/dogrun.vim index 0bbed72..e5a2937 100644 --- a/colors/dogrun.vim +++ b/colors/dogrun.vim @@ -35,6 +35,7 @@ hi CursorLineNr guifg=#535f98 ctermfg=61 guibg=NONE ctermbg=NONE gui=NONE cterm= hi Conceal guifg=#ac8b83 ctermfg=138 guibg=#222433 ctermbg=235 gui=NONE cterm=NONE hi NormalFloat guifg=#8085a6 ctermfg=103 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi FloatBorder guifg=#545c8c ctermfg=60 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi WinSeparator guifg=#363859 ctermfg=60 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi Folded guifg=#666c99 ctermfg=60 guibg=#32364c ctermbg=237 gui=NONE cterm=NONE hi FoldColumn guifg=#32364c ctermfg=237 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi MatchParen guibg=#2f3147 ctermbg=236 @@ -332,8 +333,11 @@ if has("nvim-0.8.0") hi @parameter guifg=#929be5 ctermfg=104 hi @property guifg=#929be5 ctermfg=104 hi @keyword guifg=#b871b8 ctermfg=133 + hi @operator guifg=#929be5 ctermfg=104 + hi @module guifg=#9ea3c0 ctermfg=146 hi @type guifg=#ac8b83 ctermfg=138 hi @type.builtin guifg=#ac8b83 ctermfg=138 + hi @function.tsx guifg=#9ea3c0 ctermfg=146 hi @include guifg=#929be5 ctermfg=104 hi @variable guifg=#9ea3c0 ctermfg=146 hi @variable.builtin guifg=#ac8b83 ctermfg=138 @@ -342,6 +346,7 @@ if has("nvim-0.8.0") hi @tag guifg=#9ea3c0 ctermfg=146 hi @tag.delimiter guifg=#929be5 ctermfg=104 hi @tag.attribute guifg=#929be5 ctermfg=104 + hi @tag.builtin.tsx guifg=#9ea3c0 ctermfg=146 hi @markup.heading guifg=#a8a384 ctermfg=144 gui=bold cterm=bold hi @markup.strong gui=bold cterm=bold hi @markup.list guifg=#545c8c ctermfg=60 diff --git a/generator/src/highlight.rs b/generator/src/highlight.rs index 4b385bc..d1367e8 100644 --- a/generator/src/highlight.rs +++ b/generator/src/highlight.rs @@ -341,6 +341,7 @@ pub fn get_highlights() -> Vec { hi!("Conceal", orange, mainbg, -, None, -), hi!("NormalFloat", lightfg, NONE, -, None, -), hi!("FloatBorder", weakfg, NONE, -, None, -), + hi!("WinSeparator", darkfg, NONE, -, None, -), hi!("Folded", foldfg, foldbg, -, None, -), hi!("FoldColumn", linenrfg, NONE, -, None, -), hi!("MatchParen", -, matchparenbg, -, -, -), @@ -411,8 +412,11 @@ pub fn get_highlights() -> Vec { hi!("@parameter", purple, -, -, -, Nvim080OrLater), hi!("@property", purple, -, -, -, Nvim080OrLater), hi!("@keyword", pink, -, -, -, Nvim080OrLater), + hi!("@operator", purple, -, -, -, Nvim080OrLater), + hi!("@module", mainfg, -, -, -, Nvim080OrLater), hi!("@type", orange, -, -, -, Nvim080OrLater), hi!("@type.builtin", orange, -, -, -, Nvim080OrLater), + hi!("@function.tsx", mainfg, -, -, -, Nvim080OrLater), hi!("@include", purple, -, -, -, Nvim080OrLater), hi!("@variable", mainfg, -, -, -, Nvim080OrLater), hi!("@variable.builtin", orange, -, -, -, Nvim080OrLater), @@ -421,6 +425,7 @@ pub fn get_highlights() -> Vec { hi!("@tag", mainfg, -, -, -, Nvim080OrLater), hi!("@tag.delimiter", purple, -, -, -, Nvim080OrLater), hi!("@tag.attribute", purple, -, -, -, Nvim080OrLater), + hi!("@tag.builtin.tsx", mainfg, -, -, -, Nvim080OrLater), hi!("@markup.heading", yellow, -, -, Bold, Nvim080OrLater), hi!("@markup.strong", -, -, -, Bold, Nvim080OrLater), hi!("@markup.list", weakfg, -, -, -, Nvim080OrLater),