mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
docs: news.txt
This commit is contained in:
@@ -119,10 +119,6 @@ OPTIONS
|
|||||||
• Setting |hidden-options| now gives an error. In particular, setting
|
• Setting |hidden-options| now gives an error. In particular, setting
|
||||||
'noshellslash' is now only allowed on Windows.
|
'noshellslash' is now only allowed on Windows.
|
||||||
|
|
||||||
PLUGINS
|
|
||||||
|
|
||||||
• TODO
|
|
||||||
|
|
||||||
TREESITTER
|
TREESITTER
|
||||||
|
|
||||||
• |Query:iter_matches()| correctly returns all matching nodes in a match
|
• |Query:iter_matches()| correctly returns all matching nodes in a match
|
||||||
@@ -136,12 +132,11 @@ TREESITTER
|
|||||||
if no languages are explicitly registered.
|
if no languages are explicitly registered.
|
||||||
• |vim.treesitter.language.add()| returns `true` if a parser was loaded
|
• |vim.treesitter.language.add()| returns `true` if a parser was loaded
|
||||||
successfully and `nil,errmsg` otherwise instead of throwing an error.
|
successfully and `nil,errmsg` otherwise instead of throwing an error.
|
||||||
• |vim.treesitter.get_parser()| and |vim.treesitter.start()| no longer parse
|
• |vim.treesitter.get_parser()| and |vim.treesitter.start()| no longer parse the
|
||||||
the tree before returning. Scripts must call |LanguageTree:parse()| explicitly. >lua
|
tree before returning. Scripts must call |LanguageTree:parse()| explicitly. >lua
|
||||||
local p = vim.treesitter.get_parser(0, 'c')
|
local p = vim.treesitter.get_parser(0, 'c')
|
||||||
p:parse()
|
p:parse()
|
||||||
• |vim.treesitter.get_parser()| expects its buffer to be loaded.
|
• |vim.treesitter.get_parser()| expects its buffer to be loaded.
|
||||||
<
|
|
||||||
|
|
||||||
TUI
|
TUI
|
||||||
|
|
||||||
@@ -176,7 +171,6 @@ API
|
|||||||
aligned text that truncates before covering up buffer text.
|
aligned text that truncates before covering up buffer text.
|
||||||
• `virt_lines_overflow` field accepts value `scroll` to enable horizontal
|
• `virt_lines_overflow` field accepts value `scroll` to enable horizontal
|
||||||
scrolling for virtual lines with 'nowrap'.
|
scrolling for virtual lines with 'nowrap'.
|
||||||
• |vim.hl.range()| now has a optional `timeout` field which allows for multiple timed highlights
|
|
||||||
|
|
||||||
DEFAULTS
|
DEFAULTS
|
||||||
|
|
||||||
@@ -242,8 +236,7 @@ EDITOR
|
|||||||
• |hl-ComplMatchIns| shows matched text of the currently inserted completion.
|
• |hl-ComplMatchIns| shows matched text of the currently inserted completion.
|
||||||
• |hl-PmenuMatch| and |hl-PmenuMatchSel| show matched text in completion popup.
|
• |hl-PmenuMatch| and |hl-PmenuMatchSel| show matched text in completion popup.
|
||||||
• |gO| now works in `help`, `checkhealth`, and `markdown` buffers.
|
• |gO| now works in `help`, `checkhealth`, and `markdown` buffers.
|
||||||
• Jump between sections in `help` and `checkhealth` buffers with `[[` and
|
• Jump between sections in `help` and `checkhealth` buffers with `[[` and `]]`.
|
||||||
`]]`.
|
|
||||||
|
|
||||||
EVENTS
|
EVENTS
|
||||||
|
|
||||||
@@ -302,6 +295,8 @@ LUA
|
|||||||
• |vim.fs.relpath()| gets relative path compared to base path.
|
• |vim.fs.relpath()| gets relative path compared to base path.
|
||||||
• |vim.fs.dir()| and |vim.fs.find()| can now follow symbolic links,
|
• |vim.fs.dir()| and |vim.fs.find()| can now follow symbolic links,
|
||||||
the behavior can be turn on using the new `follow` option.
|
the behavior can be turn on using the new `follow` option.
|
||||||
|
• |vim.hl.range()| now has a optional `timeout` field which allows for multiple
|
||||||
|
timed highlights.
|
||||||
• |vim.text.indent()| indents/dedents text.
|
• |vim.text.indent()| indents/dedents text.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
@@ -312,10 +307,8 @@ OPTIONS
|
|||||||
• 'messagesopt' configures |:messages| and |hit-enter| prompt.
|
• 'messagesopt' configures |:messages| and |hit-enter| prompt.
|
||||||
• 'tabclose' controls which tab page to focus when closing a tab page.
|
• 'tabclose' controls which tab page to focus when closing a tab page.
|
||||||
• 'eventignorewin' to persistently ignore events in a window.
|
• 'eventignorewin' to persistently ignore events in a window.
|
||||||
• 'winborder' sets the default border for |floating-windows|
|
• 'winborder' sets the default border for |floating-windows|.
|
||||||
|
• 'winborder' "bold" style.
|
||||||
• 'winborder' add bold style.
|
|
||||||
|
|
||||||
• |g:clipboard| accepts a string name to force any builtin clipboard tool.
|
• |g:clipboard| accepts a string name to force any builtin clipboard tool.
|
||||||
|
|
||||||
PERFORMANCE
|
PERFORMANCE
|
||||||
|
Reference in New Issue
Block a user