• 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ón2e109eb211c8b921c59ff87f02864748b4fca325 (tree)
Tiempo2023-02-06 21:21:08
Autorbadcoff33 <none@none>
Commiterbadcoff33

Log Message

minor changes

Cambiar Resumen

Diferencia incremental

--- a/autoload/run.vim
+++ b/autoload/run.vim
@@ -21,8 +21,9 @@ enddef
2121 export def CloseCb(ch: channel)
2222 var ch_nr = split(string(ch), " ")[1]
2323 var d = g:run_dict[ch_nr]
24- var errors: number
25- var warnings: number
24+ var lines = 0
25+ var errors = 0
26+ var warnings = 0
2627
2728 setwinvar(d.winid, "&wincolor", "PmenuSel")
2829 g:run_2_tid = timer_start(4000, (_) => {
@@ -41,10 +42,13 @@ export def CloseCb(ch: channel)
4142 w:quickfix_title = d.cmd
4243 execute "silent bwipe" d.bufnr
4344 for e in getqflist({ "nr": "$", "all": 0 }).items
45+ lines = lines + 1
4446 errors += e.type ==? "e" ? 1 : 0
4547 warnings += e.type ==? "w" ? 1 : 0
4648 endfor
47- popup_settext(d.winid, "Done: warnings=" .. warnings .. " errros=" .. errors)
49+ popup_settext(d.winid, lines .. " lines with "
50+ .. warnings .. " warnings and "
51+ .. errors .. " errors")
4852 else
4953 setbufvar(d.bufnr, "&modified", 0)
5054 setbufvar(d.bufnr, "&modifiable", 0)
--- a/colors/twotone.vim
+++ b/colors/twotone.vim
@@ -105,9 +105,9 @@ execute "hi cParen" s:Fg(s:silver3)
105105 execute "hi cBlock" s:Fg(s:silver3)
106106
107107 " filetype HTML
108-execute "hi htmlH1" s:Fg(s:blue) s:Attr("bold")
109-execute "hi htmlH2" s:Fg(s:blue) s:Attr("bold")
110-execute "hi htmlH3" s:Fg(s:blue) s:Attr("bold")
108+execute "hi htmlH1" s:Fg(s:red) s:Attr("bold")
109+execute "hi htmlH2" s:Fg(s:red) s:Attr("bold")
110+execute "hi htmlH3" s:Fg(s:red) s:Attr("bold")
111111
112112 " markdown
113113 execute "hi markdownCode" s:Fg(s:silver3) s:Bg(s:silver9)
--- a/plugin/rg.vim
+++ b/plugin/rg.vim
@@ -32,7 +32,6 @@ def g:RgExcludes(): string
3232 return exclude_string
3333 enddef
3434
35-
3635 # Using links? Ripgrep supports this by th option '--follow'
3736 set grepprg=rg\ --vimgrep\ $*
3837 set grepformat=%f:%l:%c:%m
--- a/plugin/torchlight.vim
+++ b/plugin/torchlight.vim
@@ -5,6 +5,6 @@ augroup GroupTL
55 autocmd!
66 autocmd TextChanged * torchlight.TorchlightChanged()
77 autocmd QuickFixCmdPre make torchlight.TorchlightClearAll()
8- autocmd QuickFixCmdPost make torchlight.TorchlightInCurrentBuf()
8+ autocmd QuickFixCmdPost make torchlight.TorchlightUpdate()
99 augroup END
1010
--- a/vimrc
+++ b/vimrc
@@ -127,7 +127,6 @@ execute "set langmap+=\<Char-214>{"
127127
128128 " Switching modes
129129 inoremap <k0> <Esc>
130-imap jj <Esc>
131130 imap <Char-252> <Esc>
132131
133132 " Consistent cursor movement
@@ -135,12 +134,14 @@ noremap! <A-Left> <Home>
135134 noremap! <A-Right> <End>
136135 nnoremap <A-Left> <Home>
137136 nnoremap <A-Right> <End>
138-xnoremap <A-Left> 0
139-xnoremap <A-Right> $
137+vnoremap <A-Left> 0
138+vnoremap <A-Right> $
140139
141140 " Alternative keys to delete words in insert mode
142141 inoremap <C-BS> <C-o>db
143142 inoremap <C-Del> <C-o>de
143+cnoremap <C-BS> <C-w>
144+cnoremap <C-Del> <C-Right><C-w>
144145
145146 " Next/prev match,expand fold and recenter
146147 nnoremap n nzzzv