• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónc5b02dae8708c5f05a31d1aca47a4bba41ab2672 (tree)
Tiempo2023-02-08 21:56:44
Autorbadcoff33 <none@none>
Commiterbadcoff33

Log Message

minor updates

Cambiar Resumen

Diferencia incremental

--- a/autoload/visuals.vim
+++ b/autoload/visuals.vim
@@ -68,7 +68,7 @@ function! visuals#info_hl()
6868 endfunction
6969
7070 function visuals#blend_down()
71- if ((&previewwindow) || (&bt=='help') || (&ft == 'netrw'))
71+ if ((&previewwindow) || (&bt=='help') || (&bt == 'quickfix'))
7272 set wincolor=CursorLine
7373 else
7474 set wincolor=
--- a/colors/apollo.vim
+++ b/colors/apollo.vim
@@ -29,8 +29,8 @@ let s:green1 = "#02A358"
2929 let s:green2 = "#07C168"
3030 let s:green3 = "#07E070"
3131 let s:green4 = "#07F88F"
32-let s:blue_bg = "#134580"
33-let s:blue1 = "#2048B0"
32+let s:blue_bg = "#134570"
33+let s:blue1 = "#3068B8"
3434 let s:blue2 = "#4090D8"
3535 let s:blue3 = "#70B0F8"
3636 let s:red1 = "#B82042"
@@ -63,12 +63,12 @@ execute "hi PmenuSel" Fg(s:white) Bg(s:green1) Attr("NONE")
6363 execute "hi PmenuThumb" Fg(s:blue2) Bg(s:bg4)
6464 execute "hi Question" Fg(s:green2) Bg("bg")
6565 execute "hi QuickFixLine" Fg(s:blue3) Bg(s:blue_bg) Attr("NONE")
66-execute "hi Search" Fg(s:gold) Bg(s:blue_bg) Attr("NONE")
66+execute "hi Search" Fg(s:gold) Bg(s:blue_bg) Attr("bold")
6767 execute "hi StatusLine" Fg(s:black) Bg(s:blue3) Attr("NONE") Cterm("NONE")
6868 execute "hi StatusLineNC" Fg(s:silver4) Bg(s:bg3) Attr("NONE") Cterm("NONE")
6969 execute "hi Terminal" Fg(s:green3) Bg(s:black)
7070 execute "hi Title" Fg(s:green3)
71-execute "hi User1" Fg(s:blue3) Bg(s:black)
71+execute "hi User1" Fg(s:blue3) Bg(s:blue_bg)
7272 execute "hi VertSplit" Fg(s:bg2) Bg(s:bg2) Attr("NONE")
7373 execute "hi Visual" Fg(s:white) Bg(s:silver1)
7474 execute "hi WarningMsg" Fg(s:white) Bg(s:blue1)
@@ -107,7 +107,7 @@ execute "hi Constant" Fg(s:white)
107107 execute "hi Number" Fg(s:white)
108108 execute "hi Todo" Fg(s:silver2) Bg(s:bg3)
109109 execute "hi Error" Fg(s:red2) Bg(s:bg3)
110-execute "hi Directory" Fg(s:silver4) Attr("underline")
110+execute "hi Directory" Fg(s:blue3) Attr("underline")
111111
112112 " Filetype VIM
113113 execute "hi vimCommentTitle" Fg(s:white) Attr("bold")
--- a/vimrc
+++ b/vimrc
@@ -263,19 +263,17 @@ function! s:ToggleQuickfix()
263263 if is_open == v:false
264264 let qf = getqflist()
265265 let max_len = 0
266- for qfentry in qf
267- let max_len = len(qfentry["text"]) > max_len ? len(qfentry["text"]) : max_len
266+ for e in qf
267+ let max_len = len(e["text"]) > max_len ? len(e["text"]) : max_len
268268 endfor
269- if max_len > (&columns / 3)
270- botright copen
271- wincmd p
272- elseif winnr("$") == 1 && &columns >= 140
269+ if winnr("$") == 1 && &columns >= 140
273270 vert copen
274271 wincmd p
275272 wincmd =
276- else
277- botright copen
278- endif
273+ else
274+ execute "botright" "copen" min([&lines/3, max([1, len(qf)])])
275+ wincmd p
276+ endif
279277 else
280278 if (winnr("$") == 1) && (&buftype=="quickfix")
281279 buffer #