From 2d8ed0203aedd5f6c22efa99394a3677c17c7a7a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 May 2022 13:08:16 +0100 Subject: Update runtime files. --- runtime/colors/README.txt | 33 +++++++----- runtime/doc/builtin.txt | 30 ++++++----- runtime/doc/map.txt | 3 +- runtime/doc/syntax.txt | 129 +++++++++++++++++++++++++++------------------ runtime/doc/tags | 6 +++ runtime/doc/testing.txt | 2 +- runtime/doc/todo.txt | 73 ++++++++++++------------- runtime/doc/usr_41.txt | 4 +- runtime/doc/usr_51.txt | 6 +-- runtime/doc/usr_52.txt | 20 ++++--- runtime/ftplugin/spec.vim | 5 +- runtime/gvim.desktop | 5 +- runtime/indent/fortran.vim | 7 +-- runtime/indent/postscr.vim | 4 +- runtime/syntax/help.vim | 4 +- runtime/syntax/vim.vim | 16 +++--- runtime/vim.desktop | 5 +- 17 files changed, 200 insertions(+), 152 deletions(-) (limited to 'runtime') diff --git a/runtime/colors/README.txt b/runtime/colors/README.txt index b238451d86..e4af1b9a9c 100644 --- a/runtime/colors/README.txt +++ b/runtime/colors/README.txt @@ -1,14 +1,18 @@ README.txt for color scheme files -These files are used for the ":colorscheme" command. They appear in the +These files are used for the `:colorscheme` command. They appear in the "Edit/Color Scheme" menu in the GUI. +The colorschemes were updated for the Vim 9 release. If you don't like the +changes you can find the old ones here: +https://github.com/vim/colorschemes/tree/master/legacy_colors + Hints for writing a color scheme file: There are two basic ways to define a color scheme: -1. Define a new Normal color and set the 'background' option accordingly. +1. Define a new Normal color and set the 'background' option accordingly. > set background={light or dark} highlight clear @@ -16,7 +20,7 @@ There are two basic ways to define a color scheme: ... 2. Use the default Normal color and automatically adjust to the value of - 'background'. + 'background'. > highlight clear Normal set background& @@ -29,17 +33,17 @@ There are two basic ways to define a color scheme: ... endif -You can use ":highlight clear" to reset everything to the defaults, and then +You can use `:highlight clear` to reset everything to the defaults, and then change the groups that you want differently. This will also work for groups that are added in later versions of Vim. -Note that ":highlight clear" uses the value of 'background', thus set it +Note that `:highlight clear` uses the value of 'background', thus set it before this command. Some attributes (e.g., bold) might be set in the defaults that you want removed in your color scheme. Use something like "gui=NONE" to remove the attributes. In case you want to set 'background' depending on the colorscheme selected, -this autocmd might be useful: +this autocmd might be useful: > autocmd SourcePre */colors/blue_sky.vim set background=dark @@ -49,7 +53,7 @@ In case you want to tweak a colorscheme after it was loaded, check out the ColorScheme autocommand event. To clean up just before loading another colorscheme, use the ColorSchemePre -autocommand event. For example: +autocommand event. For example: > let g:term_ansi_colors = ... augroup MyColorscheme @@ -59,20 +63,20 @@ autocommand event. For example: augroup END To customize a colorscheme use another name, e.g. "~/.vim/colors/mine.vim", -and use ":runtime" to load the original colorscheme: +and use ":runtime" to load the original colorscheme: > " load the "evening" colorscheme runtime colors/evening.vim " change the color of statements hi Statement ctermfg=Blue guifg=Blue -To see which highlight group is used where, see ":help highlight-groups" and -":help group-name". +To see which highlight group is used where, see `:help highlight-groups` and +`:help group-name` . You can use ":highlight" to find out the current colors. Exception: the ctermfg and ctermbg values are numbers, which are only valid for the current terminal. Use the color names instead for better portability. See -":help cterm-colors". +`:help cterm-colors` . The default color settings can be found in the source file src/syntax.c. Search for "highlight_init". @@ -86,7 +90,7 @@ please check the following items: - Does it work in a color terminal as well as in the GUI? Is it consistent? - Is "g:colors_name" set to a meaningful value? In case of doubt you can do - it this way: + it this way: > let g:colors_name = expand(':t:r') @@ -121,7 +125,7 @@ please check the following items: - Try to keep your color scheme simple by avoiding unnecessary logic and refraining from adding options. The best color scheme is one that only - requires: + requires: > colorscheme foobar @@ -136,3 +140,6 @@ that: - it was made with colortemplate, and join us at vim/colorschemes: (https://github.com/vim/colorschemes). + + +vim: set ft=help : diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 44997f32a7..72e2cf13f1 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1401,7 +1401,7 @@ changenr() *changenr()* one less than the number of the undone change. char2nr({string} [, {utf8}]) *char2nr()* - Return number value of the first char in {string}. + Return Number value of the first char in {string}. Examples: > char2nr(" ") returns 32 char2nr("ABC") returns 65 @@ -1712,13 +1712,13 @@ confirm({msg} [, {choices} [, {default} [, {type}]]]) An example: > let choice = confirm("What do you want?", - \ "&Apples\n&Oranges\n&Bananas", 2) + \ "&Apples\n&Oranges\n&Bananas", 2) if choice == 0 - echo "make up your mind!" + echo "make up your mind!" elseif choice == 3 - echo "tasteful" + echo "tasteful" else - echo "I prefer bananas myself." + echo "I prefer bananas myself." endif < In a GUI dialog, buttons are used. The layout of the buttons depends on the 'v' flag in 'guioptions'. If it is included, @@ -2306,8 +2306,8 @@ exists({expr}) The result is a Number, which is |TRUE| if {expr} is defined, < There must be no space between the symbol (&/$/*/#) and the name. There must be no extra characters after the name, although in - a few cases this is ignored. That may become more strict in - the future, thus don't count on it! + a few cases this is ignored. That may become stricter in the + future, thus don't count on it! Working example: > exists(":make") < NOT working example: > @@ -3219,7 +3219,7 @@ getchar([expr]) *getchar()* Without [expr] and when [expr] is 0 a whole character or special key is returned. If it is a single character, the - result is a number. Use nr2char() to convert it to a String. + result is a Number. Use |nr2char()| to convert it to a String. Otherwise a String is returned with the encoded character. For a special key it's a String with a sequence of bytes starting with 0x80 (decimal: 128). This is the same value as @@ -5468,7 +5468,7 @@ maparg({name} [, {mode} [, {abbr} [, {dict}]]]) *maparg()* "sid" The script local ID, used for mappings (||). "scriptversion" The version of the script. 999999 for - |Vim9| script. + |Vim9| script. "lnum" The line number in "sid", zero if unknown. "nowait" Do not wait for other, longer mappings. (|:map-|). @@ -5573,7 +5573,7 @@ mapset({dict}) Restore a mapping from a dictionary, possibly returned by |maparg()| or |maplist()|. A buffer mapping, when dict.buffer is true, is set on the current buffer; it is up to the caller - to insure that the intended buffer is the current buffer. This + to ensure that the intended buffer is the current buffer. This feature allows copying mappings from one buffer to another. The dict.mode value may restore a single mapping that covers more than one mode, like with mode values of '!', ' ', 'nox', @@ -8324,7 +8324,7 @@ sort({list} [, {how} [, {dict}]]) *sort()* *E702* If you want a list to remain unmodified make a copy first: > :let sortedlist = sort(copy(mylist)) -< When {how} is omitted or is an string, then sort() uses the +< When {how} is omitted or is a string, then sort() uses the string representation of each item to sort on. Numbers sort after Strings, |Lists| after Numbers. For sorting text in the current buffer use |:sort|. @@ -8779,9 +8779,11 @@ strftime({format} [, {time}]) *strftime()* GetFormat()->strftime() strgetchar({str}, {index}) *strgetchar()* - Get character {index} from {str}. This uses a character - index, not a byte index. Composing characters are considered - separate characters here. + Get a Number corresponding to the character at {index} in + {str}. This uses a zero-based character index, not a byte + index. Composing characters are considered separate + characters here. Use |nr2char()| to convert the Number to a + String. Also see |strcharpart()| and |strchars()|. Can also be used as a |method|: > diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 8808e43636..373f459aec 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 8.2. Last change: 2022 May 09 +*map.txt* For Vim version 8.2. Last change: 2022 May 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -701,6 +701,7 @@ not to be matched with any key sequence. This is useful in plugins ** The special key name "" can be used to handle mouse movement. It needs to be enabled with 'mousemoveevent'. Currently only works in the GUI. +The |getmousepos()| function can be used to obtain the mouse position. ** ** To map a character by its decimal, octal or hexadecimal number the diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index fd783288a1..4171a5db5a 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 8.2. Last change: 2022 May 06 +*syntax.txt* For Vim version 8.2. Last change: 2022 May 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -32,13 +32,14 @@ In the User Manual: 10. Including syntax files |:syn-include| 11. Synchronizing |:syn-sync| 12. Listing syntax items |:syntax| -13. Highlight command |:highlight| -14. Linking groups |:highlight-link| -15. Cleaning up |:syn-clear| -16. Highlighting tags |tag-highlight| -17. Window-local syntax |:ownsyntax| -18. Color xterms |xterm-color| -19. When syntax is slow |:syntime| +13. Colorschemes |color-schemes| +14. Highlight command |:highlight| +15. Linking groups |:highlight-link| +16. Cleaning up |:syn-clear| +17. Highlighting tags |tag-highlight| +18. Window-local syntax |:ownsyntax| +19. Color xterms |xterm-color| +20. When syntax is slow |:syntime| {Vi does not have any of these commands} @@ -1511,7 +1512,7 @@ modes Conditional, Number, Statement, Comment, PreProc, Type, and String, following the language specifications in 'Symbolic Manipulation with FORM' by J.A.M. Vermaseren, CAN, Netherlands, 1991. -If you want include your own changes to the default colors, you have to +If you want to include your own changes to the default colors, you have to redefine the following syntax groups: - formConditional @@ -4845,20 +4846,14 @@ Note that the ":syntax" command can be abbreviated to ":sy", although ":syn" is mostly used, because it looks better. ============================================================================== -13. Highlight command *:highlight* *:hi* *E28* *E411* *E415* - -There are three types of highlight groups: -- The ones used for specific languages. For these the name starts with the - name of the language. Many of these don't have any attributes, but are - linked to a group of the second type. -- The ones used for all syntax languages. -- The ones used for the 'highlight' option. - *hitest.vim* -You can see all the groups currently active with this command: > - :so $VIMRUNTIME/syntax/hitest.vim -This will open a new window containing all highlight group names, displayed -in their own color. +13. Colorschemes *color-schemes* +In the next section you can find information about indivisual highlight groups +and how to specify colors for them. Most likely you want to just select a set +of colors by using the `:colorscheme` command, for example: > + + colorscheme pablo +< *:colo* *:colorscheme* *E185* :colo[rscheme] Output the name of the currently active color scheme. This is basically the same as > @@ -4876,30 +4871,62 @@ in their own color. Doesn't work recursively, thus you can't use ":colorscheme" in a color scheme script. - You have two options for customizing a color scheme. - For changing the appearance of specific colors, you - can redefine a color name before loading the scheme. - The desert scheme uses the khaki color for the cursor. - To use a darker variation of the same color: > +You have two options for customizing a color scheme. For changing the +appearance of specific colors, you can redefine a color name before loading +the scheme. The desert scheme uses the khaki color for the cursor. To use a +darker variation of the same color: > - let v:colornames['khaki'] = '#bdb76b' - colorscheme desert + let v:colornames['khaki'] = '#bdb76b' + colorscheme desert < - For further customization, such as changing - |:highlight-link| associations, use another name, e.g. - "~/.vim/colors/mine.vim", and use `:runtime` to load - the original color scheme: > - runtime colors/evening.vim - hi Statement ctermfg=Blue guifg=Blue - -< Before the color scheme will be loaded all default - color list scripts (`colors/lists/default.vim`) will - be executed and then the |ColorSchemePre| autocommand - event is triggered. After the color scheme has been - loaded the |ColorScheme| autocommand event is - triggered. - For info about writing a color scheme file: > - :edit $VIMRUNTIME/colors/README.txt +For further customization, such as changing |:highlight-link| associations, +use another name, e.g. "~/.vim/colors/mine.vim", and use `:runtime` to load +the original color scheme: > + runtime colors/evening.vim + hi Statement ctermfg=Blue guifg=Blue + +Before the color scheme will be loaded all default color list scripts +(`colors/lists/default.vim`) will be executed and then the |ColorSchemePre| +autocommand event is triggered. After the color scheme has been loaded the +|ColorScheme| autocommand event is triggered. + +If a color scheme is almost right, you can add modifications on top of it by +using the |ColorScheme| autocommand. For example, to remove the background +color (can make it transparent in some terminals): > + augroup my_colorschemes + au! + au Colorscheme pablo hi Normal ctermbg=NONE + augroup END + +If you make a lot of changes it might be better to copy the distributed +colorscheme to your home directory and change it: > + :!cp $VIMRUNTIME/colors/pablo.vim ~/.vim/colors + :edit ~/.vim/colors/pablo.vim + +With Vim 9.0 the collection of color schemes was updated and made work in many +different terminals. One change was to often define the Normal highlight +group to make sure the colors work well. In case you prefer the old version, +you can find them here: +https://github.com/vim/colorschemes/blob/master/legacy_colors/ + +For info about writing a color scheme file: > + :edit $VIMRUNTIME/colors/README.txt + + +============================================================================== +14. Highlight command *:highlight* *:hi* *E28* *E411* *E415* + +There are three types of highlight groups: +- The ones used for specific languages. For these the name starts with the + name of the language. Many of these don't have any attributes, but are + linked to a group of the second type. +- The ones used for all syntax languages. +- The ones used for the 'highlight' option. + *hitest.vim* +You can see all the groups currently active with this command: > + :so $VIMRUNTIME/syntax/hitest.vim +This will open a new window containing all highlight group names, displayed +in their own color. :hi[ghlight] List all the current highlight groups that have attributes set. @@ -5206,7 +5233,7 @@ guisp={color-name} *highlight-guisp* All values are hexadecimal, range from "00" to "ff". Examples: > :highlight Comment guifg=#11f0c3 guibg=#ff00ff < - If you are authoring a color scheme and use the same hexademical value + If you are authoring a color scheme and use the same hexadecimal value repeatedly, you can define a name for it in |v:colornames|. For example: > @@ -5416,7 +5443,7 @@ Tooltip Current font, background and foreground of the tooltips. set. ============================================================================== -14. Linking groups *:hi-link* *:highlight-link* *E412* *E413* +15. Linking groups *:hi-link* *:highlight-link* *E412* *E413* When you want to use the same highlighting for several syntax groups, you can do this more easily by linking the groups into one common highlight @@ -5460,7 +5487,7 @@ another color scheme, put a command like this in the highlight! default link cComment Question ============================================================================== -15. Cleaning up *:syn-clear* *E391* +16. Cleaning up *:syn-clear* *E391* If you want to clear the syntax stuff for the current buffer, you can use this command: > @@ -5552,7 +5579,7 @@ syntax/syncolor.vim files are loaded: them. ============================================================================== -16. Highlighting tags *tag-highlight* +17. Highlighting tags *tag-highlight* If you want to highlight all the tags in your file, you can use the following mappings. @@ -5588,7 +5615,7 @@ And put these lines in your .vimrc: > autocmd BufRead,BufNewFile *.[ch] endif ============================================================================== -17. Window-local syntax *:ownsyntax* +18. Window-local syntax *:ownsyntax* Normally all windows on a buffer share the same syntax settings. It is possible, however, to set a particular window on a file to have its own @@ -5618,7 +5645,7 @@ is loaded into that window or the file is reloaded. When splitting the window, the new window will use the original syntax. ============================================================================== -18. Color xterms *xterm-color* *color-xterm* +19. Color xterms *xterm-color* *color-xterm* Most color xterms have only eight colors. If you don't get colors with the default setup, it should work with these lines in your .vimrc: > @@ -5762,7 +5789,7 @@ that Setup / Font / Enable Bold is NOT enabled. ============================================================================== -19. When syntax is slow *:syntime* +20. When syntax is slow *:syntime* This is aimed at authors of a syntax file. diff --git a/runtime/doc/tags b/runtime/doc/tags index 80154827c9..b8fb35988d 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4267,6 +4267,7 @@ E1274 cmdline.txt /*E1274* E1276 builtin.txt /*E1276* E1278 eval.txt /*E1278* E128 eval.txt /*E128* +E1281 pattern.txt /*E1281* E129 eval.txt /*E129* E13 message.txt /*E13* E131 eval.txt /*E131* @@ -5778,6 +5779,7 @@ autocmd-events autocmd.txt /*autocmd-events* autocmd-events-abc autocmd.txt /*autocmd-events-abc* autocmd-execute autocmd.txt /*autocmd-execute* autocmd-expand autocmd.txt /*autocmd-expand* +autocmd-functions usr_41.txt /*autocmd-functions* autocmd-groups autocmd.txt /*autocmd-groups* autocmd-intro autocmd.txt /*autocmd-intro* autocmd-list autocmd.txt /*autocmd-list* @@ -5789,6 +5791,9 @@ autocmd-remove autocmd.txt /*autocmd-remove* autocmd-searchpat autocmd.txt /*autocmd-searchpat* autocmd-use autocmd.txt /*autocmd-use* autocmd.txt autocmd.txt /*autocmd.txt* +autocmd_add() builtin.txt /*autocmd_add()* +autocmd_delete() builtin.txt /*autocmd_delete()* +autocmd_get() builtin.txt /*autocmd_get()* autocmds-kept version5.txt /*autocmds-kept* autocommand autocmd.txt /*autocommand* autocommand-events autocmd.txt /*autocommand-events* @@ -6189,6 +6194,7 @@ col() builtin.txt /*col()* coldfusion.vim syntax.txt /*coldfusion.vim* collapse tips.txt /*collapse* collate-variable eval.txt /*collate-variable* +color-schemes syntax.txt /*color-schemes* color-xterm syntax.txt /*color-xterm* coloring syntax.txt /*coloring* colortest.vim syntax.txt /*colortest.vim* diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 0601cb9c80..e6328e91e2 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -1,4 +1,4 @@ -*testing.txt* For Vim version 8.2. Last change: 2022 Apr 03 +*testing.txt* For Vim version 8.2. Last change: 2022 May 16 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 95627f3db7..d2a5dbdd18 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.2. Last change: 2022 May 14 +*todo.txt* For Vim version 8.2. Last change: 2022 May 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,6 +38,9 @@ browser use: https://github.com/vim/vim/issues/1234 *known-bugs* -------------------- Known bugs and current work ----------------------- +Make :defcompile accept a function argument, like :disassemble +Useful for global functions. + Once Vim9 is stable: - Use Vim9 for more runtime files. - Check code coverage, add more tests if needed. @@ -50,9 +53,10 @@ Once Vim9 is stable: Graduate FEAT_CINDENT and FEAT_SMARTINDENT ? Update the user manual: -- Move most of usr_52.txt into usr_41.txt -- Make usr_41.txt only about basic script writing +- Update usr_41.txt for Vim9 script - Fill usr_50.txt as an "advanced section" of usr_41.txt + Add links from usr_41 to usr_50. +- Make usr_51.txt use Vim9 script. Still need usr_52.txt? Further Vim9 improvements, possibly after launch: @@ -130,14 +134,13 @@ Text properties: where property fits in. Or Should we let the textprop highlight overrule other (e.g. diff) highlight if the priority is above a certain value? (#7392) + Combining text property with 'cursorline' does not always work (Billie + Cleek, #5533) - "C" works OK. "dd" fails to delete text property in a buffer with a single line. - Add text property that shifts text to make room for annotation (e.g. variable type). Like the opposite of conceal. Requires fixing the cursor positioning and mouse clicks as with conceal mode. -- Auto-indenting may cause highlighting to shift. (#7719) -- Combining text property with 'cursorline' does not always work (Billie - Cleek, #5533) - See remarks at top of src/textprop.c 'incsearch' with :s: @@ -659,9 +662,6 @@ that Vim doesn't find the edited file in the buffer list, causing the ATTENTION message? (Tony Mechelynck, 2008 Dec 1) Also: swap files are in ~/tmp/ One has relative file name ".mozilla/...". -'foldcolumn' in modeline applied to wrong window when using a session. (Teemu -Likonen, March 19) - When using a timer callback vgetc_busy is reset, allowing for using input(). But in a channel callback this does not happen. We need to do something similar to check_due_timer(). Also see #3809. @@ -886,9 +886,6 @@ word is re-added to it. (Matej Cepl, 2018 Feb 6) Fold at end of the buffer behaves inconsistently. (James McCoy, 2017 Oct 9) -With foldmethod=syntax and nofoldenable comment highlighting isn't removed. -(Marcin Szewczyk, 2017 Apr 26) - Using 'wildignore' also applies to literally entered file name. Also with :drop (remote commands). @@ -1002,8 +999,6 @@ After using :noautocmd CursorMoved may still trigger. (Andy Stewart, 2017 Sep When bracketed paste is used, pasting at the ":append" prompt does not get the line breaks. (Ken Takata, 2017 Aug 22) -The ":move" command does not honor closed folds. (Ryan Lue, #2351) - Cannot copy modeless selection when cursor is inside it. (lkintact, #2300) Test_writefile_fails_conversion failure on Solaris because if different iconv @@ -1534,11 +1529,6 @@ was already defined. Patch for ordered dict. (Ozaki Kiichi, 2015 May 7) -Patch to make closed folds line up. (Charles Campbell, 2014 Sep 12) -Remark from Roland Eggner: does it cause crashes? (2014 Dec 12) -Updated patch by Roland Eggner, Dec 16 -Updated patch from Charles, 2016 Jul 2 - Patch for building a 32bit Vim with 64bit MingW compiler. (Michael Soyka, 2014 Oct 15) @@ -1714,8 +1704,6 @@ Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep Dialog is too big on Linux too. (David Fishburn, 2013 Sep 2) -Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec) - - Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine the two into a regex for searching. (Ned Konz) Patch by Christian Brabandt, 2013 Apr 20, unfinished. @@ -1779,10 +1767,6 @@ URXVT: - Use urxvt mouse support also in xterm. Explanations: http://www.midnight-commander.org/ticket/2662 -Patch to have the fold and sign column and at the last line of the buffer. -(Marco Hinz, 2014 Sep 25) -Alternate suggestion: let all columns continue, also the number column. - Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns) New tests Jul 13. Update Jul 17. Discussion Jul 18. @@ -1983,9 +1967,6 @@ the command line. (Ingo Karkat, 2011 Jan 25) Since patch 7.2.46 Yankring plugin has become very slow, eventually make Vim crash? (Raiwil, 2010 Nov 17) -Patch to add FoldedLineNr highlighting: different highlighting for the line -number of a closed fold. (eXerigumo Clanjor, 2013 Jul 15) - Regexp engine performance: - Profiling: ./vim -u NONE -s ~/vim/test/ruby.vim @@ -2097,9 +2078,6 @@ like it has ":keepjumps" before it. Coverity: Check if there are new reported defects: https://scan.coverity.com/projects/241 -Patch to use 'foldnestmax' also for "marker" foldmethod. (Arnaud Lacombe, 2011 -Jan 7) - Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8) Display error when 'tabline' that includes a file name with double-width @@ -2112,9 +2090,6 @@ Using ']' as the end of a range in a pattern requires double escaping: Syntax priority problem. (Charles Campbell, 2011 Sep 15) -When completion inserts the first match, it may trigger the line to be folded. -Disable updating folds while completion is active? (Peter Odding, 2010 Jun 9) - For running gvim on a USB stick: avoid the OLE registration. Use a command line argument -noregister. @@ -2189,10 +2164,6 @@ Don't load macmap.vim on startup, turn it into a plugin. (Ron Aaron, Add "no_hlsearch" to winsaveview(). -When 'foldmethod' is "indent", adding an empty line below a fold and then -indented text, creates a new fold instead of joining it with the previous one. -(Evan Laforge, 2009 Oct 17) - Bug: When reloading a buffer changed outside of Vim, BufRead autocommands are applied to the wrong buffer/window. (Ben Fritz, 2009 Apr 2, May 11) Ignore window options when not in the right window? @@ -2412,8 +2383,6 @@ Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct ":tab help" always opens a new tab, while ":help" re-uses an existing window. Would be more consistent when an existing tab is re-used. (Tony Mechelynck) -Add ":nofold". Range will apply without expanding to closed fold. - Using Aap to build Vim: add remarks about how to set personal preferences. Example on http://www.calmar.ws/tmp/aap.html @@ -3809,6 +3778,30 @@ Diff mode: Folding: (commands still available: zI zJ zK zp zP zq zQ zV zy zY; secondary: zB zS zT zZ, z=) +- Patch to make closed folds line up. (Charles Campbell, 2014 Sep 12) + Remark from Roland Eggner: does it cause crashes? (2014 Dec 12) + Updated patch by Roland Eggner, Dec 16 + Updated patch from Charles, 2016 Jul 2 +- Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec) +- Patch to have the fold and sign column and at the last line of the buffer. + (Marco Hinz, 2014 Sep 25) + Alternate suggestion: let all columns continue, also the number column. +- Patch to add FoldedLineNr highlighting: different highlighting for the + line number of a closed fold. (eXerigumo Clanjor, 2013 Jul 15) +- Patch to use 'foldnestmax' also for "marker" foldmethod. (Arnaud Lacombe, + 2011 Jan 7) +- 'foldcolumn' in modeline applied to wrong window when using a session. + (Teemu Likonen, March 19) +- With foldmethod=syntax and nofoldenable comment highlighting isn't + removed. (Marcin Szewczyk, 2017 Apr 26) +- The ":move" command does not honor closed folds. (Ryan Lue, #2351) +- When completion inserts the first match, it may trigger the line to be + folded. Disable updating folds while completion is active? (Peter Odding, + 2010 Jun 9) +- When 'foldmethod' is "indent", adding an empty line below a fold and then + indented text, creates a new fold instead of joining it with the previous + one. (Evan Laforge, 2009 Oct 17) +- Add ":nofold". Range will apply without expanding to closed fold. 8 Vertical folds: looks like vertically split windows, but the cursor moves through the vertical separator, separator moves when scrolling. 8 Add "z/" and "z?" for searching in not folded text only. Or use a regexp diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 162eb9d3cd..80b7e385cf 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 8.2. Last change: 2022 May 13 +*usr_41.txt* For Vim version 8.2. Last change: 2022 May 21 VIM USER MANUAL - by Bram Moolenaar @@ -1923,6 +1923,8 @@ are script-local. If you split your plugin into parts, you can use `import` and `export` to share items between those parts. See `:export` for the details. +More information about writing plugins is in |usr_51.txt|. + ============================================================================== Next chapter: |usr_42.txt| Add new menus diff --git a/runtime/doc/usr_51.txt b/runtime/doc/usr_51.txt index 14704c69f0..2845ab8151 100644 --- a/runtime/doc/usr_51.txt +++ b/runtime/doc/usr_51.txt @@ -1,4 +1,4 @@ -*usr_51.txt* For Vim version 8.2. Last change: 2022 May 13 +*usr_51.txt* For Vim version 8.2. Last change: 2022 May 14 VIM USER MANUAL - by Bram Moolenaar @@ -197,8 +197,8 @@ would need to prefix the name with "s:". We will define a function that adds a new typing correction: > 30 def Add(from: string, correct: bool) - 31 var to = input("type the correction for " .. from .. ": ") - 32 exe ":iabbrev " .. from .. " " .. to + 31 var to = input($"type the correction for {from}: ") + 32 exe $":iabbrev {from} {to}" .. 36 enddef diff --git a/runtime/doc/usr_52.txt b/runtime/doc/usr_52.txt index 70338e79a7..1fbd66f3c3 100644 --- a/runtime/doc/usr_52.txt +++ b/runtime/doc/usr_52.txt @@ -1,4 +1,4 @@ -*usr_52.txt* For Vim version 8.2. Last change: 2022 May 13 +*usr_52.txt* For Vim version 8.2. Last change: 2022 May 16 VIM USER MANUAL - by Bram Moolenaar @@ -110,10 +110,10 @@ Although it's shorter to do: > ============================================================================== *52.3* Functions and types -Legacy Vim script does have type checking, but this happens at runtime, when -the code is executed. And it's permissive, often a computation gives an -unexpected value instead of reporting an error. Thus you can define a -function and think it's fine, but see a problem only later when it is called: > +Legacy Vim script only checks types at runtime, when the code is executed. +And it's permissive, often a computation gives an unexpected value instead of +reporting an error. Thus you can define a function and think it's fine, but +see a problem only later when it is called: > let s:collected = '' func ExtendAndReturn(add) let s:collected += a:add @@ -133,12 +133,16 @@ the argument is used without the "a:" prefix: > s:collected += add return s:collected enddef - defcompile + disassemble ExtendAndReturn -Here we use `:defcompile` to do the compilation right away, without it the +Here we use `:disassemble` to do the compilation right away, without it the compilation would happen when the function is called. Vim will tell you what you did wrong: > - E1013: type mismatch, expected number but got string + E1051: Wrong argument type for + + +Side note: here the context is legacy script, when using Vim9 script you would +put `:defcompile` at the end of the script to check for errors in the +functions defined in it. Vim9 script is strict, it uses the "+" operator only for numbers and floats. For string concatenation ".." must be used. This avoids mistakes and avoids diff --git a/runtime/ftplugin/spec.vim b/runtime/ftplugin/spec.vim index ce00021a69..9040e19ce1 100644 --- a/runtime/ftplugin/spec.vim +++ b/runtime/ftplugin/spec.vim @@ -3,6 +3,7 @@ " Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com " Former Maintainer: Gustavo Niemeyer (until March 2014) " Last Change: Mon Jun 01 21:15 MSK 2015 Igor Gnatenko +" Update by Zdenek Dohnal, 2022 May 17 if exists("b:did_ftplugin") finish @@ -41,8 +42,8 @@ else: headers = spec.sourceHeader version = headers["Version"] release = headers["Release"] - vim.command("let ver = " + version) - vim.command("let rel = " + release) + vim.command("let ver = '" + version + "'") + vim.command("let rel = '" + release + "'") PYEND endif endfunction diff --git a/runtime/gvim.desktop b/runtime/gvim.desktop index d25a04fbef..d75d291ec9 100644 --- a/runtime/gvim.desktop +++ b/runtime/gvim.desktop @@ -5,6 +5,7 @@ Name[ca]=GVim Name[de]=GVim Name[eo]=GVim +Name[es]=GVim Name[fi]=GVim Name[fr]=GVim Name[ga]=GVim @@ -18,6 +19,7 @@ Name=GVim GenericName[ca]=Editor de text GenericName[de]=Texteditor GenericName[eo]=Tekstoredaktilo +GenericName[es]=Editor de texto GenericName[fi]=Tekstinmuokkain GenericName[fr]=Éditeur de texte GenericName[ga]=Eagarthóir Téacs @@ -32,6 +34,7 @@ GenericName=Text Editor Comment[ca]=Edita fitxers de text Comment[de]=Textdateien bearbeiten Comment[eo]=Redakti tekstajn dosierojn +Comment[es]=Editar archivos de texto Comment[fi]=Muokkaa tekstitiedostoja Comment[fr]=Éditer des fichiers texte Comment[ga]=Cuir comhaid téacs in eagar @@ -61,7 +64,6 @@ Comment[da]=Rediger tekstfiler Comment[el]=Επεξεργασία αρχείων κειμένου Comment[en_CA]=Edit text files Comment[en_GB]=Edit text files -Comment[es]=Edita archivos de texto Comment[et]=Redigeeri tekstifaile Comment[eu]=Editatu testu-fitxategiak Comment[fa]=ویرایش پرونده‌های متنی @@ -112,6 +114,7 @@ Type=Application Keywords[ca]=Text;editor; Keywords[de]=Text;Editor; Keywords[eo]=Teksto;redaktilo; +Keywords[es]=Texto;editor; Keywords[fi]=Teksti;muokkain;editori; Keywords[fr]=Texte;éditeur; Keywords[ga]=Téacs;eagarthóir; diff --git a/runtime/indent/fortran.vim b/runtime/indent/fortran.vim index 26ed33a54d..9623014818 100644 --- a/runtime/indent/fortran.vim +++ b/runtime/indent/fortran.vim @@ -1,13 +1,13 @@ " Vim indent file " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) -" Version: (v48) 2020 October 07 -" Maintainer: Ajit J. Thakkar ; +" Version: (v49) 2022 May 14 +" Maintainer: Ajit J. Thakkar ; " Usage: For instructions, do :help fortran-indent from Vim " Credits: " Version 0.1 was created in September 2000 by Ajit Thakkar. " Since then, useful suggestions and contributions have been made, in order, by: " Albert Oliver Serra, Takuya Fujiwara, Philipp Edelmann, Eisuke Kawashima, -" and Louis Cochen. +" Louis Cochen, and Doug Kearns. " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -17,6 +17,7 @@ let b:did_indent = 1 let s:cposet=&cpoptions set cpoptions&vim +let b:undo_indent = "setl inde< indk<" setlocal indentkeys+==~end,=~case,=~if,=~else,=~do,=~where,=~elsewhere,=~select setlocal indentkeys+==~endif,=~enddo,=~endwhere,=~endselect,=~elseif diff --git a/runtime/indent/postscr.vim b/runtime/indent/postscr.vim index 66094e3ed0..8430ccf8b8 100644 --- a/runtime/indent/postscr.vim +++ b/runtime/indent/postscr.vim @@ -1,10 +1,8 @@ " PostScript indent file " Language: PostScript -" Maintainer: Mike Williams (Invalid email address) -" Doug Kearns +" Maintainer: Mike Williams " Last Change: 2022 Apr 06 - " Only load this indent file when no other was loaded. if exists("b:did_indent") finish diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim index 6af9df7043..aa76906d7b 100644 --- a/runtime/syntax/help.vim +++ b/runtime/syntax/help.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Vim help file " Maintainer: Bram Moolenaar (Bram@vim.org) -" Last Change: 2022 May 13 +" Last Change: 2022 May 15 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") @@ -215,7 +215,7 @@ hi def link helpError Error hi def link helpTodo Todo hi def link helpURL String -if expand('%:p') =~ '[/\\]doc[/\\]syntax.txt' +if has('textprop') && expand('%:p') =~ '[/\\]doc[/\\]syntax.txt' " highlight groups with their respective color import 'dist/vimhelp.vim' call vimhelp.HighlightGroups() diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index 67329ba458..6c04e97b16 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: Vim 8.2 script " Maintainer: Charles E. Campbell -" Last Change: May 07, 2022 -" Version: 8.2-38 +" Last Change: May 19, 2022 +" Version: 8.2-39 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM " Automatically generated keyword lists: {{{1 @@ -79,12 +79,12 @@ syn match vimHLGroup contained "Conceal" syn case match " Function Names {{{2 -syn keyword vimFuncName contained abs argc assert_equal assert_match atan browse bufloaded byteidx charclass chdir ch_log ch_sendexpr col copy debugbreak diff_hlID empty execute expandcmd filter floor foldlevel function getchangelist getcmdcompltype getcompletion getfperm getline getpos gettabvar getwinposx has histget hlset input inputsecret isdirectory job_getchannel job_stop json_encode line listener_add log10 maplist matchaddpos matchfuzzypos menu_info nextnonblank popup_atcursor popup_dialog popup_getoptions popup_menu popup_show prompt_setcallback prop_clear prop_type_change pumvisible range reduce reltimestr remote_send resolve screenchar screenstring searchpairpos setbufvar setcursorcharpos setmatches settabwinvar shiftwidth sign_place simplify sound_clear spellbadword state strcharpart stridx strridx swapinfo synIDtrans tabpagenr tanh term_getaltscreen term_getline term_gettty term_setansicolors term_start test_garbagecollect_now test_null_blob test_null_list test_refcount test_void timer_stopall trunc uniq winbufnr win_getid win_id2win winnr win_splitmove -syn keyword vimFuncName contained acos argidx assert_equalfile assert_nobeep atan2 browsedir bufname byteidxcomp charcol ch_evalexpr ch_logfile ch_sendraw complete cos deepcopy digraph_get environ exepath extend finddir fmod foldtext garbagecollect getchar getcmdline getcurpos getfsize getloclist getqflist gettabwinvar getwinposy has_key histnr hostname inputdialog insert isinf job_info join keys line2byte listener_flush luaeval mapnew matcharg matchlist min nr2char popup_beval popup_filter_menu popup_getpos popup_move pow prompt_setinterrupt prop_find prop_type_delete py3eval readblob reg_executing remote_expr remote_startserver reverse screenchars search searchpos setcellwidths setenv setpos settagstack sign_define sign_placelist sin soundfold spellsuggest str2float strchars string strtrans swapname synstack tabpagewinnr tempname term_getansicolors term_getscrolled terminalprops term_setapi term_wait test_garbagecollect_soon test_null_channel test_null_partial test_setmouse timer_info tolower type values wincol win_gettype winlayout winrestcmd winwidth -syn keyword vimFuncName contained add arglistid assert_exception assert_notequal balloon_gettext bufadd bufnr call charidx ch_evalraw ch_open ch_setoptions complete_add cosh delete digraph_getlist escape exists extendnew findfile fnameescape foldtextresult get getcharmod getcmdpos getcursorcharpos getftime getmarklist getreg gettagstack getwinvar haslocaldir hlexists iconv inputlist interrupt islocked job_setoptions js_decode len lispindent listener_remove map mapset matchdelete matchstr mkdir or popup_clear popup_filter_yesno popup_hide popup_notification prevnonblank prompt_setprompt prop_list prop_type_get pyeval readdir reg_recording remote_foreground remove round screencol searchcount server2client setcharpos setfperm setqflist setwinvar sign_getdefined sign_undefine sinh sound_playevent split str2list strdisplaywidth strlen strwidth synconcealed system tagfiles term_dumpdiff term_getattr term_getsize term_list term_setkill test_alloc_fail test_getvalue test_null_dict test_null_string test_settime timer_pause toupper typename virtcol windowsversion win_gotoid winline winrestview wordcount -syn keyword vimFuncName contained and argv assert_fails assert_notmatch balloon_show bufexists bufwinid ceil ch_canread ch_getbufnr ch_read ch_status complete_check count deletebufline digraph_set eval exists_compiled feedkeys flatten fnamemodify foreground getbufinfo getcharpos getcmdscreenpos getcwd getftype getmatches getreginfo gettext glob hasmapto hlget indent inputrestore invert isnan job_start js_encode libcall list2blob localtime maparg match matchend matchstrpos mode pathshorten popup_close popup_findinfo popup_list popup_setoptions printf prop_add prop_remove prop_type_list pyxeval readdirex reltime remote_peek rename rubyeval screenpos searchdecl serverlist setcharsearch setline setreg sha256 sign_getplaced sign_unplace slice sound_playfile sqrt str2nr strftime strpart submatch synID systemlist taglist term_dumpload term_getcursor term_getstatus term_scrape term_setrestore test_autochdir test_gui_event test_null_function test_option_not_set test_srand_seed timer_start tr undofile visualmode win_execute winheight win_move_separator winsaveview writefile -syn keyword vimFuncName contained append asin assert_false assert_report balloon_split buflisted bufwinnr changenr ch_close ch_getjob ch_readblob cindent complete_info cscope_connection did_filetype digraph_setlist eventhandler exp filereadable flattennew foldclosed fullcommand getbufline getcharsearch getcmdtype getenv getimstatus getmousepos getregtype getwininfo glob2regpat histadd hlID index inputsave isabsolutepath items job_status json_decode libcallnr list2str log mapcheck matchadd matchfuzzy max mzeval perleval popup_create popup_findpreview popup_locate popup_settext prompt_getprompt prop_add_list prop_type_add pum_getpos rand readfile reltimefloat remote_read repeat screenattr screenrow searchpair setbufline setcmdpos setloclist settabvar shellescape sign_jump sign_unplacelist sort sound_stop srand strcharlen strgetchar strptime substitute synIDattr tabpagebuflist tan term_dumpwrite term_getjob term_gettitle term_sendkeys term_setsize test_feedinput test_ignore_error test_null_job test_override test_unknown timer_stop trim undotree wildmenumode win_findbuf win_id2tabwin win_move_statusline win_screenpos xor -syn keyword vimFuncName contained appendbufline assert_beeps assert_inrange assert_true blob2list bufload byte2line char2nr ch_close_in ch_info ch_readraw clearmatches confirm cursor diff_filler echoraw executable expand filewritable float2nr foldclosedend funcref getbufvar getcharstr getcmdwintype getfontname getjumplist getpid gettabinfo getwinpos globpath histdel +syn keyword vimFuncName contained abs argc assert_equal assert_match atan balloon_show bufexists bufwinid ceil ch_canread ch_getbufnr ch_read ch_status complete_check count deletebufline digraph_set eval exists_compiled feedkeys flatten fnamemodify foreground getbufinfo getcharpos getcmdscreenpos getcwd getftype getmatches getreginfo gettext glob hasmapto hlget index inputsecret isdirectory job_getchannel job_stop json_encode line listener_add log10 maplist matchaddpos matchfuzzypos menu_info nextnonblank popup_atcursor popup_dialog popup_getoptions popup_menu popup_show prompt_setcallback prop_clear prop_type_change pumvisible range reduce reltimestr remote_send resolve screenchar screenstring searchpairpos setbufvar setcursorcharpos setmatches settabwinvar shiftwidth sign_place simplify sound_clear spellbadword state strcharpart stridx strridx swapinfo synIDtrans tabpagenr tanh term_getaltscreen term_getline term_gettty term_setansicolors term_start test_garbagecollect_now test_null_blob test_null_list test_refcount test_void timer_stopall trunc uniq winbufnr win_getid win_id2win winnr win_splitmove +syn keyword vimFuncName contained acos argidx assert_equalfile assert_nobeep atan2 balloon_split buflisted bufwinnr changenr ch_close ch_getjob ch_readblob cindent complete_info cscope_connection did_filetype digraph_setlist eventhandler exp filereadable flattennew foldclosed fullcommand getbufline getcharsearch getcmdtype getenv getimstatus getmousepos getregtype getwininfo glob2regpat histadd hlID input insert isinf job_info join keys line2byte listener_flush luaeval mapnew matcharg matchlist min nr2char popup_beval popup_filter_menu popup_getpos popup_move pow prompt_setinterrupt prop_find prop_type_delete py3eval readblob reg_executing remote_expr remote_startserver reverse screenchars search searchpos setcellwidths setenv setpos settagstack sign_define sign_placelist sin soundfold spellsuggest str2float strchars string strtrans swapname synstack tabpagewinnr tempname term_getansicolors term_getscrolled terminalprops term_setapi term_wait test_garbagecollect_soon test_null_channel test_null_partial test_setmouse timer_info tolower type values wincol win_gettype winlayout winrestcmd winwidth +syn keyword vimFuncName contained add arglistid assert_exception assert_notequal autocmd_add blob2list bufload byte2line char2nr ch_close_in ch_info ch_readraw clearmatches confirm cursor diff_filler echoraw executable expand filewritable float2nr foldclosedend funcref getbufvar getcharstr getcmdwintype getfontname getjumplist getpid gettabinfo getwinpos globpath histdel hlset inputdialog interrupt islocked job_setoptions js_decode len lispindent listener_remove map mapset matchdelete matchstr mkdir or popup_clear popup_filter_yesno popup_hide popup_notification prevnonblank prompt_setprompt prop_list prop_type_get pyeval readdir reg_recording remote_foreground remove round screencol searchcount server2client setcharpos setfperm setqflist setwinvar sign_getdefined sign_undefine sinh sound_playevent split str2list strdisplaywidth strlen strwidth synconcealed system tagfiles term_dumpdiff term_getattr term_getsize term_list term_setkill test_alloc_fail test_getvalue test_null_dict test_null_string test_settime timer_pause toupper typename virtcol windowsversion win_gotoid winline winrestview wordcount +syn keyword vimFuncName contained and argv assert_fails assert_notmatch autocmd_delete browse bufloaded byteidx charclass chdir ch_log ch_sendexpr col copy debugbreak diff_hlID empty execute expandcmd filter floor foldlevel function getchangelist getcmdcompltype getcompletion getfperm getline getpos gettabvar getwinposx has histget hostname inputlist invert isnan job_start js_encode libcall list2blob localtime maparg match matchend matchstrpos mode pathshorten popup_close popup_findinfo popup_list popup_setoptions printf prop_add prop_remove prop_type_list pyxeval readdirex reltime remote_peek rename rubyeval screenpos searchdecl serverlist setcharsearch setline setreg sha256 sign_getplaced sign_unplace slice sound_playfile sqrt str2nr strftime strpart submatch synID systemlist taglist term_dumpload term_getcursor term_getstatus term_scrape term_setrestore test_autochdir test_gui_event test_null_function test_option_not_set test_srand_seed timer_start tr undofile visualmode win_execute winheight win_move_separator winsaveview writefile +syn keyword vimFuncName contained append asin assert_false assert_report autocmd_get browsedir bufname byteidxcomp charcol ch_evalexpr ch_logfile ch_sendraw complete cos deepcopy digraph_get environ exepath extend finddir fmod foldtext garbagecollect getchar getcmdline getcurpos getfsize getloclist getqflist gettabwinvar getwinposy has_key histnr iconv inputrestore isabsolutepath items job_status json_decode libcallnr list2str log mapcheck matchadd matchfuzzy max mzeval perleval popup_create popup_findpreview popup_locate popup_settext prompt_getprompt prop_add_list prop_type_add pum_getpos rand readfile reltimefloat remote_read repeat screenattr screenrow searchpair setbufline setcmdpos setloclist settabvar shellescape sign_jump sign_unplacelist sort sound_stop srand strcharlen strgetchar strptime substitute synIDattr tabpagebuflist tan term_dumpwrite term_getjob term_gettitle term_sendkeys term_setsize test_feedinput test_ignore_error test_null_job test_override test_unknown timer_stop trim undotree wildmenumode win_findbuf win_id2tabwin win_move_statusline win_screenpos xor +syn keyword vimFuncName contained appendbufline assert_beeps assert_inrange assert_true balloon_gettext bufadd bufnr call charidx ch_evalraw ch_open ch_setoptions complete_add cosh delete digraph_getlist escape exists extendnew findfile fnameescape foldtextresult get getcharmod getcmdpos getcursorcharpos getftime getmarklist getreg gettagstack getwinvar haslocaldir hlexists indent inputsave "--- syntax here and above generated by mkvimvim --- " Special Vim Highlighting (not automatic) {{{1 diff --git a/runtime/vim.desktop b/runtime/vim.desktop index b8835508b4..95b856763b 100644 --- a/runtime/vim.desktop +++ b/runtime/vim.desktop @@ -5,6 +5,7 @@ Name[ca]=Vim Name[de]=Vim Name[eo]=Vim +Name[es]=Vim Name[fi]=Vim Name[fr]=Vim Name[ga]=Vim @@ -18,6 +19,7 @@ Name=Vim GenericName[ca]=Editor de text GenericName[de]=Texteditor GenericName[eo]=Tekstoredaktilo +GenericName[es]=Editor de texto GenericName[fi]=Tekstinmuokkain GenericName[fr]=Éditeur de texte GenericName[ga]=Eagarthóir Téacs @@ -32,6 +34,7 @@ GenericName=Text Editor Comment[ca]=Edita fitxers de text Comment[de]=Textdateien bearbeiten Comment[eo]=Redakti tekstajn dosierojn +Comment[es]=Editar archivos de texto Comment[fi]=Muokkaa tekstitiedostoja Comment[fr]=Éditer des fichiers texte Comment[ga]=Cuir comhaid téacs in eagar @@ -61,7 +64,6 @@ Comment[da]=Rediger tekstfiler Comment[el]=Επεξεργασία αρχείων κειμένου Comment[en_CA]=Edit text files Comment[en_GB]=Edit text files -Comment[es]=Edita archivos de texto Comment[et]=Redigeeri tekstifaile Comment[eu]=Editatu testu-fitxategiak Comment[fa]=ویرایش پرونده‌های متنی @@ -112,6 +114,7 @@ Type=Application Keywords[ca]=Text;editor; Keywords[de]=Text;Editor; Keywords[eo]=Teksto;redaktilo; +Keywords[es]=Texto;editor; Keywords[fi]=Teksti;muokkain;editori; Keywords[fr]=Texte;éditeur; Keywords[ga]=Téacs;eagarthóir; -- cgit v1.2.3