文件最后提交记录最后更新时间
fix(runtime): clean up one-off scripts Problem: Some runtime files no longer spark joy. Solution: Kondo the place up. Still sparks _some_ joy (moved to new runtime/scripts folder): * macros/less.* * mswin.vim * tools/emoji_list.lua No longer sparks joy (removed): * macmap.vim (gvimrc file; not useful in Nvim) * tools/check_colors.vim (no longer useful with new default colorscheme and treesitter) * macros/editexisting.vim (throws error on current Nvim) * macros/justify.vim (obsolete shim for packadd! justify) * macros/matchit.vim (same) * macros/shellmenu.vim (same) * macros/swapmous.vim (same) 1 年前
fix(runtime): clean up one-off scripts Problem: Some runtime files no longer spark joy. Solution: Kondo the place up. Still sparks _some_ joy (moved to new runtime/scripts folder): * macros/less.* * mswin.vim * tools/emoji_list.lua No longer sparks joy (removed): * macmap.vim (gvimrc file; not useful in Nvim) * tools/check_colors.vim (no longer useful with new default colorscheme and treesitter) * macros/editexisting.vim (throws error on current Nvim) * macros/justify.vim (obsolete shim for packadd! justify) * macros/matchit.vim (same) * macros/shellmenu.vim (same) * macros/swapmous.vim (same) 1 年前
fix(runtime): clean up one-off scripts Problem: Some runtime files no longer spark joy. Solution: Kondo the place up. Still sparks _some_ joy (moved to new runtime/scripts folder): * macros/less.* * mswin.vim * tools/emoji_list.lua No longer sparks joy (removed): * macmap.vim (gvimrc file; not useful in Nvim) * tools/check_colors.vim (no longer useful with new default colorscheme and treesitter) * macros/editexisting.vim (throws error on current Nvim) * macros/justify.vim (obsolete shim for packadd! justify) * macros/matchit.vim (same) * macros/shellmenu.vim (same) * macros/swapmous.vim (same) 1 年前
fix(runtime): clean up one-off scripts Problem: Some runtime files no longer spark joy. Solution: Kondo the place up. Still sparks _some_ joy (moved to new runtime/scripts folder): * macros/less.* * mswin.vim * tools/emoji_list.lua No longer sparks joy (removed): * macmap.vim (gvimrc file; not useful in Nvim) * tools/check_colors.vim (no longer useful with new default colorscheme and treesitter) * macros/editexisting.vim (throws error on current Nvim) * macros/justify.vim (obsolete shim for packadd! justify) * macros/matchit.vim (same) * macros/shellmenu.vim (same) * macros/swapmous.vim (same) 1 年前
fix(runtime): clean up one-off scripts Problem: Some runtime files no longer spark joy. Solution: Kondo the place up. Still sparks _some_ joy (moved to new runtime/scripts folder): * macros/less.* * mswin.vim * tools/emoji_list.lua No longer sparks joy (removed): * macmap.vim (gvimrc file; not useful in Nvim) * tools/check_colors.vim (no longer useful with new default colorscheme and treesitter) * macros/editexisting.vim (throws error on current Nvim) * macros/justify.vim (obsolete shim for packadd! justify) * macros/matchit.vim (same) * macros/shellmenu.vim (same) * macros/swapmous.vim (same) 1 年前
vim-patch:9.1.1933: completion: complete_match() is not useful (#36726) Problem: completion: complete_match() Vim script function and 'isexpand' option are not that useful and confusing (after v9.1.1341) Solution: Remove function and option and clean up code and documentation (Girish Palya). complete_match() and 'isexpand' add no real functionality to Vim. They duplicate what strridx() already does, yet pretend to be part of the completion system. They have nothing to do with the completion mechanism. * f_complete_match() in insexpand.c does not call any completion code. It’s just a STRNCMP() wrapper with fluff logic. * 'isexpand' exists only as a proxy argument to that function. It does nothing on its own and amounts to misuse of a new option. The following Vim script function can be used to implement the same functionality: ```vim func CompleteMatch(triggers, sep=',') let line = getline('.')->strpart(0, col('.') - 1) let result = [] for trig in split(a:triggers, a:sep) let idx = strridx(line, trig) if l:idx >= 0 call add(result, [idx + 1, trig]) endif endfor return result endfunc ``` related: vim/vim#16716 fixes: vim/vim#18563 closes: vim/vim#18790 https://github.com/vim/vim/commit/cbcbff871224115c45bbd14582749a487c6fad30 Co-authored-by: Girish Palya <girishji@gmail.com>6 个月前