chopsticks/modules
m1ngsama 7f7a200b85
Fix built-in plugin guards for old-style runtime plugins (#82)
env.vim sets g:loaded_X for twelve built-in plugins to short-circuit
them. A prior fix corrected the casing on g:loaded_logiPat, but four
of those plugins actually check the unscoped loaded_X form, not
g:loaded_X — so those four guards have been doing nothing.

Affected (all old runtime plugins predating the g:loaded_ convention):

- gzip.vim       checks `loaded_gzip`
- logiPat.vim    checks `loaded_logiPat`
- rrhelper.vim   checks `loaded_rrhelper`
- spellfile.vim  checks `loaded_spellfile_plugin`

Set both forms (g: and unscoped) for those four — belt and
suspenders. Empirically saves ~270μs at startup, mostly from gzip
which was loading its full autocmd group on every launch.

Add a regression assertion: source .vimrc, verify the four unscoped
guards exist.

Closes #81
2026-05-17 14:08:20 +08:00
..
core.vim Bump ttimeoutlen to 50ms on SSH/TTY (#75) 2026-05-17 12:54:24 +08:00
editing.vim Refine Vim defaults and add profiles 2026-05-03 23:23:21 +08:00
env.vim Fix built-in plugin guards for old-style runtime plugins (#82) 2026-05-17 14:08:20 +08:00
git.vim perf+feat: fix logiPat guard, skip 2 more built-ins, add git/format bindings 2026-04-22 16:30:28 +08:00
languages.vim Refine Vim defaults and add profiles 2026-05-03 23:23:21 +08:00
lint.vim Improve installer profile handling and validation 2026-05-03 23:23:21 +08:00
lsp.vim Make completion keymaps opt-in (#53) 2026-05-13 17:08:21 +08:00
navigation.vim Make terminal keymaps opt-in (#57) 2026-05-13 17:24:45 +08:00
plugins.vim Make auto-pairs opt-in (#55) 2026-05-13 17:18:01 +08:00
tools.vim Make ,F full-file reindent opt-in (#69) 2026-05-16 23:08:26 +08:00
ui.vim feat(ui): native tabline + fixed-width signcolumn 2026-04-27 18:08:40 +08:00