mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
f004812b33
Introduce vim.secure.trust() to programmatically manage the trust database. Use this function in a new :trust ex command which can be used as a simple frontend. Resolves: https://github.com/neovim/neovim/issues/21092 Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: ii14 <ii14@users.noreply.github.com>
92 lines
3.2 KiB
Plaintext
92 lines
3.2 KiB
Plaintext
*news.txt* Nvim
|
|
|
|
|
|
NVIM REFERENCE MANUAL
|
|
|
|
|
|
Notable changes in Nvim 0.9 from 0.8 *news*
|
|
|
|
Type |gO| to see the table of contents.
|
|
|
|
==============================================================================
|
|
BREAKING CHANGES *news-breaking*
|
|
|
|
The following changes may require adaptations in user config or plugins.
|
|
|
|
• Cscope support is now removed (see |cscope| and |nvim-features-removed|):
|
|
- Commands removed:
|
|
- `:cscope`
|
|
- `:lcscope`
|
|
- `:scscope`
|
|
- `:cstag`
|
|
- Options removed:
|
|
- `cscopepathcomp`
|
|
- `cscopeprg`
|
|
- `cscopequickfix`
|
|
- `cscoperelative`
|
|
- `cscopetag`
|
|
- `cscopetagorder`
|
|
- `cscopeverbose`
|
|
- Eval functions removed:
|
|
- `cscope_connection()`
|
|
|
|
Note: support for |ctags| remains with no plans to remove.
|
|
|
|
See https://github.com/neovim/neovim/pull/20545 for more information.
|
|
|
|
==============================================================================
|
|
NEW FEATURES *news-features*
|
|
|
|
The following new APIs or features were added.
|
|
|
|
• |vim.secure.trust()|, |:trust| allows the user to manage files in trust
|
|
database.
|
|
|
|
• |vim.diagnostic.open_float()| (and therefore |vim.diagnostic.config()|) now
|
|
accepts a `suffix` option which, by default, renders LSP error codes.
|
|
Similarly, the `virtual_text` configuration in |vim.diagnostic.config()| now
|
|
has a `suffix` option which does nothing by default.
|
|
|
|
• |vim.secure.read()| reads a file and prompts the user if it should be
|
|
trusted and, if so, returns the file's contents.
|
|
|
|
• When using Nvim inside tmux 3.2 or later, the default clipboard provider
|
|
will now copy to the system clipboard. |provider-clipboard|
|
|
|
|
• 'splitkeep' option to control the scroll behavior of horizontal splits.
|
|
|
|
• |nvim_select_popupmenu_item()| now supports |cmdline-completion| popup menu.
|
|
|
|
• |'diffopt'| now includes a `linematch` option to enable a second-stage diff
|
|
on individual hunks to provide much more accurate diffs. This option is also
|
|
available to |vim.diff()|
|
|
|
|
See https://github.com/neovim/neovim/pull/14537.
|
|
|
|
==============================================================================
|
|
CHANGED FEATURES *news-changes*
|
|
|
|
The following changes to existing APIs or features add new behavior.
|
|
|
|
• 'exrc' is no longer marked deprecated.
|
|
|
|
==============================================================================
|
|
REMOVED FEATURES *news-removed*
|
|
|
|
The following deprecated functions or APIs were removed.
|
|
|
|
• `filetype.vim` is removed in favor of |lua-filetype|
|
|
(Note that filetype logic and tests still align with Vim, so additions or
|
|
changes need to be contributed there first.)
|
|
See https://github.com/neovim/neovim/pull/20674.
|
|
|
|
==============================================================================
|
|
DEPRECATIONS *news-deprecations*
|
|
|
|
The following functions are now deprecated and will be removed in the next
|
|
release.
|
|
|
|
|
|
|
|
vim:tw=78:ts=8:sw=2:et:ft=help:norl:
|