mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	Update runtime files
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| *autocmd.txt*   For Vim version 9.0.  Last change: 2023 Feb 18 | *autocmd.txt*   For Vim version 9.0.  Last change: 2023 May 20 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -1017,6 +1017,9 @@ OptionSet			After setting an option.  The pattern is | |||||||
| 				the option. Similarly |v:option_oldglobal| is | 				the option. Similarly |v:option_oldglobal| is | ||||||
| 				only set when |:set| or |:setglobal| was used. | 				only set when |:set| or |:setglobal| was used. | ||||||
|  |  | ||||||
|  | 				This does not set |<abuf>|, you could use | ||||||
|  | 				|bufnr()|. | ||||||
|  |  | ||||||
| 				Note that when setting a |global-local| string | 				Note that when setting a |global-local| string | ||||||
| 				option with |:set|, then |v:option_old| is the | 				option with |:set|, then |v:option_old| is the | ||||||
| 				old global value. However, for all other kinds | 				old global value. However, for all other kinds | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *builtin.txt*	For Vim version 9.0.  Last change: 2023 May 12 | *builtin.txt*	For Vim version 9.0.  Last change: 2023 Jun 08 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -1594,7 +1594,7 @@ clearmatches([{win}])					*clearmatches()* | |||||||
| 		Can also be used as a |method|: > | 		Can also be used as a |method|: > | ||||||
| 			GetWin()->clearmatches() | 			GetWin()->clearmatches() | ||||||
| < | < | ||||||
| col({expr} [, {winid})					*col()* | col({expr} [, {winid}])					*col()* | ||||||
| 		The result is a Number, which is the byte index of the column | 		The result is a Number, which is the byte index of the column | ||||||
| 		position given with {expr}.  The accepted positions are: | 		position given with {expr}.  The accepted positions are: | ||||||
| 		    .	    the cursor position | 		    .	    the cursor position | ||||||
| @@ -1657,7 +1657,7 @@ complete({startcol}, {matches})			*complete()* *E785* | |||||||
| 		Example: > | 		Example: > | ||||||
| 	inoremap <F5> <C-R>=ListMonths()<CR> | 	inoremap <F5> <C-R>=ListMonths()<CR> | ||||||
|  |  | ||||||
| 	func! ListMonths() | 	func ListMonths() | ||||||
| 	  call complete(col('.'), ['January', 'February', 'March', | 	  call complete(col('.'), ['January', 'February', 'March', | ||||||
| 		\ 'April', 'May', 'June', 'July', 'August', 'September', | 		\ 'April', 'May', 'June', 'July', 'August', 'September', | ||||||
| 		\ 'October', 'November', 'December']) | 		\ 'October', 'November', 'December']) | ||||||
| @@ -1922,7 +1922,7 @@ cursor({list}) | |||||||
| 		This is like the return value of |getpos()| or |getcurpos()|, | 		This is like the return value of |getpos()| or |getcurpos()|, | ||||||
| 		but without the first item. | 		but without the first item. | ||||||
|  |  | ||||||
| 		To position the cursor using the character count, use | 		To position the cursor using {col} as the character count, use | ||||||
| 		|setcursorcharpos()|. | 		|setcursorcharpos()|. | ||||||
|  |  | ||||||
| 		Does not change the jumplist. | 		Does not change the jumplist. | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *cmdline.txt*   For Vim version 9.0.  Last change: 2023 Feb 08 | *cmdline.txt*   For Vim version 9.0.  Last change: 2023 May 20 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -962,9 +962,10 @@ Note: these are typed literally, they are not special keys! | |||||||
| 		   write.  *E495* | 		   write.  *E495* | ||||||
| 							*:<abuf>* *<abuf>* | 							*:<abuf>* *<abuf>* | ||||||
| 	<abuf>     When executing autocommands, is replaced with the currently | 	<abuf>     When executing autocommands, is replaced with the currently | ||||||
| 		   effective buffer number (for ":r file" and ":so file" it is | 		   effective buffer number.  It is not set for all events, | ||||||
| 		   the current buffer, the file being read/sourced is not in a | 		   also see |bufnr()|.  For ":r file" and ":so file" it is the | ||||||
| 		   buffer).  *E496* | 		   current buffer, the file being read/sourced is not in a | ||||||
|  | 		   buffer.  *E496* | ||||||
| 							*:<amatch>* *<amatch>* | 							*:<amatch>* *<amatch>* | ||||||
| 	<amatch>   When executing autocommands, is replaced with the match for | 	<amatch>   When executing autocommands, is replaced with the match for | ||||||
| 		   which this autocommand was executed.  *E497* | 		   which this autocommand was executed.  *E497* | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *eval.txt*	For Vim version 9.0.  Last change: 2023 Apr 24 | *eval.txt*	For Vim version 9.0.  Last change: 2023 Jun 01 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -3091,7 +3091,7 @@ text... | |||||||
| 				let mylist = [1, 2, 3] | 				let mylist = [1, 2, 3] | ||||||
| 				lockvar 0 mylist | 				lockvar 0 mylist | ||||||
| 				let mylist[0] = 77	" OK | 				let mylist[0] = 77	" OK | ||||||
| 				call add(mylist, 4]	" OK | 				call add(mylist, 4)	" OK | ||||||
| 				let mylist = [7, 8, 9]  " Error! | 				let mylist = [7, 8, 9]  " Error! | ||||||
| <								*E743* | <								*E743* | ||||||
| 			For unlimited depth use [!] and omit [depth]. | 			For unlimited depth use [!] and omit [depth]. | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *map.txt*       For Vim version 9.0.  Last change: 2023 May 12 | *map.txt*       For Vim version 9.0.  Last change: 2023 May 28 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *message.txt*   For Vim version 9.0.  Last change: 2022 Oct 18 | *message.txt*   For Vim version 9.0.  Last change: 2023 May 24 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *options.txt*	For Vim version 9.0.  Last change: 2023 May 04 | *options.txt*	For Vim version 9.0.  Last change: 2023 Jun 02 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -7135,7 +7135,7 @@ A jump table for the options with a short description can be found at |Q_op|. | |||||||
| 			local to buffer | 			local to buffer | ||||||
| 	Number of spaces to use for each step of (auto)indent.  Used for | 	Number of spaces to use for each step of (auto)indent.  Used for | ||||||
| 	|'cindent'|, |>>|, |<<|, etc. | 	|'cindent'|, |>>|, |<<|, etc. | ||||||
| 	When zero the 'ts' value will be used.  Use the |shiftwidth()| | 	When zero the 'tabstop' value will be used.  Use the |shiftwidth()| | ||||||
| 	function to get the effective shiftwidth value. | 	function to get the effective shiftwidth value. | ||||||
|  |  | ||||||
| 						*'shortmess'* *'shm'* | 						*'shortmess'* *'shm'* | ||||||
| @@ -7434,6 +7434,8 @@ A jump table for the options with a short description can be found at |Q_op|. | |||||||
| 	line in the window wraps part of it may not be visible, as if it is | 	line in the window wraps part of it may not be visible, as if it is | ||||||
| 	above the window. "<<<" is displayed at the start of the first line, | 	above the window. "<<<" is displayed at the start of the first line, | ||||||
| 	highlighted with |hl-NonText|. | 	highlighted with |hl-NonText|. | ||||||
|  | 	You may also want to add "lastline" to the 'display' option to show as | ||||||
|  | 	much of the last line as possible. | ||||||
| 	NOTE: only partly implemented, currently works with CTRL-E, CTRL-Y | 	NOTE: only partly implemented, currently works with CTRL-E, CTRL-Y | ||||||
| 	and scrolling with the mouse. | 	and scrolling with the mouse. | ||||||
|  |  | ||||||
| @@ -8044,13 +8046,25 @@ A jump table for the options with a short description can be found at |Q_op|. | |||||||
| 	   (or 3 or whatever you prefer) and use 'noexpandtab'.  Then Vim | 	   (or 3 or whatever you prefer) and use 'noexpandtab'.  Then Vim | ||||||
| 	   will use a mix of tabs and spaces, but typing <Tab> and <BS> will | 	   will use a mix of tabs and spaces, but typing <Tab> and <BS> will | ||||||
| 	   behave like a tab appears every 4 (or 3) characters. | 	   behave like a tab appears every 4 (or 3) characters. | ||||||
| 	2. Set 'tabstop' and 'shiftwidth' to whatever you prefer and use | 	   This is the recommended way, the file will look the same with other | ||||||
|  | 	   tools and when listing it in a terminal. | ||||||
|  | 	2. Set 'softtabstop' and 'shiftwidth' to whatever you prefer and use | ||||||
|  | 	   'expandtab'.  This way you will always insert spaces.  The | ||||||
|  | 	   formatting will never be messed up when 'tabstop' is changed (leave | ||||||
|  | 	   it at 8 just in case).  The file will be a bit larger. | ||||||
|  | 	   You do need to check if no Tabs exist in the file.  You can get rid | ||||||
|  | 	   of them by first setting 'expandtab' and using `%retab!`, making | ||||||
|  | 	   sure the value of 'tabstop' is set correctly. | ||||||
|  | 	3. Set 'tabstop' and 'shiftwidth' to whatever you prefer and use | ||||||
| 	   'expandtab'.  This way you will always insert spaces.  The | 	   'expandtab'.  This way you will always insert spaces.  The | ||||||
| 	   formatting will never be messed up when 'tabstop' is changed. | 	   formatting will never be messed up when 'tabstop' is changed. | ||||||
| 	3. Set 'tabstop' and 'shiftwidth' to whatever you prefer and use a | 	   You do need to check if no Tabs exist in the file, just like in the | ||||||
|  | 	   item just above. | ||||||
|  | 	4. Set 'tabstop' and 'shiftwidth' to whatever you prefer and use a | ||||||
| 	   |modeline| to set these values when editing the file again.  Only | 	   |modeline| to set these values when editing the file again.  Only | ||||||
| 	   works when using Vim to edit the file. | 	   works when using Vim to edit the file, other tools assume a tabstop | ||||||
| 	4. Always set 'tabstop' and 'shiftwidth' to the same value, and | 	   is worth 8 spaces. | ||||||
|  | 	5. Always set 'tabstop' and 'shiftwidth' to the same value, and | ||||||
| 	   'noexpandtab'.  This should then work (for initial indents only) | 	   'noexpandtab'.  This should then work (for initial indents only) | ||||||
| 	   for any tabstop setting that people use.  It might be nice to have | 	   for any tabstop setting that people use.  It might be nice to have | ||||||
| 	   tabs after the first non-blank inserted as spaces if you do this | 	   tabs after the first non-blank inserted as spaces if you do this | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *repeat.txt*    For Vim version 9.0.  Last change: 2023 May 01 | *repeat.txt*    For Vim version 9.0.  Last change: 2023 May 26 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -308,8 +308,8 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. | |||||||
| 			'runtimepath'. | 			'runtimepath'. | ||||||
|  |  | ||||||
| 			If the filetype detection was not enabled yet (this | 			If the filetype detection was not enabled yet (this | ||||||
| 			is usually done with a "syntax enable" or "filetype | 			is usually done with a `syntax enable` or `filetype on` | ||||||
| 			on" command in your .vimrc file), this will also look | 			command in your .vimrc file), this will also look | ||||||
| 			for "{name}/ftdetect/*.vim" files. | 			for "{name}/ftdetect/*.vim" files. | ||||||
|  |  | ||||||
| 			When the optional ! is added no plugin files or | 			When the optional ! is added no plugin files or | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *spell.txt*	For Vim version 9.0.  Last change: 2023 Apr 21 | *spell.txt*	For Vim version 9.0.  Last change: 2023 May 25 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -122,7 +122,7 @@ zuG			Undo |zW| and |zG|, remove the word from the internal | |||||||
| 			list, like with |zW|. | 			list, like with |zW|. | ||||||
|  |  | ||||||
| 							*:spellra* *:spellrare* | 							*:spellra* *:spellrare* | ||||||
| :[count]spellr[are] {word} | :[count]spellra[re] {word} | ||||||
| 			Add {word} as a rare word to 'spellfile', similar to | 			Add {word} as a rare word to 'spellfile', similar to | ||||||
| 			|zw|.  Without count the first name is used, with | 			|zw|.  Without count the first name is used, with | ||||||
| 			a count of two the second entry, etc. | 			a count of two the second entry, etc. | ||||||
| @@ -135,7 +135,7 @@ zuG			Undo |zW| and |zG|, remove the word from the internal | |||||||
| 		nnoremap z/  :exe ':spellrare! ' .. expand('<cWORD>')<CR> | 		nnoremap z/  :exe ':spellrare! ' .. expand('<cWORD>')<CR> | ||||||
| <			|:spellundo|, |zuw|, or |zuW| can be used to undo this. | <			|:spellundo|, |zuw|, or |zuW| can be used to undo this. | ||||||
|  |  | ||||||
| :spellr[rare]! {word}	Add {word} as a rare word to the internal word | :spellra[re]! {word}	Add {word} as a rare word to the internal word | ||||||
| 			list, similar to |zW|. | 			list, similar to |zW|. | ||||||
|  |  | ||||||
| :[count]spellu[ndo] {word}				*:spellu* *:spellundo* | :[count]spellu[ndo] {word}				*:spellu* *:spellundo* | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *starting.txt*  For Vim version 9.0.  Last change: 2022 Nov 30 | *starting.txt*  For Vim version 9.0.  Last change: 2023 May 30 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -792,9 +792,11 @@ accordingly.  Vim proceeds in this order: | |||||||
|  |  | ||||||
| 2. Process the arguments | 2. Process the arguments | ||||||
| 	The options and file names from the command that start Vim are | 	The options and file names from the command that start Vim are | ||||||
| 	inspected.  Buffers are created for all files (but not loaded yet). | 	inspected. | ||||||
| 	The |-V| argument can be used to display or log what happens next, | 	The |-V| argument can be used to display or log what happens next, | ||||||
| 	useful for debugging the initializations. | 	useful for debugging the initializations. | ||||||
|  | 	The |--cmd| arguments are executed. | ||||||
|  | 	Buffers are created for all files (but not loaded yet). | ||||||
|  |  | ||||||
| 3. Execute Ex commands, from environment variables and/or files | 3. Execute Ex commands, from environment variables and/or files | ||||||
| 	An environment variable is read as one Ex command line, where multiple | 	An environment variable is read as one Ex command line, where multiple | ||||||
|   | |||||||
| @@ -4653,6 +4653,7 @@ E337	gui.txt	/*E337* | |||||||
| E338	editing.txt	/*E338* | E338	editing.txt	/*E338* | ||||||
| E339	message.txt	/*E339* | E339	message.txt	/*E339* | ||||||
| E34	various.txt	/*E34* | E34	various.txt	/*E34* | ||||||
|  | E340	message.txt	/*E340* | ||||||
| E341	message.txt	/*E341* | E341	message.txt	/*E341* | ||||||
| E342	message.txt	/*E342* | E342	message.txt	/*E342* | ||||||
| E343	options.txt	/*E343* | E343	options.txt	/*E343* | ||||||
| @@ -8158,6 +8159,7 @@ intel-itanium	syntax.txt	/*intel-itanium* | |||||||
| intellimouse-wheel-problems	gui_w32.txt	/*intellimouse-wheel-problems* | intellimouse-wheel-problems	gui_w32.txt	/*intellimouse-wheel-problems* | ||||||
| interactive-functions	usr_41.txt	/*interactive-functions* | interactive-functions	usr_41.txt	/*interactive-functions* | ||||||
| interfaces-5.2	version5.txt	/*interfaces-5.2* | interfaces-5.2	version5.txt	/*interfaces-5.2* | ||||||
|  | internal-error	message.txt	/*internal-error* | ||||||
| internal-variables	eval.txt	/*internal-variables* | internal-variables	eval.txt	/*internal-variables* | ||||||
| internal-wordlist	spell.txt	/*internal-wordlist* | internal-wordlist	spell.txt	/*internal-wordlist* | ||||||
| internet	intro.txt	/*internet* | internet	intro.txt	/*internet* | ||||||
| @@ -10883,6 +10885,7 @@ vim9-declaration	vim9.txt	/*vim9-declaration* | |||||||
| vim9-declarations	usr_41.txt	/*vim9-declarations* | vim9-declarations	usr_41.txt	/*vim9-declarations* | ||||||
| vim9-differences	vim9.txt	/*vim9-differences* | vim9-differences	vim9.txt	/*vim9-differences* | ||||||
| vim9-export	vim9.txt	/*vim9-export* | vim9-export	vim9.txt	/*vim9-export* | ||||||
|  | vim9-false-true	vim9.txt	/*vim9-false-true* | ||||||
| vim9-final	vim9.txt	/*vim9-final* | vim9-final	vim9.txt	/*vim9-final* | ||||||
| vim9-function-defined-later	vim9.txt	/*vim9-function-defined-later* | vim9-function-defined-later	vim9.txt	/*vim9-function-defined-later* | ||||||
| vim9-gotchas	vim9.txt	/*vim9-gotchas* | vim9-gotchas	vim9.txt	/*vim9-gotchas* | ||||||
| @@ -10900,6 +10903,7 @@ vim9-rationale	vim9.txt	/*vim9-rationale* | |||||||
| vim9-reload	vim9.txt	/*vim9-reload* | vim9-reload	vim9.txt	/*vim9-reload* | ||||||
| vim9-s-namespace	vim9.txt	/*vim9-s-namespace* | vim9-s-namespace	vim9.txt	/*vim9-s-namespace* | ||||||
| vim9-scopes	vim9.txt	/*vim9-scopes* | vim9-scopes	vim9.txt	/*vim9-scopes* | ||||||
|  | vim9-string-index	vim9.txt	/*vim9-string-index* | ||||||
| vim9-types	vim9.txt	/*vim9-types* | vim9-types	vim9.txt	/*vim9-types* | ||||||
| vim9-unpack-ignore	vim9.txt	/*vim9-unpack-ignore* | vim9-unpack-ignore	vim9.txt	/*vim9-unpack-ignore* | ||||||
| vim9-user-command	vim9.txt	/*vim9-user-command* | vim9-user-command	vim9.txt	/*vim9-user-command* | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *terminal.txt*	For Vim version 9.0.  Last change: 2022 Nov 10 | *terminal.txt*	For Vim version 9.0.  Last change: 2023 Jun 09 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -1452,8 +1452,8 @@ If there is no g:termdebug_config you can use: > | |||||||
| 	let g:termdebug_map_K = 0 | 	let g:termdebug_map_K = 0 | ||||||
| < | < | ||||||
| 						*termdebug_disasm_window* | 						*termdebug_disasm_window* | ||||||
| If you want the Asm window shown by default, set the flag to 1. | If you want the Asm window shown by default, set the "disasm_window" flag to | ||||||
| the "disasm_window_height" entry can be used to set the window height: > | 1.  The "disasm_window_height" entry can be used to set the window height: > | ||||||
| 	let g:termdebug_config['disasm_window'] = 1 | 	let g:termdebug_config['disasm_window'] = 1 | ||||||
| 	let g:termdebug_config['disasm_window_height'] = 15 | 	let g:termdebug_config['disasm_window_height'] = 15 | ||||||
| If there is no g:termdebug_config you can use: > | If there is no g:termdebug_config you can use: > | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *testing.txt*	For Vim version 9.0.  Last change: 2023 May 04 | *testing.txt*	For Vim version 9.0.  Last change: 2023 May 18 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -166,15 +166,17 @@ test_gui_event({event}, {args}) | |||||||
| 		  Set or drag the left, right or horizontal scrollbar.  Only | 		  Set or drag the left, right or horizontal scrollbar.  Only | ||||||
| 		  works when the scrollbar actually exists.  The supported | 		  works when the scrollbar actually exists.  The supported | ||||||
| 		  items in {args} are: | 		  items in {args} are: | ||||||
| 		    which:	scrollbar. The supported values are: | 		    which:	Selects the scrollbar. The supported values | ||||||
|  | 				are: | ||||||
| 				    left  Left scrollbar of the current window | 				    left  Left scrollbar of the current window | ||||||
| 				    right Right scrollbar of the current window | 				    right Right scrollbar of the current window | ||||||
| 				    hor   Horizontal scrollbar | 				    hor   Horizontal scrollbar | ||||||
| 		    value:	amount to scroll.  For the vertical scrollbars | 		    value:	Amount to scroll.  For the vertical scrollbars | ||||||
| 				the value can be 1 to the line-count of the | 				the value can be between 0 to the line-count | ||||||
| 				buffer.  For the horizontal scrollbar the | 				of the buffer minus one.  For the horizontal | ||||||
| 				value can be between 1 and the maximum line | 				scrollbar the value can be between 1 and the | ||||||
| 				length, assuming 'wrap' is not set. | 				maximum line length, assuming 'wrap' is not | ||||||
|  | 				set. | ||||||
| 		    dragging:	1 to drag the scrollbar and 0 to click in the | 		    dragging:	1 to drag the scrollbar and 0 to click in the | ||||||
| 				scrollbar. | 				scrollbar. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *todo.txt*      For Vim version 9.0.  Last change: 2023 May 13 | *todo.txt*      For Vim version 9.0.  Last change: 2023 Jun 08 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -38,11 +38,12 @@ browser use: https://github.com/vim/vim/issues/1234 | |||||||
| 							*known-bugs* | 							*known-bugs* | ||||||
| -------------------- Known bugs and current work ----------------------- | -------------------- Known bugs and current work ----------------------- | ||||||
|  |  | ||||||
| Crash when splitting window: #11961.  Set RedrawingDisabled in | FILETYPE_FILE is defined to the same value in multiple places. | ||||||
| win_split_ins(). | Only use the one in feature.h.  Others too. | ||||||
|  |  | ||||||
| CTRL-J mapping is not used if halfway another mapping. #12002 | Mapping with modifier is not recognized after a partial mapping.  Probably | ||||||
| Is simplified mapping not used but escape code has been simplified? | because the typeahead was simplified when looking for a matching mapping. | ||||||
|  | Need to somehow undo the simplification.  #12002 | ||||||
|  |  | ||||||
| Windows scroll when using the autocmd window.  #12085 | Windows scroll when using the autocmd window.  #12085 | ||||||
| in restore_snapshot_rec() restore more values from the snapshot, instead of | in restore_snapshot_rec() restore more values from the snapshot, instead of | ||||||
| @@ -57,6 +58,8 @@ When a help item can't be found, then open 'helpfile'.  Search for the tag in | |||||||
| that file and gtive E149 only when not found.  Helps for a tiny Vim installed | that file and gtive E149 only when not found.  Helps for a tiny Vim installed | ||||||
| without all the help files. | without all the help files. | ||||||
|  |  | ||||||
|  | SpellCap highlight not updated - PR #12428 | ||||||
|  |  | ||||||
| Virtual text problems: | Virtual text problems: | ||||||
| -  Deleting character before a wrapping virtual text, causes for the following | -  Deleting character before a wrapping virtual text, causes for the following | ||||||
|    lines to dissapear (Issue #12244) |    lines to dissapear (Issue #12244) | ||||||
| @@ -64,10 +67,15 @@ Virtual text problems: | |||||||
|    gone (Issue #12028) |    gone (Issue #12028) | ||||||
| -  Virtual text aligned "above": Wrong indentation when using tabs  (Issue | -  Virtual text aligned "above": Wrong indentation when using tabs  (Issue | ||||||
|    #12232) |    #12232) | ||||||
|  | -  Virtual text to the right of the line that isn't visible doesn't cause the | ||||||
|  |    'extends' character to show in 'list' mode.  #12478 | ||||||
| -  Virtual text to the right of the line that fits exactly on screen causes | -  Virtual text to the right of the line that fits exactly on screen causes | ||||||
|    that line and all lines below it not to be displayed (Issue #12213) |    that line and all lines below it not to be displayed (Issue #12213) | ||||||
| -  Window screen gets wrong when a virtual text is placed on 'above' or | -  Window screen gets wrong when a virtual text is placed on 'above' or | ||||||
|    'below' on an empty line (Issue #11959) |    'below' on an empty line (Issue #11959) | ||||||
|  | -  truncated Virtual text below an empty line causes display error #12493 | ||||||
|  |  | ||||||
|  | include #12403: window for Termdebug showing local variables | ||||||
|  |  | ||||||
| include #12140: positional arguments in printf(), fixes #10577 | include #12140: positional arguments in printf(), fixes #10577 | ||||||
|  |  | ||||||
| @@ -80,6 +88,10 @@ highlighted. (van-de-bugger, 2018 Jan 23, #2576) | |||||||
|  |  | ||||||
| Improve profiling by caching matching functions:  PR  #12192 | Improve profiling by caching matching functions:  PR  #12192 | ||||||
|  |  | ||||||
|  | With 'smoothscroll' set and "lastline" in 'display', moving the cursor to a | ||||||
|  | wrapping line that makes the display scroll up may scroll much more than | ||||||
|  | needed, thus jump-scrolling. (part of issue 12411) | ||||||
|  |  | ||||||
| Add filecopy() ?  #12346 | Add filecopy() ?  #12346 | ||||||
|  |  | ||||||
| Implement foreach()  PR  #12166 | Implement foreach()  PR  #12166 | ||||||
| @@ -91,12 +103,18 @@ Errors when running tests with valgrind: | |||||||
| - test_gui.vim: | - test_gui.vim: | ||||||
|     Found errors in Test_gui_mouse_event(): |     Found errors in Test_gui_mouse_event(): | ||||||
|  |  | ||||||
|  | When every block in if/elseif ends in "throw" or "return" code following after | ||||||
|  | "endif" should give an "unreachable code" error. | ||||||
|  |  | ||||||
| Upcoming larger works: | Upcoming larger works: | ||||||
| - Make spell checking work with recent .dic/.aff files, e.g. French.  #4916 | - Make spell checking work with recent .dic/.aff files, e.g. French.  #4916 | ||||||
|     Make Vim understand the format somehow?   Search for "spell" below. |     Make Vim understand the format somehow?   Search for "spell" below. | ||||||
|     Make sure suggestions are speedy, also with composed words (German). |     Make sure suggestions are speedy, also with composed words (German). | ||||||
| - Make syntax highlighting faster and better.  Discuss alternatives for using | - Make syntax highlighting faster and better. | ||||||
|   other grammars (treesitter, TextMate). |   Add a generic mechanism to test a syntax plugin: An input file for the | ||||||
|  |   filetype and a screendump of expected result.  With a way to specify the | ||||||
|  |   setup (global variables) and another dump file from that. | ||||||
|  |   Discuss alternatives for using other grammars (treesitter, TextMate). | ||||||
|    - Possibly conversion to Vim syntax rules. |    - Possibly conversion to Vim syntax rules. | ||||||
|    - Other mechanism than group and cluster to nest syntax items, to be used |    - Other mechanism than group and cluster to nest syntax items, to be used | ||||||
|      for grammars. |      for grammars. | ||||||
| @@ -116,11 +134,20 @@ Further Vim9 improvements, possibly after launch: | |||||||
| - implement :class and :interface: See |vim9-classes | - implement :class and :interface: See |vim9-classes | ||||||
|   - Change access: public by default, private by prefixing "_". |   - Change access: public by default, private by prefixing "_". | ||||||
| 	Check for error: can't have same name twice (ignoring "_" prefix). | 	Check for error: can't have same name twice (ignoring "_" prefix). | ||||||
|  |   - Private methods? | ||||||
|  | 	either: private def Func() | ||||||
|  | 	    or: def _Func() | ||||||
|  |     Perhaps use "private" keyword instead of "_" prefix? | ||||||
|  |   - "final" object members - can only be set in the constructor. | ||||||
|   - Cannot use class type of itself in the method (Issue #12369) |   - Cannot use class type of itself in the method (Issue #12369) | ||||||
|  |   - Cannot use an object method in a lambda  #12417 | ||||||
|  | 	Define all methods before compiling them? | ||||||
|   - class members initialized during definition (Issue #12041) |   - class members initialized during definition (Issue #12041) | ||||||
|   - cannot call class member of funcref type  (Issue #12324) |   - Cannot call class member of funcref type  (Issue #12324) | ||||||
|   - nested function unable to directly modify private member (Issue #12076) | 	Also #12081 first case. | ||||||
|       And: can't use "this" keyword in lambda function (Issue #12336) |   - Using list of functions does not work #12081 (repro in later message). | ||||||
|  |   - Weird `class X not found on interface X` error (Issue #12023) | ||||||
|  |   - First argument of call() cannot be "obj.Func". (#11865) | ||||||
|   - "return this" required for early return from constructor (inconsistent) |   - "return this" required for early return from constructor (inconsistent) | ||||||
|     (Issue #12040) |     (Issue #12040) | ||||||
|   - class/method confusion inside ":def" when using "class extends" (Issue |   - class/method confusion inside ":def" when using "class extends" (Issue | ||||||
| @@ -135,11 +162,6 @@ Further Vim9 improvements, possibly after launch: | |||||||
| 	email lifepillar 2023 Mar 26 | 	email lifepillar 2023 Mar 26 | ||||||
|   - Getting member of variable with "any" type should be handled at runtime. |   - Getting member of variable with "any" type should be handled at runtime. | ||||||
|     Remove temporary solution from #12096 / patch 9.0.1375. |     Remove temporary solution from #12096 / patch 9.0.1375. | ||||||
|   - Private methods? |  | ||||||
| 	either: private def Func() |  | ||||||
| 	    or: def _Func() |  | ||||||
|     Perhaps use "private" keyword instead of "_" prefix? |  | ||||||
|   - "final" object members - can only be set in the constructor. |  | ||||||
|   - "obj.Method()" does not always work in a compiled function, assumes "obj" |   - "obj.Method()" does not always work in a compiled function, assumes "obj" | ||||||
|     is a dictionary.  #12196  Issue #12024 might be the same problem. |     is a dictionary.  #12196  Issue #12024 might be the same problem. | ||||||
|     Issue #11822: any.Func() can be a dict or an object call, need to handle |     Issue #11822: any.Func() can be a dict or an object call, need to handle | ||||||
| @@ -173,20 +195,16 @@ Further Vim9 improvements, possibly after launch: | |||||||
| - Implement as part of an expression: ++expr, --expr, expr++, expr--. | - Implement as part of an expression: ++expr, --expr, expr++, expr--. | ||||||
|  |  | ||||||
| Information missing in terminfo: | Information missing in terminfo: | ||||||
|  | - Codes used for focus gained and lost termcodes are hard-coded in | ||||||
|  |   set_termname(), not named. | ||||||
|  | - t_fe	enable focus-event tracking | ||||||
|  | - t_fd	disable focus-event tracking | ||||||
| - Accept "hyper" and "meta" modifiers (16 and 32) from Kitty like Meta? | - Accept "hyper" and "meta" modifiers (16 and 32) from Kitty like Meta? | ||||||
|     8 is actually "super". |     8 is actually "super". | ||||||
| - t_RV	request terminal version string; xterm:	"\033[>c" | - t_RV	request terminal version string; xterm:	"\033[>c" | ||||||
|     change in terminfo for "RV" uses the wrong escape sequence 7 - 14 Jan only |     change in terminfo for "RV" uses the wrong escape sequence 7 - 14 Jan only | ||||||
| - Codes for <PasteStart> t_PS and <PasteEnd> t_PE; with bracketed paste: | - Codes for <PasteStart> t_PS and <PasteEnd> t_PE; with bracketed paste: | ||||||
|     t_BE and t_BD. |     t_BE and t_BD. | ||||||
| - Codes used for focus gained and lost (currently using use_xterm_like_mouse()) |  | ||||||
|   termcodes are hard-coded in set_termname(), not named. |  | ||||||
|     Use the XF flag?  enables recognizing the focus in/out events. |  | ||||||
|     Check if t_fe is not empty. |  | ||||||
|     Check for "1004" in t_XM. (disadvantage: only focus events when mouse is |  | ||||||
|     used) |  | ||||||
| - t_fe	enable focus-event tracking |  | ||||||
| - t_fd	disable focus-event tracking |  | ||||||
| Modifiers for various keys | Modifiers for various keys | ||||||
| - flag to indicate "xterm compatible modifiers" ? | - flag to indicate "xterm compatible modifiers" ? | ||||||
| Underline and similar: | Underline and similar: | ||||||
| @@ -356,6 +374,12 @@ Autoconf: must use autoconf 2.69, later version generates lots of warnings | |||||||
| Problem with Visual highlight when 'linebreak' and 'showbreak' are set. | Problem with Visual highlight when 'linebreak' and 'showbreak' are set. | ||||||
| #11272 | #11272 | ||||||
|  |  | ||||||
|  | 'cindent': compound literal indented wrong.  Check for " = " before "{"? | ||||||
|  | #12491 | ||||||
|  |  | ||||||
|  | GUI Scroll test fails on FreeBSD when using Motif.  See FIXME in | ||||||
|  | Test_scrollbars in src/test_gui.vim | ||||||
|  |  | ||||||
| Selected index returned by complete_info() does not match the index in the | Selected index returned by complete_info() does not match the index in the | ||||||
| list of items.  #12230 | list of items.  #12230 | ||||||
|  |  | ||||||
| @@ -383,6 +407,9 @@ Add BufDeletePost.  #11041 | |||||||
|  |  | ||||||
| Add winid arg to col() and charcol()  #11466 (request #11461) | Add winid arg to col() and charcol()  #11466 (request #11461) | ||||||
|  |  | ||||||
|  | 'switchbuf' set to "newtab" does not work for ":cfirst" when in the quickfix | ||||||
|  | window.  #12436 | ||||||
|  |  | ||||||
| When :argument has a non-number argument, use it like :buffer to find the | When :argument has a non-number argument, use it like :buffer to find the | ||||||
| argument by name.  #12272 | argument by name.  #12272 | ||||||
|  |  | ||||||
| @@ -408,6 +435,10 @@ PR #11579 to add visualtext(), return Visually selected text. | |||||||
|  |  | ||||||
| PR #12032: Support Python 3 stable ABI. | PR #12032: Support Python 3 stable ABI. | ||||||
|  |  | ||||||
|  | PR #11860: Add more info to 'colorcolumn': display a character and highlight | ||||||
|  | for each separate entry.  Disadvantage: option value gets very complicated | ||||||
|  | with multiple entries, e.g. every 8 columns. | ||||||
|  |  | ||||||
| Stray characters in the shell #11719, caused by requesting a response for: | Stray characters in the shell #11719, caused by requesting a response for: | ||||||
| - XT key sequences | - XT key sequences | ||||||
| - Whether modifyOtherKeys is active | - Whether modifyOtherKeys is active | ||||||
| @@ -472,6 +503,10 @@ To avoid flicker: add an option that when a screen clear is requested, instead | |||||||
| of clearing it draws everything and uses "clear to end of line" for every line. | of clearing it draws everything and uses "clear to end of line" for every line. | ||||||
| Resetting 't_ut' already causes this? | Resetting 't_ut' already causes this? | ||||||
|  |  | ||||||
|  | Instead of prefixing "INTERNAL" to internal messages, add a message in iemsg() | ||||||
|  | and siemsg() and translate it.  Messages only given to them don't need | ||||||
|  | translation. | ||||||
|  |  | ||||||
| When scheme can't be found by configure there is no clear "not found" message: | When scheme can't be found by configure there is no clear "not found" message: | ||||||
|     configure:5769: checking MzScheme install prefix |     configure:5769: checking MzScheme install prefix | ||||||
|     configure:5781: result: |     configure:5781: result: | ||||||
| @@ -489,7 +524,10 @@ Idea: when typing ":e /some/dir/" and "dir" does not exist, highlight in red. | |||||||
| initialization to figure out the default value from 'shell'.  Add a test for | initialization to figure out the default value from 'shell'.  Add a test for | ||||||
| this. | this. | ||||||
|  |  | ||||||
| Support translations for plugins: #11637 | Add a diff() function to use the built-in diff support in a script. | ||||||
|  | #12321   Is the returned value in the right form now? | ||||||
|  |  | ||||||
|  | Support translations for plugins: #11637  PR: #12447 | ||||||
| - Need a tool like xgettext for Vim script, generates a .pot file. | - Need a tool like xgettext for Vim script, generates a .pot file. | ||||||
|   Need the equivalent of _() and N_(), perhaps TR() and TRN(). |   Need the equivalent of _() and N_(), perhaps TR() and TRN(). | ||||||
| - Instructions for how to create .po files and translate. | - Instructions for how to create .po files and translate. | ||||||
| @@ -541,6 +579,8 @@ New English spell files also have very slow suggestions. | |||||||
| When 'spelloptions' is "camel" then zG doesn't work on some words. | When 'spelloptions' is "camel" then zG doesn't work on some words. | ||||||
| (Gary Johnson, 17 Oct 2022) | (Gary Johnson, 17 Oct 2022) | ||||||
|  |  | ||||||
|  | SpellCap doesn't show below a closed fold. #12420 | ||||||
|  |  | ||||||
| 'cdpath' problems: | 'cdpath' problems: | ||||||
| - Adding "~" to 'cdpath' doesn't work for completion?  (Davido, 2013 Aug 19) | - Adding "~" to 'cdpath' doesn't work for completion?  (Davido, 2013 Aug 19) | ||||||
| - Problem with 'cdpath' on MS-Windows when a directory is equal to $HOME. | - Problem with 'cdpath' on MS-Windows when a directory is equal to $HOME. | ||||||
| @@ -558,6 +598,11 @@ to tell which value from getvvcol() should be used. (#7964) | |||||||
| Value returned by virtcol() changes depending on how lines wrap.  This is | Value returned by virtcol() changes depending on how lines wrap.  This is | ||||||
| inconsistent with the documentation. | inconsistent with the documentation. | ||||||
|  |  | ||||||
|  | When 'wildignore' has an entry ending in "/*" this means nothing matching the | ||||||
|  | path before it will be added.  When encountering a directory check this and if | ||||||
|  | there is a match do not scan the directory (possibly speeds up :find a lot). | ||||||
|  | #12482 | ||||||
|  |  | ||||||
| globpath() does not use 'wildignorecase' at all? (related to #8350) | globpath() does not use 'wildignorecase' at all? (related to #8350) | ||||||
|  |  | ||||||
| mksession uses :buffer instead of :edit in one place but not another. #10629 | mksession uses :buffer instead of :edit in one place but not another. #10629 | ||||||
| @@ -2270,10 +2315,6 @@ Diff mode out of sync. (Gary Johnson, 2010 Aug 4) | |||||||
| Win32: completion of file name ":e c:\!test" results in ":e c:\\!test", which | Win32: completion of file name ":e c:\!test" results in ":e c:\\!test", which | ||||||
| does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22) | does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22) | ||||||
|  |  | ||||||
| opening/closing window causes other window with 'winfixheight' to change |  | ||||||
| height.  Also happens when there is another window in the frame, if it's not |  | ||||||
| very high. (Yegappan Lakshmanan, 2010 Jul 22, Michael Peeters, 2010 Jul 22) |  | ||||||
|  |  | ||||||
| Using ~ works OK on 'a' with composing char, but not on 0x0418  with composing | Using ~ works OK on 'a' with composing char, but not on 0x0418  with composing | ||||||
| char 0x0301. (Tony Mechelynck, 2009 Mar 4) | char 0x0301. (Tony Mechelynck, 2009 Mar 4) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *userfunc.txt*	For Vim version 9.0.  Last change: 2023 Feb 02 | *userfunc.txt*	For Vim version 9.0.  Last change: 2023 May 23 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -51,6 +51,13 @@ define a global function. | |||||||
| 			{name} can also be a |Dictionary| entry that is a | 			{name} can also be a |Dictionary| entry that is a | ||||||
| 			|Funcref|: > | 			|Funcref|: > | ||||||
| 				:function dict.init | 				:function dict.init | ||||||
|  | <			Note that {name} is not an expression, you cannot use | ||||||
|  | 			a variable that is a function reference.  You can use | ||||||
|  | 			this dirty trick to list the function referred to with | ||||||
|  | 			variable "Funcref": > | ||||||
|  | 				let g:MyFuncref = Funcref | ||||||
|  | 				func g:MyFuncref | ||||||
|  | 				unlet g:MyFuncref | ||||||
|  |  | ||||||
| :fu[nction] /{pattern}	List functions with a name matching {pattern}. | :fu[nction] /{pattern}	List functions with a name matching {pattern}. | ||||||
| 			Example that lists all functions ending with "File": > | 			Example that lists all functions ending with "File": > | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| *vim9.txt*	For Vim version 9.0.  Last change: 2023 Mar 07 | *vim9.txt*	For Vim version 9.0.  Last change: 2023 Jun 10 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | 		  VIM REFERENCE MANUAL	  by Bram Moolenaar | ||||||
| @@ -117,6 +117,9 @@ script and `:def` functions; details are below: | |||||||
| - Unless mentioned specifically, the highest |scriptversion| is used. | - Unless mentioned specifically, the highest |scriptversion| is used. | ||||||
| - When defining an expression mapping, the expression will be evaluated in the | - When defining an expression mapping, the expression will be evaluated in the | ||||||
|   context of the script where it was defined. |   context of the script where it was defined. | ||||||
|  | - When indexing a string the index is counted in characters, not bytes: | ||||||
|  |   |vim9-string-index| | ||||||
|  | - Some possibly unexpected differences: |vim9-gotchas|. | ||||||
|  |  | ||||||
|  |  | ||||||
| Comments starting with # ~ | Comments starting with # ~ | ||||||
| @@ -190,8 +193,8 @@ created yet.  In this case you can call `execute()` to invoke it at runtime. > | |||||||
| used for the command or the error was caught a `:try` block), does not get a | used for the command or the error was caught a `:try` block), does not get a | ||||||
| range passed, cannot be a "dict" function, and can always be a closure. | range passed, cannot be a "dict" function, and can always be a closure. | ||||||
| 						*vim9-no-dict-function* | 						*vim9-no-dict-function* | ||||||
| Later classes will be added, which replaces the "dict function" mechanism. | You can use a Vim9 Class (|Vim9-class|) instead of a "dict function". | ||||||
| For now you will need to pass the dictionary explicitly: > | You can also pass the dictionary explicitly: > | ||||||
| 	def DictFunc(self: dict<any>, arg: string) | 	def DictFunc(self: dict<any>, arg: string) | ||||||
| 	   echo self[arg] | 	   echo self[arg] | ||||||
| 	enddef | 	enddef | ||||||
| @@ -1056,11 +1059,11 @@ It is possible to compare `null`  with any value, this will not give a type | |||||||
| error.  However, comparing `null` with a number, float or bool will always | error.  However, comparing `null` with a number, float or bool will always | ||||||
| result in `false`.  This is different from legacy script, where comparing | result in `false`.  This is different from legacy script, where comparing | ||||||
| `null` with zero or `false` would return `true`. | `null` with zero or `false` would return `true`. | ||||||
|  | 							*vim9-false-true* | ||||||
| When converting a boolean to a string `false` and `true` are used, not | When converting a boolean to a string `false` and `true` are used, not | ||||||
| `v:false` and `v:true` like in legacy script.  `v:none` has no `none` | `v:false` and `v:true` like in legacy script.  `v:none` has no `none` | ||||||
| replacement, it has no equivalent in other languages. | replacement, it has no equivalent in other languages. | ||||||
|  | 							*vim9-string-index* | ||||||
| Indexing a string with [idx] or taking a slice with [idx : idx] uses character | Indexing a string with [idx] or taking a slice with [idx : idx] uses character | ||||||
| indexes instead of byte indexes.  Composing characters are included. | indexes instead of byte indexes.  Composing characters are included. | ||||||
| Example: > | Example: > | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| " Vim support file to detect file types | " Vim support file to detect file types | ||||||
| " | " | ||||||
| " Maintainer:	Bram Moolenaar <Bram@vim.org> | " Maintainer:	Bram Moolenaar <Bram@vim.org> | ||||||
| " Last Change:	2023 May 10 | " Last Change:	2023 Jun 09 | ||||||
|  |  | ||||||
| " Listen very carefully, I will say this only once | " Listen very carefully, I will say this only once | ||||||
| if exists("did_load_filetypes") | if exists("did_load_filetypes") | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								runtime/ftplugin/corn.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								runtime/ftplugin/corn.vim
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | " Vim filetype plugin | ||||||
|  | " Language:         Corn | ||||||
|  | " Original Author:  Jake Stanger (mail@jstanger.dev)  | ||||||
|  | " License:          MIT | ||||||
|  | " Last Change:      2023 May 28 | ||||||
|  |  | ||||||
|  | if exists('b:did_ftplugin') | ||||||
|  |   finish | ||||||
|  | endif | ||||||
|  | let b:did_ftplugin = 1 | ||||||
|  |  | ||||||
|  | setlocal formatoptions-=t | ||||||
|  |  | ||||||
|  | " Set comment (formatting) related options. | ||||||
|  | setlocal commentstring=//\ %s comments=://  | ||||||
|  |  | ||||||
|  | " Let Vim know how to disable the plug-in. | ||||||
|  | let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions<' | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| " Vim filetype plugin file | " Vim filetype plugin file | ||||||
| " Language:     Fennel | " Language:     Fennel | ||||||
| " Maintainer:   Gregory Anders <greg[NOSPAM]@gpanders.com> | " Maintainer:   Gregory Anders <greg[NOSPAM]@gpanders.com> | ||||||
| " Last Update:  2022 Apr 20 | " Last Update:  2023 Jun 9 | ||||||
|  |  | ||||||
| if exists('b:did_ftplugin') | if exists('b:did_ftplugin') | ||||||
|   finish |   finish | ||||||
| @@ -13,6 +13,6 @@ setlocal comments=:;;,:; | |||||||
| setlocal formatoptions-=t | setlocal formatoptions-=t | ||||||
| setlocal suffixesadd=.fnl | setlocal suffixesadd=.fnl | ||||||
| setlocal lisp | setlocal lisp | ||||||
| setlocal lispwords=accumulate,collect,do,doto,each,eval-compiler,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open | setlocal lispwords=accumulate,case,case-try,collect,do,doto,each,eval-compiler,faccumulate,fcollect,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open | ||||||
|  |  | ||||||
| let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<' | let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<' | ||||||
|   | |||||||
							
								
								
									
										20
									
								
								runtime/ftplugin/urlshortcut.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								runtime/ftplugin/urlshortcut.vim
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | " Vim filetype plugin file | ||||||
|  | " Language:             MS Windows URL shortcut file | ||||||
|  | " Maintainer:           ObserverOfTime <chronobserver@disroot.org> | ||||||
|  | " Latest Revision:      2023-06-04 | ||||||
|  |  | ||||||
|  | if exists("b:did_ftplugin") | ||||||
|  |   finish | ||||||
|  | endif | ||||||
|  | let b:did_ftplugin = 1 | ||||||
|  |  | ||||||
|  | let s:cpo_save = &cpoptions | ||||||
|  | set cpoptions&vim | ||||||
|  |  | ||||||
|  | let b:undo_ftplugin = "setl com< cms< fo<" | ||||||
|  |  | ||||||
|  | setlocal comments=:; commentstring=;\ %s | ||||||
|  | setlocal formatoptions-=t formatoptions+=croql | ||||||
|  |  | ||||||
|  | let &cpoptions = s:cpo_save | ||||||
|  | unlet s:cpo_save | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| " Vim support file to detect file types in scripts | " Vim support file to detect file types in scripts | ||||||
| " | " | ||||||
| " Maintainer:	Bram Moolenaar <Bram@vim.org> | " Maintainer:	Bram Moolenaar <Bram@vim.org> | ||||||
| " Last change:	2022 Feb 13 | " Last change:	2023 Jun 08 | ||||||
|  |  | ||||||
| " This file is called by an autocommand for every file that has just been | " This file is called by an autocommand for every file that has just been | ||||||
| " loaded into a buffer.  It checks if the type of file can be recognized by | " loaded into a buffer.  It checks if the type of file can be recognized by | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
| " License:	VIM License | " License:	VIM License | ||||||
| " Maintainer:	Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | " Maintainer:	Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | ||||||
| "		Liam Beguin <liambeguin@gmail.com> | "		Liam Beguin <liambeguin@gmail.com> | ||||||
| " Last Change:	2021 Aug 16 | " Last Change:	2023 May 27 | ||||||
| " Credits:	Zvezdan Petkovic <zpetkovic@acm.org> | " Credits:	Zvezdan Petkovic <zpetkovic@acm.org> | ||||||
| "		Neil Schemenauer <nas@meson.ca> | "		Neil Schemenauer <nas@meson.ca> | ||||||
| "		Dmitry Vasiliev | "		Dmitry Vasiliev | ||||||
| @@ -68,6 +68,7 @@ syn keyword mesonBuiltin | |||||||
|   \ add_global_link_arguments |   \ add_global_link_arguments | ||||||
|   \ add_languages |   \ add_languages | ||||||
|   \ add_project_arguments |   \ add_project_arguments | ||||||
|  |   \ add_project_dependencies | ||||||
|   \ add_project_link_arguments |   \ add_project_link_arguments | ||||||
|   \ add_test_setup |   \ add_test_setup | ||||||
|   \ alias_target |   \ alias_target | ||||||
| @@ -99,6 +100,7 @@ syn keyword mesonBuiltin | |||||||
|   \ install_headers |   \ install_headers | ||||||
|   \ install_man |   \ install_man | ||||||
|   \ install_subdir |   \ install_subdir | ||||||
|  |   \ install_symlink | ||||||
|   \ install_emptydir |   \ install_emptydir | ||||||
|   \ is_disabler |   \ is_disabler | ||||||
|   \ is_variable |   \ is_variable | ||||||
| @@ -115,6 +117,7 @@ syn keyword mesonBuiltin | |||||||
|   \ shared_library |   \ shared_library | ||||||
|   \ shared_module |   \ shared_module | ||||||
|   \ static_library |   \ static_library | ||||||
|  |   \ structured_sources | ||||||
|   \ subdir |   \ subdir | ||||||
|   \ subdir_done |   \ subdir_done | ||||||
|   \ subproject |   \ subproject | ||||||
| @@ -125,6 +128,7 @@ syn keyword mesonBuiltin | |||||||
|   \ vcs_tag |   \ vcs_tag | ||||||
|   \ warning |   \ warning | ||||||
|   \ range |   \ range | ||||||
|  |   \ debug | ||||||
|  |  | ||||||
| if exists("meson_space_error_highlight") | if exists("meson_space_error_highlight") | ||||||
|   " trailing whitespace |   " trailing whitespace | ||||||
| @@ -146,7 +150,7 @@ hi def link mesonEscape		Special | |||||||
| hi def link mesonNumber		Number | hi def link mesonNumber		Number | ||||||
| hi def link mesonBuiltin	Function | hi def link mesonBuiltin	Function | ||||||
| hi def link mesonBoolean	Boolean | hi def link mesonBoolean	Boolean | ||||||
| if exists("meson_space_error_higlight") | if exists("meson_space_error_highlight") | ||||||
|   hi def link mesonSpaceError	Error |   hi def link mesonSpaceError	Error | ||||||
| endif | endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| " Vim syntax file | " Vim syntax file | ||||||
| " Language:      Structurizr DSL | " Language:      Structurizr DSL | ||||||
| " Maintainer:    Bastian Venthur <venthur@debian.org> | " Maintainer:    Bastian Venthur <venthur@debian.org> | ||||||
| " Last Change:   2022-02-15 | " Last Change:   2022-05-22 | ||||||
| " Remark:        For a language reference, see | " Remark:        For a language reference, see | ||||||
| "                https://github.com/structurizr/dsl | "                https://github.com/structurizr/dsl | ||||||
|  |  | ||||||
| @@ -26,6 +26,7 @@ syn keyword skeyword configuration | |||||||
| syn keyword skeyword container | syn keyword skeyword container | ||||||
| syn keyword skeyword containerinstance | syn keyword skeyword containerinstance | ||||||
| syn keyword skeyword custom | syn keyword skeyword custom | ||||||
|  | syn keyword skeyword default | ||||||
| syn keyword skeyword deployment | syn keyword skeyword deployment | ||||||
| syn keyword skeyword deploymentenvironment | syn keyword skeyword deploymentenvironment | ||||||
| syn keyword skeyword deploymentgroup | syn keyword skeyword deploymentgroup | ||||||
| @@ -40,6 +41,7 @@ syn keyword skeyword group | |||||||
| syn keyword skeyword healthcheck | syn keyword skeyword healthcheck | ||||||
| syn keyword skeyword include | syn keyword skeyword include | ||||||
| syn keyword skeyword infrastructurenode | syn keyword skeyword infrastructurenode | ||||||
|  | syn keyword skeyword instances | ||||||
| syn keyword skeyword model | syn keyword skeyword model | ||||||
| syn keyword skeyword person | syn keyword skeyword person | ||||||
| syn keyword skeyword perspectives | syn keyword skeyword perspectives | ||||||
| @@ -54,6 +56,7 @@ syn keyword skeyword tags | |||||||
| syn keyword skeyword technology | syn keyword skeyword technology | ||||||
| syn keyword skeyword terminology | syn keyword skeyword terminology | ||||||
| syn keyword skeyword theme | syn keyword skeyword theme | ||||||
|  | syn keyword skeyword themes | ||||||
| syn keyword skeyword title | syn keyword skeyword title | ||||||
| syn keyword skeyword url | syn keyword skeyword url | ||||||
| syn keyword skeyword users | syn keyword skeyword users | ||||||
|   | |||||||
| @@ -2,9 +2,9 @@ | |||||||
| " Language: sway window manager config | " Language: sway window manager config | ||||||
| " Original Author: James Eapen <james.eapen@vai.org> | " Original Author: James Eapen <james.eapen@vai.org> | ||||||
| " Maintainer: James Eapen <james.eapen@vai.org> | " Maintainer: James Eapen <james.eapen@vai.org> | ||||||
| " Version: 0.1.6 | " Version: 0.2.1 | ||||||
| " Reference version (jamespeapen/swayconfig.vim): 0.11.6 | " Reference version (jamespeapen/swayconfig.vim): 0.12.1 | ||||||
| " Last Change: 2022 Aug 08 | " Last Change: 2023 Mar 20 | ||||||
|  |  | ||||||
| " References: | " References: | ||||||
| " http://i3wm.org/docs/userguide.html#configuring | " http://i3wm.org/docs/userguide.html#configuring | ||||||
| @@ -58,6 +58,10 @@ syn match swayConfigClientColor /^\s*client.\w\+\s\+.*$/ contains=i3ConfigClient | |||||||
| syn keyword swayConfigInputKeyword input contained | syn keyword swayConfigInputKeyword input contained | ||||||
| syn match swayConfigInput /^\s*input\s\+.*$/ contains=swayConfigInputKeyword | syn match swayConfigInput /^\s*input\s\+.*$/ contains=swayConfigInputKeyword | ||||||
|  |  | ||||||
|  | " Seat config | ||||||
|  | syn keyword swayConfigSeatKeyword seat contained | ||||||
|  | syn match swayConfigSeat /^\s*seat\s\+.*$/ contains=swayConfigSeatKeyword | ||||||
|  |  | ||||||
| " set display outputs | " set display outputs | ||||||
| syn match swayConfigOutput /^\s*output\s\+.*$/ contains=i3ConfigOutput | syn match swayConfigOutput /^\s*output\s\+.*$/ contains=i3ConfigOutput | ||||||
|  |  | ||||||
| @@ -66,6 +70,10 @@ syn keyword swayConfigFocusKeyword focus contained | |||||||
| syn keyword swayConfigFocusType output contained | syn keyword swayConfigFocusType output contained | ||||||
| syn match swayConfigFocus /^\s*focus\soutput\s.*$/ contains=swayConfigFocusKeyword,swayConfigFocusType | syn match swayConfigFocus /^\s*focus\soutput\s.*$/ contains=swayConfigFocusKeyword,swayConfigFocusType | ||||||
|  |  | ||||||
|  | " mouse warping | ||||||
|  | syn keyword swayConfigMouseWarpingType container contained | ||||||
|  | syn match swayConfigMouseWarping /^\s*mouse_warping\s\+\(output\|container\|none\)\s\?$/ contains=i3ConfigMouseWarpingKeyword,i3ConfigMouseWarpingType,swayConfigMouseWarpingType | ||||||
|  |  | ||||||
| " focus follows mouse | " focus follows mouse | ||||||
| syn clear i3ConfigFocusFollowsMouseType | syn clear i3ConfigFocusFollowsMouseType | ||||||
| syn clear i3ConfigFocusFollowsMouse | syn clear i3ConfigFocusFollowsMouse | ||||||
| @@ -80,7 +88,7 @@ syn match swayConfigXwaylandModifier /^\s*xwayland\s\+\(enable\|disable\|force\) | |||||||
|  |  | ||||||
| " Group mode/bar | " Group mode/bar | ||||||
| syn clear i3ConfigBlock | syn clear i3ConfigBlock | ||||||
| syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=i3ConfigBlockKeyword,i3ConfigString,i3ConfigBind,i3ConfigInitializeKeyword,i3ConfigComment,i3ConfigFont,i3ConfigFocusWrappingType,i3ConfigColor,i3ConfigVariable,swayConfigInputKeyword,i3ConfigOutput transparent keepend extend | syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=i3ConfigBlockKeyword,i3ConfigString,i3ConfigBind,i3ConfigInitializeKeyword,i3ConfigComment,i3ConfigFont,i3ConfigFocusWrappingType,i3ConfigColor,i3ConfigVariable,swayConfigInputKeyword,swayConfigSeatKeyword,i3ConfigOutput transparent keepend extend | ||||||
|  |  | ||||||
| "hi def link swayConfigError                         Error | "hi def link swayConfigError                         Error | ||||||
| hi def link i3ConfigFloating                        Error | hi def link i3ConfigFloating                        Error | ||||||
| @@ -89,6 +97,8 @@ hi def link swayConfigFloatingMouseAction           Type | |||||||
| hi def link swayConfigFocusKeyword                  Type | hi def link swayConfigFocusKeyword                  Type | ||||||
| hi def link swayConfigSmartBorderKeyword            Type | hi def link swayConfigSmartBorderKeyword            Type | ||||||
| hi def link swayConfigInputKeyword                  Type | hi def link swayConfigInputKeyword                  Type | ||||||
|  | hi def link swayConfigSeatKeyword                   Type | ||||||
|  | hi def link swayConfigMouseWarpingType              Type | ||||||
| hi def link swayConfigFocusFollowsMouseType         Type | hi def link swayConfigFocusFollowsMouseType         Type | ||||||
| hi def link swayConfigBindGestureCommand            Identifier | hi def link swayConfigBindGestureCommand            Identifier | ||||||
| hi def link swayConfigBindGestureDirection          Constant | hi def link swayConfigBindGestureDirection          Constant | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								runtime/syntax/urlshortcut.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								runtime/syntax/urlshortcut.vim
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | " Vim syntax file | ||||||
|  | " Language:      MS Windows URL shortcut file | ||||||
|  | " Maintainer:    ObserverOfTime <chronobserver@disroot.org> | ||||||
|  | " LastChange:    2023-06-04 | ||||||
|  |  | ||||||
|  | " Quit when a syntax file was already loaded. | ||||||
|  | if exists("b:current_syntax") | ||||||
|  |    finish | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | " Just use the dosini syntax for now | ||||||
|  | runtime! syntax/dosini.vim | ||||||
|  |  | ||||||
|  | let b:current_syntax = "urlshortcut" | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| " Vim syntax file | " Vim syntax file | ||||||
| " Language:	X Pixmap | " Language:	X Pixmap | ||||||
| " Maintainer:	Ronald Schild <rs@scutum.de> | " Maintainer:	Ronald Schild <rs@scutum.de> | ||||||
| " Last Change:	2023 May 11 | " Last Change:	2023 May 24 | ||||||
| " Version:	5.4n.2 | " Version:	5.4n.2 | ||||||
| "               Jemma Nelson added termguicolors support | "               Jemma Nelson added termguicolors support | ||||||
| "               Dominique Pellé fixed spelling support | "               Dominique Pellé fixed spelling support | ||||||
| @@ -42,7 +42,7 @@ def s:CreateSyntax(): void | |||||||
| 	    var values = split(s[1 : -2]) | 	    var values = split(s[1 : -2]) | ||||||
|  |  | ||||||
| 	    # Values string invalid, bail out | 	    # Values string invalid, bail out | ||||||
| 	    if len(values) != 4 |  	    if len(values) != 4 && len(values) != 6 && len(values) != 7 | ||||||
| 	       return | 	       return | ||||||
| 	    endif | 	    endif | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										490
									
								
								src/po/it.po
									
									
									
									
									
								
							
							
						
						
									
										490
									
								
								src/po/it.po
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -728,6 +728,13 @@ msgstr "E131: functie %s wordt gebruikt en kan niet worden verwijderd" | |||||||
| msgid "E132: Function call depth is higher than 'maxfuncdepth'" | msgid "E132: Function call depth is higher than 'maxfuncdepth'" | ||||||
| msgstr "E132: diepte functieaanroep overstijgt 'maxfuncdepth'" | msgstr "E132: diepte functieaanroep overstijgt 'maxfuncdepth'" | ||||||
|  |  | ||||||
|  | #: ../errors.h:2848 | ||||||
|  | #, c-format | ||||||
|  | msgid "E1106: One argument too many" | ||||||
|  | msgid_plural "E1106: %d arguments too many" | ||||||
|  | msgstr[0] "E1106: Een argument te veel" | ||||||
|  | msgstr[1] "E1106: %d argumenten te veel" | ||||||
|  |  | ||||||
| #, c-format | #, c-format | ||||||
| msgid "calling %s" | msgid "calling %s" | ||||||
| msgstr "%s aanroepen" | msgstr "%s aanroepen" | ||||||
|   | |||||||
| @@ -10,8 +10,8 @@ msgid "" | |||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: Vim(Serbian)\n" | "Project-Id-Version: Vim(Serbian)\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2023-05-02 14:10+0400\n" | "POT-Creation-Date: 2023-05-15 10:13+0400\n" | ||||||
| "PO-Revision-Date: 2023-05-02 14:54+0400\n" | "PO-Revision-Date: 2023-05-15 11:50+0400\n" | ||||||
| "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" | "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" | ||||||
| "Language-Team: Serbian\n" | "Language-Team: Serbian\n" | ||||||
| "Language: sr\n" | "Language: sr\n" | ||||||
| @@ -10377,3 +10377,6 @@ msgstr "име MzScheme динамичке библиотеке" | |||||||
|  |  | ||||||
| msgid "name of the MzScheme GC dynamic library" | msgid "name of the MzScheme GC dynamic library" | ||||||
| msgstr "име MzScheme GC динамичке библиотеке" | msgstr "име MzScheme GC динамичке библиотеке" | ||||||
|  |  | ||||||
|  | msgid "You discovered the command-line window! You can close it with \":q\"." | ||||||
|  | msgstr "Открили сте прозор командне линије! Можете да га затворите са „:q”." | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user