From c9adbcafaec6c7aecb01e8f06a423a74b0a01116 Mon Sep 17 00:00:00 2001 From: beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com> Date: Thu, 24 Nov 2022 01:42:05 +0000 Subject: [PATCH] docs(news): add diagnostic suffix (#21141) --- runtime/doc/news.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 42a5d7e7ee..70643cf00c 100644 --- 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.