Bram Moolenaar
c5e6a7179d
patch 8.2.2090: Vim9: dict does not accept a key in quotes
...
Problem: Vim9: dict does not accept a key in quotes.
Solution: Recognize a key in single or double quotes.
2020-12-04 19:12:14 +01:00
Bram Moolenaar
c0d670ce16
patch 8.2.2085: Qt translation file is recognized as typescript
...
Problem: Qt translation file is recognized as typescript.
Solution: Check the first line for "<?xml". (closes #7418 )
2020-12-03 21:08:37 +01:00
Bram Moolenaar
f0068c5154
patch 8.2.2070: can't get the exit value in VimLeave(Pre) autocommands
...
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395 )
2020-11-30 17:42:10 +01:00
Bram Moolenaar
23515b4ef7
Update runtime files
2020-11-29 14:36:24 +01:00
Bram Moolenaar
a09bee322e
patch 8.2.2041: haskell filetype not optimally recognized
...
Problem: Haskell filetype not optimally recognized.
Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
closes #7354 )
2020-11-24 20:13:26 +01:00
Bram Moolenaar
dcbab75db3
patch 8.2.2032: cabalconfig and cabalproject filetypes not recognized
...
Problem: Cabalconfig and cabalproject filetypes not recognized.
Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339 )
2020-11-22 15:51:24 +01:00
Bram Moolenaar
4466ad6baa
Update runtime files
2020-11-21 13:16:30 +01:00
Bram Moolenaar
2bede173a1
patch 8.2.2015: Vim9: literal dict #{} is not like any other language
...
Problem: Vim9: literal dict #{} is not like any other language.
Solution: Support the JavaScript syntax.
2020-11-19 18:53:18 +01:00
Bram Moolenaar
88774a30c0
patch 8.2.2006: .pbtxt files are not recognized
...
Problem: .pbtxt files are not recognized.
Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326 )
2020-11-18 12:12:39 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282 ,
closes 4784, based on patch by Bjorn Linse)
2020-11-12 14:21:06 +01:00
Bram Moolenaar
ea696852e7
patch 8.2.1969: Vim9: map() may change the list or dict item type
...
Problem: Vim9: map() may change the list or dict item type.
Solution: Add mapnew().
2020-11-09 18:31:39 +01:00
Bram Moolenaar
59d8e56e04
patch 8.2.1967: the session file does not restore the alternate file
...
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes #7269 ,
closes #6714 )
2020-11-07 18:41:10 +01:00
Bram Moolenaar
faebda8cc1
patch 8.2.1964: not all ConTeXt files are recognized
...
Problem: Not all ConTeXt files are recognized.
Solution: Add two patterns. (closes #7263 )
2020-11-06 18:52:55 +01:00
Bram Moolenaar
3132cddd20
Update runtime files
2020-11-05 20:41:49 +01:00
Bram Moolenaar
dbfa795d8b
patch 8.2.1942: insufficient test coverage for the Netbeans interface
...
Problem: Insufficient test coverage for the Netbeans interface.
Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
closes #7240 )
2020-11-02 20:04:22 +01:00
Bram Moolenaar
55e29611d2
patch 8.2.1933: cannot sort using locale ordering
...
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes #7237 )
2020-11-01 13:57:44 +01:00
Bram Moolenaar
cb80aa2d53
Update runtime files.
2020-10-26 21:12:46 +01:00
Bram Moolenaar
8133cc6bf4
patch 8.2.1909: number of status line items is limited to 80
...
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181 )
2020-10-26 21:05:27 +01:00
Bram Moolenaar
8ded5b647a
patch 8.2.1893: fuzzy matching does not support multiple words
...
Problem: Fuzzy matching does not support multiple words.
Solution: Add support for matching white space separated words. (Yegappan
Lakshmanan, closes #7163 )
2020-10-23 16:50:30 +02:00
Bram Moolenaar
b53e13a91a
patch 8.2.1874: can't do something just before leaving Insert mode
...
Problem: Can't do something just before leaving Insert mode.
Solution: Add the InsertLeavePre autocommand event. (closes #7177 )
2020-10-21 12:19:53 +02:00
Bram Moolenaar
4f4d51a942
Update runtime files.
2020-10-11 13:57:40 +02:00
Bram Moolenaar
10a1a534d1
patch 8.2.1827: filetype detection does not test enough file names
...
Problem: Filetype detection does not test enough file names.
Solution: Test more file names. (Adam Stankiewicz, closes #7099 )
2020-10-10 21:50:25 +02:00
Bram Moolenaar
9a033d7b18
patch 8.2.1811: mapping Ctrl-key does not work for '{', '}' and '|'
...
Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
Solution: Remove the shift modifier. (closes #6457 )
2020-10-07 17:29:48 +02:00
Bram Moolenaar
1310660557
patch 8.2.1798: Vim9: trinary operator condition is too permissive
...
Problem: Vim9: trinary operator condition is too permissive.
Solution: Use tv_get_bool_chk().
2020-10-04 16:06:05 +02:00
Bram Moolenaar
2bb2658bef
patch 8.2.1795: Vim9: operators && and || have a confusing result
...
Problem: Vim9: operators && and || have a confusing result.
Solution: Make the result a boolean.
2020-10-03 22:52:39 +02:00
Bram Moolenaar
92f26c256e
patch 8.2.1794: no falsy Coalescing operator
...
Problem: No falsy Coalescing operator.
Solution: Add the "??" operator. Fix mistake with function argument count.
2020-10-03 20:17:30 +02:00
Bram Moolenaar
0022675aa3
patch 8.2.1779: some debian changelog files are not recognized
...
Problem: Some debian changelog files are not recognized.
Solution: Add */debian/changelog. (Jason Franklin)
2020-10-01 16:54:07 +02:00
Bram Moolenaar
17bb4d4607
patch 8.2.1776: filetype.vim may be loaded twice
...
Problem: Filetype.vim may be loaded twice.
Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
closes #7049 )
2020-09-30 22:45:39 +02:00
Bram Moolenaar
391c362794
patch 8.2.1771: synIDattr() cannot get the value of ctermul
...
Problem: synIDattr() cannot get the value of ctermul.
Solution: Add the "ul" value for "what". (closes #7037 )
2020-09-29 20:59:17 +02:00
Bram Moolenaar
4934ad0e44
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
...
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
2020-09-28 22:29:58 +02:00
Bram Moolenaar
d58a3bf7da
Update runtime files.
2020-09-28 21:48:16 +02:00
Bram Moolenaar
b45cd36bd9
patch 8.2.1768: cannot use the help menu from a terminal window
...
Problem: Cannot use the help menu from a terminal window.
Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023 )
2020-09-28 21:41:49 +02:00
Bram Moolenaar
30fd8204ce
patch 8.2.1744: Vim9: using ":const!" is weird
...
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
2020-09-26 15:09:30 +02:00
Bram Moolenaar
6a33ef0deb
patch 8.2.1741: pathshorten() only supports using one character
...
Problem: pathshorten() only supports using one character.
Solution: Add an argument to control the length. (closes #7006 )
2020-09-25 22:42:48 +02:00
Bram Moolenaar
99ca9c4868
patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"
...
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000 ) Add the "winid" argument to
getcurpos().
2020-09-22 21:55:41 +02:00
Bram Moolenaar
4f73b8e9cc
patch 8.2.1726: fuzzy matching only works on strings
...
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947 )
2020-09-22 20:33:50 +02:00
Bram Moolenaar
44aaf5416e
patch 8.2.1725: not all Pascal files are recognized
...
Problem: Not all Pascal files are recognized.
Solution: Add filetype patterns. (Doug Kearns)
2020-09-22 19:15:31 +02:00
Bram Moolenaar
b5cfff0b34
patch 8.2.1716: options window has duplicate translations
...
Problem: Options window has duplicate translations.
Solution: Make one entry for "global or local to buffer". Fix wrong text.
(closes #6983 )
2020-09-20 21:32:03 +02:00
Bram Moolenaar
1d59aa1fdf
Update runtime files.
2020-09-19 18:50:13 +02:00
Bram Moolenaar
213da551de
patch 8.2.1703: ":highlight clear" does not restore default link
...
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970 , closes #4405 )
2020-09-17 19:59:26 +02:00
Bram Moolenaar
a187c43cfe
patch 8.2.1698: cannot lock a variable in legacy Vim script like in Vim9
...
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
2020-09-16 21:08:28 +02:00
Bram Moolenaar
0b4c66c67a
patch 8.2.1685: Vim9: cannot declare a constant value
...
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
2020-09-14 21:39:44 +02:00
Bram Moolenaar
635414dd2f
patch 8.2.1665: cannot do fuzzy string matching
...
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932 )
2020-09-11 22:25:15 +02:00
Bram Moolenaar
14944c04bd
patch 8.2.1663: options window entries cannot be translated
...
Problem: Options window entries cannot be translated.
Solution: Use AddOption() for all explanations. (closes #6800 )
2020-09-11 20:51:26 +02:00
Bram Moolenaar
a953b5cf4f
patch 8.2.1652: cannot translate lines in the options window
...
Problem: Cannot translate lines in the options window.
Solution: Use the AddOption() function to split descriptions where indicated
by a line break. (issue #6800 )
2020-09-10 14:25:25 +02:00
Bram Moolenaar
4507f6ada5
patch 8.2.1642: otions test fails
...
Problem: Otions test fails.
Solution: Correct call to OptionG().
2020-09-09 15:10:52 +02:00
Bram Moolenaar
64075b0ab1
patch 8.2.1639: options window cannot be translated
...
Problem: Options window cannot be translated.
Solution: Get the translation for "local to" texts once and use them in many
places. Fix that 'whichwrap' is not a local option. (issue #6800 )
2020-09-09 12:56:30 +02:00
Bram Moolenaar
57ad94c5a9
patch 8.2.1635: no digraph for 0x2022 BULLET
...
Problem: No digraph for 0x2022 BULLET.
Solution: Use "oo". (Hans Ginzel, closes #6904 )
2020-09-08 19:06:30 +02:00
Bram Moolenaar
1c6737b20a
Update runtime files.
2020-09-07 22:18:52 +02:00
Bram Moolenaar
9bd5d879c2
patch 8.2.1631: test_fails() does not check the context of the line number
...
Problem: test_fails() does not check the context of the line number.
Solution: Use another argument to specify the context of the line number.
2020-09-06 21:47:48 +02:00