neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c9adbcafaec6c7aecb01e8f06a423a74b0a01116
parent ddea80ebd66617bfc3a1af0b08d55dd7ed51f2ca
Author: beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>
Date:   Thu, 24 Nov 2022 01:42:05 +0000

docs(news): add diagnostic suffix (#21141)


Diffstat:
Mruntime/doc/news.txt | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt @@ -39,6 +39,11 @@ NEW FEATURES *news-features* The following new APIs or features were added. +• |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.