summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-05-14 18:50:25 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-14 18:50:25 +0100
commitb7398fe41c9e1e731d058105a34158871ee83e3f (patch)
treed1d20b18bffd1bc554fbe0212eee3643adacda54
parente5d91ba1de83949eb9357c0fb8cbd91e7e69be6f (diff)
Update runtime files
-rw-r--r--.github/CODEOWNERS2
-rw-r--r--nsis/lang/italian.nsi175
-rw-r--r--runtime/autoload/dist/script.vim2
-rw-r--r--runtime/autoload/netrw.vim8
-rw-r--r--runtime/autoload/netrwSettings.vim2
-rw-r--r--runtime/defaults.vim2
-rw-r--r--runtime/doc/builtin.txt17
-rw-r--r--runtime/doc/editing.txt2
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/filetype.txt6
-rw-r--r--runtime/doc/gui.txt5
-rw-r--r--runtime/doc/if_perl.txt19
-rw-r--r--runtime/doc/map.txt8
-rw-r--r--runtime/doc/options.txt5
-rw-r--r--runtime/doc/pi_netrw.txt56
-rw-r--r--runtime/doc/repeat.txt4
-rw-r--r--runtime/doc/syntax.txt4
-rw-r--r--runtime/doc/tags5
-rw-r--r--runtime/doc/testing.txt27
-rw-r--r--runtime/doc/textprop.txt6
-rw-r--r--runtime/doc/todo.txt83
-rw-r--r--runtime/doc/usr_01.txt4
-rw-r--r--runtime/doc/usr_41.txt2
-rw-r--r--runtime/filetype.vim2
-rw-r--r--runtime/ftplugin/luau.vim14
-rw-r--r--runtime/ftplugin/usd.vim18
-rw-r--r--runtime/indent/dts.vim63
-rw-r--r--runtime/indent/luau.vim14
-rw-r--r--runtime/indent/testdir/dts.in46
-rw-r--r--runtime/indent/testdir/dts.ok46
-rw-r--r--runtime/menu.vim6
-rw-r--r--runtime/plugin/netrwPlugin.vim2
-rw-r--r--runtime/syntax/dts.vim5
-rw-r--r--runtime/syntax/luau.vim15
-rw-r--r--runtime/syntax/nasm.vim72
-rw-r--r--runtime/syntax/vim.vim30
-rw-r--r--runtime/syntax/xpm.vim181
-rw-r--r--src/INSTALLmac.txt2
-rw-r--r--src/po/de.po496
-rw-r--r--src/po/fi.po975
-rw-r--r--src/po/sr.po131
-rw-r--r--src/po/tr.po520
42 files changed, 2008 insertions, 1076 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 61c8606d7c..aeec2713f4 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -261,6 +261,7 @@ runtime/indent/julia.vim @carlobaldassi
runtime/indent/ld.vim @dkearns
runtime/indent/less.vim @genoma
runtime/indent/liquid.vim @tpope
+runtime/indent/lua.vim @marcuscf
runtime/indent/make.vim @dkearns
runtime/indent/meson.vim @Liambeguin
runtime/indent/mma.vim @dkearns
@@ -392,6 +393,7 @@ runtime/syntax/less.vim @genoma
runtime/syntax/lex.vim @cecamp
runtime/syntax/liquid.vim @tpope
runtime/syntax/lisp.vim @cecamp
+runtime/syntax/lua.vim @marcuscf
runtime/syntax/lyrics.vim @ObserverOfTime
runtime/syntax/lynx.vim @dkearns
runtime/syntax/m3build.vim @dkearns
diff --git a/nsis/lang/italian.nsi b/nsis/lang/italian.nsi
index bffe285a76..029737f035 100644
--- a/nsis/lang/italian.nsi
+++ b/nsis/lang/italian.nsi
@@ -3,9 +3,8 @@
# italian.nsi : Italian language strings for gvim NSIS installer.
#
# Locale ID : 1040
-# Locale Name : it
# fileencoding : UTF-8
-# Author : Antonio Colombo
+# Author : Antonio Colombo, bovirus - revision: 12.05.2023
!insertmacro MUI_LANGUAGE "Italian"
@@ -22,10 +21,10 @@ LangString ^UninstallCaption ${LANG_ITALIAN} \
##############################################################################
#LangString str_dest_folder ${LANG_ITALIAN} \
-# "Cartella d'installazione (il nome deve finire con $\"vim$\")"
+# "Cartella installazione (il percorso deve finire con $\"vim$\")"
LangString str_show_readme ${LANG_ITALIAN} \
- "Visualizza README al termine dell'installazione"
+ "Visualizza file README a fine installazione"
# Install types:
LangString str_type_typical ${LANG_ITALIAN} \
@@ -43,120 +42,119 @@ LangString str_type_full ${LANG_ITALIAN} \
##############################################################################
LangString str_section_old_ver ${LANG_ITALIAN} \
- "Disinstalla versione/i esistente/i"
+ "Disinstalla versioni esistenti"
LangString str_desc_old_ver ${LANG_ITALIAN} \
- "Disinstalla versione/i esistente/i di Vim dal vostro sistema."
+ "Disinstalla versioni esistenti di Vim."
LangString str_section_exe ${LANG_ITALIAN} \
- "Vim GUI e file di supporto"
+ "GUI e file supporto Vim"
LangString str_desc_exe ${LANG_ITALIAN} \
- "Vim GUI programmi e file di supporto. Questa componente è indispensabile."
+ "GUI programmi e file di supporto Vim. Questa componente è indispensabile."
LangString str_section_console ${LANG_ITALIAN} \
- "Vim console (vim.exe per MS-DOS)"
+ "Console Vim (vim.exe per MS-DOS)"
LangString str_desc_console ${LANG_ITALIAN} \
"Versione console di Vim (vim.exe)."
LangString str_section_batch ${LANG_ITALIAN} \
"Crea file .bat"
LangString str_desc_batch ${LANG_ITALIAN} \
- "Crea file .bat per varianti di Vim nella directory \
+ "Crea file .bat per varianti di Vim nella cartella \
di Windows, per utilizzo da riga di comando."
LangString str_group_icons ${LANG_ITALIAN} \
- "Crea icone per Vim"
+ "Crea icone Vim"
LangString str_desc_icons ${LANG_ITALIAN} \
- "Crea icone per Vim in vari posti, per rendere facile l'accesso."
+ "Crea icone Vim per rendere facile l'accesso."
LangString str_section_desktop ${LANG_ITALIAN} \
- "Sul Desktop"
+ "Icone sul Desktop"
LangString str_desc_desktop ${LANG_ITALIAN} \
- "Crea icone per programma gVim sul desktop."
+ "Crea icone programma gVim sul desktop."
LangString str_section_start_menu ${LANG_ITALIAN} \
- "Nella cartella del menù START"
+ "Gruppo programmi menù START"
LangString str_desc_start_menu ${LANG_ITALIAN} \
- "Aggiungi Vim alle cartelle del menù START."
+ "Aggiunge gruppo programmi al menù START."
#LangString str_section_quick_launch ${LANG_ITALIAN} \
-# "Nella barra di Avvio Veloce"
+# "Barra avvio veloce"
#LangString str_desc_quick_launch ${LANG_ITALIAN} \
-# "Aggiungi un puntatore a Vim nella barra di Avvio Veloce."
+# "Aggiunge un collegamento a Vim nella barra di avvio veloce."
LangString str_section_edit_with ${LANG_ITALIAN} \
- "Aggiungi Vim al Menù Contestuale"
+ "Aggiungi Vim al menù contestuale"
LangString str_desc_edit_with ${LANG_ITALIAN} \
- "Aggiungi Vim alla lista contestuale $\"Apri con...$\"."
+ "Aggiunge Vim al menu contestuale $\"Apri con...$\"."
#LangString str_section_edit_with32 ${LANG_ITALIAN} \
-# "Versione a 32-bit"
+# "Versione a 32 bit"
#LangString str_desc_edit_with32 ${LANG_ITALIAN} \
-# "Aggiungi Vim alla lista contestuale $\"Apri con...$\" \
-# per applicazioni a 32-bit."
+# "Aggiungi Vim al menu contestuale $\"Apri con...$\" \
+# per applicazioni a 32 bit."
#LangString str_section_edit_with64 ${LANG_ITALIAN} \
-# "Versione a 64-bit"
+# "Versione a 64 bit"
#LangString str_desc_edit_with64 ${LANG_ITALIAN} \
-# "Aggiungi Vim alla lista contestuale $\"Apri con...$\" \
-# per applicazioni a 64-bit."
+# "Aggiunge Vim al menu contestuale $\"Apri con...$\" \
+# per applicazioni a 64 bit."
LangString str_section_vim_rc ${LANG_ITALIAN} \
- "Crea configurazione di default"
+ "Crea configurazione predefinita"
LangString str_desc_vim_rc ${LANG_ITALIAN} \
- "Crea un file configurazione di default (_vimrc) se non \
- ne esiste già uno."
+ "Crea, se non ne esiste già uno, un file configurazione predefinito (_vimrc) ."
LangString str_group_plugin ${LANG_ITALIAN} \
- "Crea directory per plugin"
+ "Crea cartella plugin"
LangString str_desc_plugin ${LANG_ITALIAN} \
- "Crea directory per plugin. Consentono di aggiungere funzionalità \
- a Vim mettendo file in una di queste directory."
+ "Crea cartella plugin. I plugin consentono di aggiungere funzionalità \
+ a Vim copiando i relativi file in una di queste cartelle."
LangString str_section_plugin_home ${LANG_ITALIAN} \
- "Private"
+ "Privata"
LangString str_desc_plugin_home ${LANG_ITALIAN} \
- "Crea directory per plugin nella directory HOME."
+ "Crea cartella plugin nella cartella HOME."
LangString str_section_plugin_vim ${LANG_ITALIAN} \
- "Condivise"
+ "Condivisa"
LangString str_desc_plugin_vim ${LANG_ITALIAN} \
- "Crea directory per plugin nella directory di installazione di Vim \
+ "Crea cartella plugin nella cartella di installazione di Vim \
per uso da parte di tutti gli utenti di questo sistema."
LangString str_section_nls ${LANG_ITALIAN} \
- "Supporto Multilingue (NLS)"
+ "Supporto nativo lingua (NLS)"
LangString str_desc_nls ${LANG_ITALIAN} \
- "Installa file per supportare messaggi in diverse lingue."
+ "Installa i file per il supporto nativo multilingua."
LangString str_unsection_register ${LANG_ITALIAN} \
- "Togli Vim dal Registry"
+ "Rimuovi Vim dal registro"
LangString str_desc_unregister ${LANG_ITALIAN} \
- "Togli Vim dal Registry di configurazione sistema."
+ "Rimuove Vim dal registro di configurazione sistema."
LangString str_unsection_exe ${LANG_ITALIAN} \
- "Cancella programmi/file di supporto Vim"
+ "Elimina programmi/file di supporto Vim"
LangString str_desc_rm_exe ${LANG_ITALIAN} \
- "Cancella tutti i programmi/file di supporto di Vim."
+ "Elimina tutti i programmi/file di supporto di Vim."
LangString str_ungroup_plugin ${LANG_ITALIAN} \
- "Cancella le directory per plugin"
+ "Elimina cartelle plugin"
LangString str_desc_rm_plugin ${LANG_ITALIAN} \
- "Cancella le directory per plugin se sono vuote."
+ "Elimina le cartelle plugin se sono vuote."
LangString str_unsection_plugin_home ${LANG_ITALIAN} \
"Private"
LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \
- "Cancella le directory per plugin dalla directory HOME."
+ "Elimina cartelle plugin nella cartella HOME."
LangString str_unsection_plugin_vim ${LANG_ITALIAN} \
"Condivise"
LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \
- "Cancella le directory per plugin dalla directory di installazione di Vim."
+ "Elimina cartelle plugin nella cartella di installazione di Vim."
LangString str_unsection_rootdir ${LANG_ITALIAN} \
- "Cancella la directory di installazione di Vim"
+ "Elimina la cartella di installazione di Vim"
LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
- "Cancella la directory di installazione di Vim. Contiene i vostri file di configurazione!"
+ "Elimina la cartella di installazione di Vim. Contiene i file di configurazione!"
##############################################################################
@@ -164,75 +162,74 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
##############################################################################
#LangString str_msg_too_many_ver ${LANG_ITALIAN} \
-# "Trovate $vim_old_ver_count versioni di Vim sul vostro sistema.$\r$\n\
+# "Rilevate nel sistema $vim_old_ver_count versioni di Vim.$\r$\n\
# Questo programma di installazione può gestire solo \
# ${VIM_MAX_OLD_VER} versioni.$\r$\n\
-# Disinstallate qualche versione precedente e ricominciate."
+# Disinstalla qualche versione precedente e ricomincia."
#LangString str_msg_invalid_root ${LANG_ITALIAN} \
-# "Nome di directory di installazione non valida: $vim_install_root!$\r$\n\
+# "Nome cartella di installazione non valida: $vim_install_root!$\r$\n\
# Dovrebbe terminare con $\"vim$\"."
#LangString str_msg_bin_mismatch ${LANG_ITALIAN} \
-# "Conflitto nella directory di installazione!$\r$\n$\r$\n\
-# Cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\
-# ma il sistema segnala invece $\"$INSTDIR$\"."
+# "Conflitto nella cartella di installazione!$\r$\n$\r$\n\
+# La cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\
+# ma il sistema indica che il percorso è $\"$INSTDIR$\"."
#LangString str_msg_vim_running ${LANG_ITALIAN} \
-# "Vim ancora in esecuzione sul vostro sistema.$\r$\n\
-# Chiudete tutte le sessioni attive di Vim per continuare."
+# "Vim è ancora in esecuzione nel sistema.$\r$\n\
+# Per continuare chiudi tutte le sessioni attive di Vim."
#LangString str_msg_register_ole ${LANG_ITALIAN} \
# "Tentativo di registrazione di Vim con OLE. \
-# Non c'è messaggio che indica se è riuscito o no."
+# Non ci sono messaggi che indicano se l'operazione è riuscita."
#LangString str_msg_unreg_ole ${LANG_ITALIAN} \
-# "Tentativo di togliere dal Registry Vim con OLE. \
-# Non c'è messaggio che indica se è riuscito o no."
+# "Tentativo di rimozione di VIM dal registro via OLE. \
+# Non ci sono messaggi che indicano se l'operazione è riuscita."
#LangString str_msg_rm_start ${LANG_ITALIAN} \
-# "Disinstallazione della seguente versione:"
+# "Disinstallazione della versione:"
#LangString str_msg_rm_fail ${LANG_ITALIAN} \
-# "Disinstallazione non riuscita per la seguente versione:"
+# "Disinstallazione non riuscita per la versione:"
#LangString str_msg_no_rm_key ${LANG_ITALIAN} \
-# "Non riesco a trovare chiave di disinstallazione nel Registry."
+# "Impossibile trovare chiave disinstallazione nel registro."
#LangString str_msg_no_rm_reg ${LANG_ITALIAN} \
-# "Non riesco a trovare programma disinstallazione nel Registry."
+# "Impossibile trovare programma disinstallazione nel registro."
#LangString str_msg_no_rm_exe ${LANG_ITALIAN} \
-# "Non riesco a trovare programma disinstallazione."
+# "Impossibile trovare programma disinstallazione."
#LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \
-# "Non riesco a copiare programma disinstallazione a una \
-# directory temporanea."
+# "Impossibile copiare il programma disinstallazione in una cartella temporanea."
#LangString str_msg_rm_run_fail ${LANG_ITALIAN} \
-# "Non riesco a eseguire programma disinstallazione."
+# "Impossibile eseguire programma disinstallazione."
#LangString str_msg_abort_install ${LANG_ITALIAN} \
-# "Il programma di disinstallazione verrà chiuso senza aver fatto nulla."
+# "Il programma di disinstallazione verrà chiuso senza aver eseguito nessuna modifica."
LangString str_msg_install_fail ${LANG_ITALIAN} \
- "Installazione non riuscita. Miglior fortuna alla prossima!"
+ "Installazione non riuscita."
LangString str_msg_rm_exe_fail ${LANG_ITALIAN} \
- "Alcuni file in $0 non sono stati cancellati!$\r$\n\
- Dovreste cancellarli voi stessi."
+ "Alcuni file in $0 non sono stati eliminati!$\r$\n\
+ I file vanno rimossi manualmente."
#LangString str_msg_rm_root_fail ${LANG_ITALIAN} \
-# "AVVISO: Non posso cancellare $\"$vim_install_root$\", non è vuota!"
+# "AVVISO: impossibile eliminare $\"$vim_install_root$\", non è vuota!"
LangString str_msg_uninstalling ${LANG_ITALIAN} \
- "Sto disinstallando la vecchia versione..."
+ "Disinstallazione vecchia versione Vim..."
LangString str_msg_registering ${LANG_ITALIAN} \
- "Sto aggiungendo Vim al Registry..."
+ "Aggiunta di Vim al registro..."
LangString str_msg_unregistering ${LANG_ITALIAN} \
- "Sto togliendo Vim dal Registry..."
+ "Rimozione di Vim dal registro..."
##############################################################################
@@ -242,37 +239,37 @@ LangString str_msg_unregistering ${LANG_ITALIAN} \
LangString str_vimrc_page_title ${LANG_ITALIAN} \
"Scelta impostazioni _vimrc"
LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \
- "Scelta impostazioni per funzionalità ulteriori, tastiera e mouse."
+ "Scelta impostazioni funzionalità aggiuntive, tastiera e mouse."
LangString str_msg_compat_title ${LANG_ITALIAN} \
- " comportamento come Vi / Vim "
+ " Comportamento come Vi / Vim "
LangString str_msg_compat_desc ${LANG_ITALIAN} \
- "&Compatibilità e funzionalità ulteriori"
+ "&Compatibilità e funzionalità"
LangString str_msg_compat_vi ${LANG_ITALIAN} \
- "Compatibile con Vi"
+ "Compatibile Vi"
LangString str_msg_compat_vim ${LANG_ITALIAN} \
"Vim originale"
LangString str_msg_compat_defaults ${LANG_ITALIAN} \
- "Vim con alcune funzionalità ulteriori (esecuzione defaults.vim)"
+ "Vim con alcune funzionalità aggiuntive (defaults.vim)"
LangString str_msg_compat_all ${LANG_ITALIAN} \
- "Vim con tutte le funzionalità ulteriori (esecuzione vimrc_example.vim) (Default)"
+ "Vim con tutte le funzionalità aggiuntive (vimrc_example.vim) (predefinito)"
LangString str_msg_keymap_title ${LANG_ITALIAN} \
- " Mappature "
+ " Mappature tastiera "
LangString str_msg_keymap_desc ${LANG_ITALIAN} \
- "&Rimappatura di alcuni tasti per Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)"
+ "&Rimappa alcuni tasti Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)"
LangString str_msg_keymap_default ${LANG_ITALIAN} \
- "Non effettuare rimappature di tasti (Default)"
+ "Non rimappare i tasti (predefinito)"
LangString str_msg_keymap_windows ${LANG_ITALIAN} \
- "Rimappare solo alcuni tasti"
+ "Rimappa solo alcuni tasti"
LangString str_msg_mouse_title ${LANG_ITALIAN} \
" Mouse "
LangString str_msg_mouse_desc ${LANG_ITALIAN} \
- "&Comportamento dei pulsanti destro e sinistro"
+ "&Comportamento pulsanti destro/sinistro"
LangString str_msg_mouse_default ${LANG_ITALIAN} \
- "Destro: popup menu, Sinistro: modalità visuale (Default)"
+ "Destro: menu popup, Sinistro: modalità visuale (predefinito)"
LangString str_msg_mouse_windows ${LANG_ITALIAN} \
- "Destro: popup menu, Sinistro: seleziona modalità (Windows)"
+ "Destro: menu popup, Sinistro: selezione modalità (Windows)"
LangString str_msg_mouse_unix ${LANG_ITALIAN} \
- "Destro: estende selezione, Sinistro: modalità visuale (Unix)"
+ "Destro: estensione selezione, Sinistro: modalità visuale (Unix)"
diff --git a/runtime/autoload/dist/script.vim b/runtime/autoload/dist/script.vim
index c3463c6e2e..b55fab354f 100644
--- a/runtime/autoload/dist/script.vim
+++ b/runtime/autoload/dist/script.vim
@@ -4,7 +4,7 @@ vim9script
# Invoked from "scripts.vim" in 'runtimepath'
#
# Maintainer: Bram Moolenaar <Bram@vim.org>
-# Last Change: 2023 Apr 17
+# Last Change: 2023 May 06
export def DetectFiletype()
var line1 = getline(1)
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index 1372de4dfc..14b1ab20d4 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -1,7 +1,7 @@
" netrw.vim: Handles file transfer and remote directory listing across
" AUTOLOAD SECTION
-" Date: Mar 15, 2023
-" Version: 172
+" Date: May 03, 2023
+" Version: 173
" Maintainer: Charles E Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
@@ -43,7 +43,7 @@ if exists("s:needspatches")
endfor
endif
-let g:loaded_netrw = "v172"
+let g:loaded_netrw = "v173"
if !exists("s:NOTE")
let s:NOTE = 0
let s:WARNING = 1
@@ -5734,7 +5734,7 @@ fun! s:NetrwEditBuf(bufnum)
exe "sil! NetrwKeepj keepalt noswapfile b ".fnameescape(a:bufnum)
else
" call Decho("exe sil! NetrwKeepj noswapfile b ".fnameescape(a:bufnum))
- exe "sil! NetrwKeepj noswapfile b ".fnameescape(a:bufnume)
+ exe "sil! NetrwKeepj noswapfile b ".fnameescape(a:bufnum)
endif
" call Dret("s:NetrwEditBuf")
endfun
diff --git a/runtime/autoload/netrwSettings.vim b/runtime/autoload/netrwSettings.vim
index a910d18be8..d65f83144e 100644
--- a/runtime/autoload/netrwSettings.vim
+++ b/runtime/autoload/netrwSettings.vim
@@ -19,7 +19,7 @@
if exists("g:loaded_netrwSettings") || &cp
finish
endif
-let g:loaded_netrwSettings = "v18a"
+let g:loaded_netrwSettings = "v18"
if v:version < 700
echohl WarningMsg
echo "***warning*** this version of netrwSettings needs vim 7.0"
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index f449c6e1e9..9b4ecfeafa 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -1,7 +1,7 @@
" The default vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2022 Mar 03
+" Last change: 2023 May 10
"
" This is loaded if no vimrc file was found.
" Except when Vim is run with "-u NONE" or "-C".
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index beb7ac7184..0cbfe21439 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt* For Vim version 9.0. Last change: 2023 Apr 19
+*builtin.txt* For Vim version 9.0. Last change: 2023 May 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2260,7 +2260,7 @@ execute({command} [, {silent}]) *execute()*
string.
{command} can be a string or a List. In case of a List the
lines are executed one by one.
- This is equivalent to: >
+ This is more or less equivalent to: >
redir => var
{command}
redir END
@@ -2276,7 +2276,7 @@ execute({command} [, {silent}]) *execute()*
*E930*
It is not possible to use `:redir` anywhere in {command}.
- To get a list of lines use |split()| on the result: >
+ To get a list of lines use `split()` on the result: >
execute('args')->split("\n")
< To execute a command in another window than the current one
@@ -6767,17 +6767,20 @@ prompt_setcallback({buf}, {expr}) *prompt_setcallback()*
that was entered at the prompt. This can be an empty string
if the user only typed Enter.
Example: >
- call prompt_setcallback(bufnr(), function('s:TextEntered'))
func s:TextEntered(text)
if a:text == 'exit' || a:text == 'quit'
stopinsert
+ " Reset 'modified' to allow the buffer to be closed.
+ " We assume there is nothing useful to be saved.
+ set nomodified
close
else
+ " Do something useful with "a:text". In this example
+ " we just repeat it.
call append(line('$') - 1, 'Entered: "' .. a:text .. '"')
- " Reset 'modified' to allow the buffer to be closed.
- set nomodified
endif
endfunc
+ call prompt_setcallback(bufnr(), function('s:TextEntered'))
< Can also be used as a |method|: >
GetBuffer()->prompt_setcallback(callback)
@@ -10259,7 +10262,7 @@ win_execute({id}, {command} [, {silent}]) *win_execute()*
The window will temporarily be made the current window,
without triggering autocommands or changing directory. When
executing {command} autocommands will be triggered, this may
- have unexpected side effects. Use |:noautocmd| if needed.
+ have unexpected side effects. Use `:noautocmd` if needed.
Example: >
call win_execute(winid, 'set syntax=python')
< Doing the same with `setwinvar()` would not trigger
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index a08befecb3..da9aeb7fea 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 9.0. Last change: 2022 Nov 02
+*editing.txt* For Vim version 9.0. Last change: 2023 Apr 23
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b863f42e68..de09c7b470 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 9.0. Last change: 2023 Apr 15
+*eval.txt* For Vim version 9.0. Last change: 2023 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 477ea7b257..ae8e6584aa 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 9.0. Last change: 2023 Feb 15
+*filetype.txt* For Vim version 9.0. Last change: 2023 Apr 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -660,8 +660,8 @@ page in a Vim window: >
MANPAGER *manpager.vim*
-The |:Man| command allows you to turn Vim into a manpager (that syntax highlights
-manpages and follows linked manpages on hitting CTRL-]).
+The |:Man| command allows you to turn Vim into a manpager (that syntax
+highlights manpages and follows linked manpages on hitting CTRL-]).
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index 7c22c1c093..0fcceddb6d 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -1,4 +1,4 @@
-*gui.txt* For Vim version 9.0. Last change: 2023 Mar 01
+*gui.txt* For Vim version 9.0. Last change: 2023 Apr 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1226,10 +1226,9 @@ This section describes other features which are related to the GUI.
like this to set options specifically for each type of GUI: >
if has("gui_running")
- if has("gui_gtk2")
+ if has("gui_gtk")
:set guifont=Luxi\ Mono\ 12
elseif has("x11")
- " Also for GTK 1
:set guifont=*-lucidatypewriter-medium-r-normal-*-*-180-*-*-m-*-*
elseif has("gui_win32")
:set guifont=Luxi_Mono:h12:cANSI
diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt
index 281185bb33..7949e91732 100644
--- a/runtime/doc/if_perl.txt
+++ b/runtime/doc/if_perl.txt
@@ -1,4 +1,4 @@
-*if_perl.txt* For Vim version 9.0. Last change: 2022 Mar 13
+*if_perl.txt* For Vim version 9.0. Last change: 2023 May 14
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -254,23 +254,14 @@ $main::curbuf
*script-here*
When using a script language in-line, you might want to skip this when the
-language isn't supported. But this mechanism doesn't work: >
+language isn't supported. >
if has('perl')
perl << EOF
- this will NOT work!
+ print 'perl works'
EOF
endif
-Instead, put the Perl/Python/Ruby/etc. command in a function and call that
-function: >
- if has('perl')
- function DefPerl()
- perl << EOF
- this works
- EOF
- endfunction
- call DefPerl()
- endif
-Note that "EOF" must be at the start of the line.
+Note that "EOF" must be at the start of the line without preceding white
+space.
==============================================================================
4. Dynamic loading *perl-dynamic*
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 8f2fe75734..aa05029107 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 9.0. Last change: 2023 Mar 09
+*map.txt* For Vim version 9.0. Last change: 2023 May 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1873,8 +1873,14 @@ remains unmodified. Also see |f-args-example| below. Overview:
XX a\\\ b 'a\ b'
XX a\\\\b 'a\\b'
XX a\\\\ b 'a\\', 'b'
+ XX [nothing]
+Note that if the "no arguments" situation is to be handled, you have to make
+sure that the function can be called without arguments. For a compiled
+function you might want to use variable arguments, see
+|vim9-variable-arguments|.
+
Examples for user commands: >
" Delete everything after here to the end
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c487f1769b..05113373f4 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.0. Last change: 2023 Apr 12
+*options.txt* For Vim version 9.0. Last change: 2023 May 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -925,6 +925,9 @@ A jump table for the options with a short description can be found at |Q_op|.
'autowriteall' for that.
Some buffers will not be written, specifically when 'buftype' is
"nowrite", "nofile", "terminal" or "prompt".
+ USE WITH CARE: If you make temporary changes to a buff