aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/news.txt
blob: bbf63a5ee0a6cecd9c8f58075a2fd62050851f1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
*news.txt*    Nvim


                            NVIM REFERENCE MANUAL


Notable changes in Nvim 0.10 from 0.9                                    *news*

For changes in Nvim 0.9, see |news-0.9|.

                                       Type |gO| to see the table of contents.

==============================================================================
BREAKING CHANGES                                                *news-breaking*

The following changes may require adaptations in user config or plugins.

• |vim.tbl_islist()| now checks whether a table is actually list-like (i.e.,
  has integer keys without gaps and starting from 1). For the previous
  behavior (only check for integer keys, allow gaps or not starting with 1),
  use |vim.tbl_isarray()|.

• "#" followed by a digit no longer stands for a function key at the start of
  the lhs of a mapping.

• `:behave` was removed. if you used `:behave mswin`, the following is equivalent: >vim

    set selection=exclusive
    set selectmode=mouse,key
    set mousemodel=popup
    set keymodel=startsel,stopsel

==============================================================================
ADDED FEATURES                                                     *news-added*

The following new APIs or features were added.

• |vim.iter()| provides a generic iterator interface for tables and Lua
iterators |luaref-in|.

==============================================================================
CHANGED FEATURES                                                 *news-changed*

The following changes to existing APIs or features add new behavior.

• |vim.tbl_contains()| now works for general tables and allows specifying a
  predicate function that is checked for each value. (Use |vim.list_contains()|
  for checking list-like tables (integer keys without gaps) for literal values.)

• |vim.region()| can use a string accepted by |getpos()| as position.

• vim.diagnostic.config() now accepts a function for the virtual_text.prefix
  option, which allows for rendering e.g., diagnostic severities differently.

==============================================================================
REMOVED FEATURES                                                 *news-removed*

The following deprecated functions or APIs were removed.

• Vimball support is removed.
  - :Vimuntar command removed.

==============================================================================
DEPRECATIONS                                                *news-deprecations*

The following functions are now deprecated and will be removed in the next
release.

• Checkhealth functions:
  - |health#report_error|, |vim.health.report_error()|	Use Lua |vim.health.error()| instead.
  - |health#report_info|, |vim.health.report_info()|	Use Lua |vim.health.info()| instead.
  - |health#report_ok|, |vim.health.report_ok()|	Use Lua |vim.health.ok()| instead.
  - |health#report_start|, |vim.health.report_start()|	Use Lua |vim.health.start()| instead.
  - |health#report_warn|, |vim.health.report_warn()|	Use Lua |vim.health.warn()| instead.

 vim:tw=78:ts=8:sw=2:et:ft=help:norl: