Revisión | 8e9b50fa7f92d4af2e40ed20e3101e9f34f65da7 (tree) |
---|---|
Tiempo | 2023-02-14 15:45:48 |
Autor | badcoff33 <none@none> |
Commiter | badcoff33 |
minor updates
@@ -25,17 +25,17 @@ let s:silver1 = "#A0A0A8" | ||
25 | 25 | let s:silver2 = "#B8B8BE" |
26 | 26 | let s:silver3 = "#D0D0D8" |
27 | 27 | let s:silver4 = "#E0E0E8" |
28 | +let s:green_bg = "#136035" | |
28 | 29 | let s:green1 = "#02A358" |
29 | 30 | let s:green2 = "#07C168" |
30 | 31 | let s:green3 = "#07E070" |
31 | -let s:green4 = "#07F88F" | |
32 | 32 | let s:blue_bg = "#134570" |
33 | 33 | let s:blue1 = "#3068B8" |
34 | 34 | let s:blue2 = "#4090D8" |
35 | 35 | let s:blue3 = "#70B0F8" |
36 | 36 | let s:red1 = "#B82042" |
37 | 37 | let s:red2 = "#E84070" |
38 | -let s:gold = "#E0EF50" | |
38 | +let s:sun = "#E0EF50" | |
39 | 39 | |
40 | 40 | let Fg = { str -> empty(str) ? "" : "guifg=" .. str } |
41 | 41 | let Bg = { str -> empty(str) ? "" : "guibg=" .. str } |
@@ -63,12 +63,13 @@ execute "hi PmenuSel" Fg(s:white) Bg(s:green1) Attr("NONE") | ||
63 | 63 | execute "hi PmenuThumb" Fg(s:blue2) Bg(s:bg4) |
64 | 64 | execute "hi Question" Fg(s:green2) Bg("bg") |
65 | 65 | execute "hi QuickFixLine" Fg(s:blue3) Bg(s:blue_bg) Attr("NONE") |
66 | -execute "hi Search" Fg(s:gold) Bg(s:blue_bg) Attr("bold") | |
66 | +execute "hi Search" Fg(s:sun) Bg(s:blue_bg) Attr("bold") | |
67 | 67 | execute "hi StatusLine" Fg(s:black) Bg(s:blue3) Attr("NONE") Cterm("NONE") |
68 | 68 | execute "hi StatusLineNC" Fg(s:silver4) Bg(s:bg3) Attr("NONE") Cterm("NONE") |
69 | 69 | execute "hi Terminal" Fg(s:green3) Bg(s:black) |
70 | 70 | execute "hi Title" Fg(s:green3) |
71 | -execute "hi User1" Fg(s:blue3) Bg(s:blue_bg) | |
71 | +execute "hi User1" Fg(s:sun) Bg(s:blue_bg) | |
72 | +execute "hi User2" Fg(s:black) Bg(s:sun) | |
72 | 73 | execute "hi VertSplit" Fg(s:bg2) Bg(s:bg2) Attr("NONE") |
73 | 74 | execute "hi Visual" Fg(s:white) Bg(s:silver1) |
74 | 75 | execute "hi WarningMsg" Fg(s:white) Bg(s:blue1) |
@@ -84,7 +85,6 @@ highlight! link StatusLineTermNC StatusLineNC | ||
84 | 85 | highlight! link TabLineSel StatusLine |
85 | 86 | highlight! link TabLine StatusLineNC |
86 | 87 | highlight! link TabLineFill StatusLineNC |
87 | -highlight! link User2 StatusLine | |
88 | 88 | highlight! link User3 StatusLine |
89 | 89 | highlight! link User4 StatusLine |
90 | 90 | highlight! link WildMenu IncSearch |
@@ -119,7 +119,7 @@ execute "hi cParen" Fg(s:silver3) | ||
119 | 119 | execute "hi cBlock" Fg(s:silver3) |
120 | 120 | |
121 | 121 | " filetype HTML |
122 | -execute "hi htmlH1" Fg(s:green4) Attr("bold") | |
122 | +execute "hi htmlH1" Fg(s:green3) Attr("bold") | |
123 | 123 | execute "hi htmlH2" Fg(s:green3) Attr("bold") |
124 | 124 | execute "hi htmlH3" Fg(s:green2) Attr("bold") |
125 | 125 |
@@ -83,6 +83,7 @@ execute "hi Question" s:Fg(s:green) s:Bg("bg") | ||
83 | 83 | execute "hi QuickFixLine" s:Fg(s:yellow) s:Bg("bg") s:Attr("bold") |
84 | 84 | execute "hi Search" s:Fg(s:green) s:Bg(s:green_bg) s:Attr("none") |
85 | 85 | execute 'hi StatusLine' s:Fg(s:fg4) s:Bg(s:blue_bghl) s:Attr('NONE') |
86 | +execute 'hi User1' s:Fg(s:bg1) s:Bg(s:yellow) s:Attr('NONE') | |
86 | 87 | execute 'hi StatusLineNC' s:Fg(s:fg4) s:Bg(s:bg2) s:Attr('NONE') |
87 | 88 | execute "hi Terminal" s:Fg(s:blue) s:Bg(s:bg2) |
88 | 89 | execute "hi Title" s:Fg(s:bluegreen) |
@@ -101,7 +102,6 @@ highlight! link StatusLineTermNC StatusLineNC | ||
101 | 102 | highlight! link TabLine Normal |
102 | 103 | highlight! link TabLineFill Normal |
103 | 104 | highlight! link TabLineSel StatusLine |
104 | -highlight! link User1 StatusLine | |
105 | 105 | highlight! link User2 StatusLine |
106 | 106 | highlight! link User3 StatusLine |
107 | 107 | highlight! link User4 StatusLine |
@@ -52,6 +52,7 @@ execute "hi StatusLineNC" s:Fg(s:silver2) s:Bg(s:silver7) s:Attr("NONE") | ||
52 | 52 | execute "hi StatusLineTerm" s:Fg(s:white) s:Bg(s:black) s:Attr("bold") |
53 | 53 | execute "hi Terminal" s:Fg(s:black) s:Bg(s:silver8) |
54 | 54 | execute "hi User1" s:Fg(s:white) s:Bg(s:blue) |
55 | +execute "hi User2" s:Fg(s:white) s:Bg(s:red) | |
55 | 56 | execute "hi VertSplit" s:Fg(s:silver9) s:Bg(s:silver9) s:Attr("NONE") |
56 | 57 | execute "hi Visual" s:Fg(s:white) s:Bg(s:blue) |
57 | 58 |
@@ -25,11 +25,11 @@ enddef | ||
25 | 25 | |
26 | 26 | def g:GetSearchMode(): string |
27 | 27 | if &ignorecase == true && &smartcase == true |
28 | - return ',sc' | |
28 | + return 'sc' | |
29 | 29 | elseif &ignorecase == false |
30 | - return ',cs' | |
30 | + return 'cs' | |
31 | 31 | else |
32 | - return ',ic' | |
32 | + return 'ic' | |
33 | 33 | endif |
34 | 34 | enddef |
35 | 35 |
@@ -41,11 +41,13 @@ def g:BuildStatusline(): string | ||
41 | 41 | endif |
42 | 42 | |
43 | 43 | sl = sl .. " %{get(b:\, \"unique_name_prefix\"\, \"\")}%t" |
44 | - sl = sl .. " %M%Y%w%{GetSearchMode()}" | |
44 | + sl = sl .. " %{GetSearchMode()}%M%Y%w " | |
45 | 45 | sl = sl .. "%=" |
46 | 46 | sl = sl .. "%{scope#GetScope()}\ %l:%c " |
47 | + | |
47 | 48 | return sl |
48 | 49 | enddef |
50 | + | |
49 | 51 | set statusline=%!BuildStatusline() |
50 | 52 | |
51 | 53 | defcompile |