summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorPhạm Bình An <111893501+brianhuster@users.noreply.github.com>2025-05-30 22:57:58 +0700
committerGitHub <noreply@github.com>2025-05-30 08:57:58 -0700
commit9d5eb3eda50a552fd44b2477cf1010e543c11c6d (patch)
treeeb8b80f4874e7d59624413fdf81e7ab4f6597e22 /scripts
parent756751afa3709b89f7525d5142fdd44bb3afdab1 (diff)
docs: rename builtin.txt, eval.txt #34212
Problem: Despite the name, `builtin.txt` only includes Vimscript functions, which is confusing, especially to people who only use Lua to configure Nvim Solution: From justinmk's suggestion - Rename `builtin.txt` to `vimfn.txt` - Rename `eval.txt` to `vimeval.txt` - The tags `*builtin.txt*` and `*eval.txt*` should be kept for Vim-patches Closes #33743
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vim-patch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index b0ec225633..e9cf37eaa6 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -293,6 +293,10 @@ preprocess_patch() {
LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/option\.h/\1\/option_vars.h/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename runtime/doc/eval.txt to runtime/doc/vimeval.txt
+ LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/eval\.txt/\1\/vimeval.txt/g' \
+ "$file" > "$file".tmp && mv "$file".tmp "$file"
+
# Rename version*.txt to news.txt
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/version[0-9]+\.txt/\1\/news.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"