vim: fix config and runtime
authorGeorge Sapkin <george@sapk.in>
Sat, 13 Dec 2025 16:19:44 +0000 (18:19 +0200)
committerGeorge Sapkin <george@sapk.in>
Fri, 19 Dec 2025 13:56:29 +0000 (15:56 +0200)
commitd1351b3d8b46a3699d645858f5c6e7886b17f4c3
tree00fe6b025ad250656f289677912d5f1a7b12e390
parentbc91a942423cbc59b4f5dab8d22b908f6c997193
vim: fix config and runtime

- Install shared runtime for both full and fuller.
- Switch big to huge as big is just an alias to normal.
- Fix default config path for tiny variant.
- Use upstream default config for both full and fuller.
- Don't mark default config files for backup.
- Don't mix variant files.
- Mark fuller variant config files for backup.
- Update configure arguments and remove deprecated ones.
- Remove deprecated configuration variables.
- Improve descriptions.
- Fix the following error by installing the missing runtime files for
  full and correctly installing the default config for tiny:

  E1187: Failed to source defaults.vim

- Fix the following fuller error by installing the missing directory in
  runtime:

  Error detected while processing /usr/share/vim/vim91/plugin/netrwPlugin.vim:
  line    7:
  E919: Directory not found in 'packpath': "pack/*/opt/netrw"

Fixes: https://github.com/openwrt/packages/issues/20203
Fixes: https://github.com/openwrt/packages/issues/28104
Signed-off-by: George Sapkin <george@sapk.in>
utils/vim/Makefile
utils/vim/files/defaults.vim [new file with mode: 0644]
utils/vim/files/vimrc [deleted file]
utils/vim/files/vimrc.full [deleted file]