mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 23:35:32 +00:00
Problem: No way of inspecting the (user-added) filetype detection rules. Solution: Add `vim.filetype.inspect()` returning copies of the internal `extension`, `filename`, `pattern` tables. Due to the dynamic nature of filetype detection, this will in general not allow getting the list of known filetypes, but at least one can see if a given extension is known.
160 lines
2.7 KiB
Plaintext
160 lines
2.7 KiB
Plaintext
*news.txt* Nvim
|
|
|
|
|
|
NVIM REFERENCE MANUAL
|
|
|
|
|
|
Notable changes since Nvim 0.12 *news*
|
|
|
|
For changes in the previous release, see |news-0.12|.
|
|
|
|
Type |gO| to see the table of contents.
|
|
|
|
==============================================================================
|
|
BREAKING CHANGES *news-breaking*
|
|
|
|
These changes may require adaptations in your config or plugins.
|
|
|
|
API
|
|
|
|
• todo
|
|
|
|
DIAGNOSTICS
|
|
|
|
• todo
|
|
|
|
EDITOR
|
|
|
|
• todo
|
|
|
|
EVENTS
|
|
|
|
• todo
|
|
|
|
LSP
|
|
|
|
• todo
|
|
|
|
LUA
|
|
|
|
• todo
|
|
|
|
OPTIONS
|
|
|
|
• todo
|
|
|
|
PLUGINS
|
|
|
|
• todo
|
|
|
|
TREESITTER
|
|
|
|
• todo
|
|
|
|
==============================================================================
|
|
NEW FEATURES *news-features*
|
|
|
|
The following new features were added.
|
|
|
|
API
|
|
|
|
• |vim.lsp.buf.declaration()|, |vim.lsp.buf.definition()|, |vim.lsp.buf.definition()|,
|
|
and |vim.lsp.buf.implementation()| now follows 'switchbuf'.
|
|
|
|
BUILD
|
|
|
|
• todo
|
|
|
|
DEFAULTS
|
|
|
|
• todo
|
|
|
|
DIAGNOSTICS
|
|
|
|
• todo
|
|
|
|
EDITOR
|
|
|
|
• todo
|
|
|
|
EVENTS
|
|
|
|
• todo
|
|
|
|
HIGHLIGHTS
|
|
|
|
• todo
|
|
|
|
LSP
|
|
|
|
• LSP capabilities:
|
|
• `textDocument/foo` …
|
|
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#textDocument_codeLens
|
|
• `textDocument/bar` …
|
|
https://microsoft.github.io/language-server-protocol/specification/#textDocument_colorPresentation
|
|
• todo
|
|
|
|
LUA
|
|
|
|
• |vim.filetype.inspect()| returns a copy of the internal tables used for
|
|
filetype detection.
|
|
|
|
OPTIONS
|
|
|
|
• todo
|
|
|
|
PERFORMANCE
|
|
|
|
• todo
|
|
|
|
PLUGINS
|
|
|
|
• todo
|
|
|
|
STARTUP
|
|
|
|
• todo
|
|
|
|
TERMINAL
|
|
|
|
• todo
|
|
|
|
TREESITTER
|
|
|
|
• todo
|
|
|
|
TUI
|
|
|
|
• The TUI will re-query the terminal's background color when resuming from
|
|
a suspended state, and Nvim will update 'background' accordingly.
|
|
|
|
UI
|
|
|
|
• todo
|
|
|
|
VIMSCRIPT
|
|
|
|
• todo
|
|
|
|
==============================================================================
|
|
CHANGED FEATURES *news-changed*
|
|
|
|
These existing features changed their behavior.
|
|
|
|
• |:Open| with no arguments uses the current file.
|
|
|
|
==============================================================================
|
|
REMOVED FEATURES *news-removed*
|
|
|
|
These deprecated features were removed.
|
|
|
|
• |vim.lsp.buf.declaration()|, |vim.lsp.buf.definition()|, |vim.lsp.buf.definition()|,
|
|
and |vim.lsp.buf.implementation()| no longer accept the `reuse_win` option.
|
|
|
|
==============================================================================
|
|
DEPRECATIONS *news-deprecations*
|
|
|
|
See |deprecated-0.13|.
|
|
|
|
vim:tw=78:ts=8:sw=2:et:ft=help:norl:
|