docs: rename l10n help files #36377

This commit is contained in:
Justin M. Keyes
2025-10-28 23:15:16 -04:00
committed by GitHub
parent c06f2f6b38
commit 6dd6c5b523
10 changed files with 22 additions and 18 deletions

View File

@@ -146,10 +146,10 @@ LANGUAGE SUPPORT
|mbyte.txt| Multibyte text support |mbyte.txt| Multibyte text support
|mlang.txt| Non-English language support |mlang.txt| Non-English language support
|rileft.txt| Right-to-left editing mode |rileft.txt| Right-to-left editing mode
|arabic.txt| Arabic language support and editing |l10n-arabic.txt| Arabic language support and editing
|hebrew.txt| Hebrew language support and editing |l10n-hebrew.txt| Hebrew language support and editing
|russian.txt| Russian language support and editing |l10n-russian.txt| Russian language support and editing
|vietnamese.txt| Vietnamese language support and editing |l10n-vietnamese.txt| Vietnamese language support and editing
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
INTEROP INTEROP

View File

@@ -1,4 +1,4 @@
*arabic.txt* Nvim *l10n-arabic.txt* Nvim
VIM REFERENCE MANUAL by Nadim Shaikli VIM REFERENCE MANUAL by Nadim Shaikli

View File

@@ -1,4 +1,4 @@
*hebrew.txt* Nvim *l10n-hebrew.txt* Nvim
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem) VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)

View File

@@ -1,4 +1,4 @@
*russian.txt* Nvim *l10n-russian.txt* Nvim
VIM REFERENCE MANUAL by Vassily Ragosin VIM REFERENCE MANUAL by Vassily Ragosin

View File

@@ -1,4 +1,4 @@
*vietnamese.txt* Nvim *l10n-vietnamese.txt* Nvim
VIM REFERENCE MANUAL by Phạm Bình An VIM REFERENCE MANUAL by Phạm Bình An

View File

@@ -713,7 +713,7 @@ A jump table for the options with a short description can be found at |Q_op|.
- Disable the use of 'keymap' (without changing its value). - Disable the use of 'keymap' (without changing its value).
Note that 'arabicshape' and 'delcombine' are not reset (it is a global Note that 'arabicshape' and 'delcombine' are not reset (it is a global
option). option).
Also see |arabic.txt|. Also see |l10n-arabic.txt|.
*'arabicshape'* *'arshape'* *'noarabicshape'* *'noarshape'* *'arabicshape'* *'arshape'* *'noarabicshape'* *'noarshape'*
'arabicshape' 'arshape' boolean (default on) 'arabicshape' 'arshape' boolean (default on)
@@ -729,7 +729,7 @@ A jump table for the options with a short description can be found at |Q_op|.
When disabled the display shows each character's true stand-alone When disabled the display shows each character's true stand-alone
form. form.
Arabic is a complex language which requires other settings, for Arabic is a complex language which requires other settings, for
further details see |arabic.txt|. further details see |l10n-arabic.txt|.
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'* *'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
'autochdir' 'acd' boolean (default off) 'autochdir' 'acd' boolean (default off)
@@ -6805,7 +6805,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'arabic' is set and the value of 'arabicshape' will be ignored. 'arabic' is set and the value of 'arabicshape' will be ignored.
Note that setting 'termbidi' has the immediate effect that Note that setting 'termbidi' has the immediate effect that
'arabicshape' is ignored, but 'rightleft' isn't changed automatically. 'arabicshape' is ignored, but 'rightleft' isn't changed automatically.
For further details see |arabic.txt|. For further details see |l10n-arabic.txt|.
*'termguicolors'* *'tgc'* *'notermguicolors'* *'notgc'* *'termguicolors'* *'tgc'* *'notermguicolors'* *'notgc'*
'termguicolors' 'tgc' boolean (default off) 'termguicolors' 'tgc' boolean (default off)

View File

@@ -60,7 +60,7 @@ o No special terminal with right-to-left capabilities is required. The
o Many languages use and require right-to-left support. These languages o Many languages use and require right-to-left support. These languages
can quite easily be supported given the inclusion of their required can quite easily be supported given the inclusion of their required
keyboard mappings and some possible minor code change. Some of the keyboard mappings and some possible minor code change. Some of the
current supported languages include - |arabic.txt| and |hebrew.txt|. current supported languages include - |l10n-arabic.txt| and |l10n-hebrew.txt|.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@@ -71,7 +71,7 @@ vim.go.ambw = vim.go.ambiwidth
--- - Disable the use of 'keymap' (without changing its value). --- - Disable the use of 'keymap' (without changing its value).
--- Note that 'arabicshape' and 'delcombine' are not reset (it is a global --- Note that 'arabicshape' and 'delcombine' are not reset (it is a global
--- option). --- option).
--- Also see `arabic.txt`. --- Also see `l10n-arabic.txt`.
--- ---
--- @type boolean --- @type boolean
vim.o.arabic = false vim.o.arabic = false
@@ -90,7 +90,7 @@ vim.wo.arab = vim.wo.arabic
--- When disabled the display shows each character's true stand-alone --- When disabled the display shows each character's true stand-alone
--- form. --- form.
--- Arabic is a complex language which requires other settings, for --- Arabic is a complex language which requires other settings, for
--- further details see `arabic.txt`. --- further details see `l10n-arabic.txt`.
--- ---
--- @type boolean --- @type boolean
vim.o.arabicshape = true vim.o.arabicshape = true
@@ -7357,7 +7357,7 @@ vim.go.tgst = vim.go.tagstack
--- 'arabic' is set and the value of 'arabicshape' will be ignored. --- 'arabic' is set and the value of 'arabicshape' will be ignored.
--- Note that setting 'termbidi' has the immediate effect that --- Note that setting 'termbidi' has the immediate effect that
--- 'arabicshape' is ignored, but 'rightleft' isn't changed automatically. --- 'arabicshape' is ignored, but 'rightleft' isn't changed automatically.
--- For further details see `arabic.txt`. --- For further details see `l10n-arabic.txt`.
--- ---
--- @type boolean --- @type boolean
vim.o.termbidi = false vim.o.termbidi = false

View File

@@ -314,6 +314,10 @@ preprocess_patch() {
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/eval\.txt/\1\/vimeval.txt/g' \ LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/eval\.txt/\1\/vimeval.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file" "$file" > "$file".tmp && mv "$file".tmp "$file"
# Rename <lang>.txt to l10n-<lang>.txt
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/(arabic|hebrew|russian|vietnamese)\.txt/\1\/l10n-\2.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
# Rename version*.txt to news.txt # Rename version*.txt to news.txt
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/version[0-9]+\.txt/\1\/news.txt/g' \ LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/version[0-9]+\.txt/\1\/news.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file" "$file" > "$file".tmp && mv "$file".tmp "$file"

View File

@@ -178,7 +178,7 @@ local options = {
- Disable the use of 'keymap' (without changing its value). - Disable the use of 'keymap' (without changing its value).
Note that 'arabicshape' and 'delcombine' are not reset (it is a global Note that 'arabicshape' and 'delcombine' are not reset (it is a global
option). option).
Also see |arabic.txt|. Also see |l10n-arabic.txt|.
]=], ]=],
full_name = 'arabic', full_name = 'arabic',
redraw = { 'curswant' }, redraw = { 'curswant' },
@@ -201,7 +201,7 @@ local options = {
When disabled the display shows each character's true stand-alone When disabled the display shows each character's true stand-alone
form. form.
Arabic is a complex language which requires other settings, for Arabic is a complex language which requires other settings, for
further details see |arabic.txt|. further details see |l10n-arabic.txt|.
]=], ]=],
full_name = 'arabicshape', full_name = 'arabicshape',
redraw = { 'all_windows', 'ui_option' }, redraw = { 'all_windows', 'ui_option' },
@@ -9499,7 +9499,7 @@ local options = {
'arabic' is set and the value of 'arabicshape' will be ignored. 'arabic' is set and the value of 'arabicshape' will be ignored.
Note that setting 'termbidi' has the immediate effect that Note that setting 'termbidi' has the immediate effect that
'arabicshape' is ignored, but 'rightleft' isn't changed automatically. 'arabicshape' is ignored, but 'rightleft' isn't changed automatically.
For further details see |arabic.txt|. For further details see |l10n-arabic.txt|.
]=], ]=],
full_name = 'termbidi', full_name = 'termbidi',
scope = { 'global' }, scope = { 'global' },