aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>2022-11-24 01:42:05 +0000
committerGitHub <noreply@github.com>2022-11-23 18:42:05 -0700
commitc9adbcafaec6c7aecb01e8f06a423a74b0a01116 (patch)
tree0fb6f17d8956f444246b32a12a0aae3fa58f297c
parentddea80ebd66617bfc3a1af0b08d55dd7ed51f2ca (diff)
downloadrneovim-c9adbcafaec6c7aecb01e8f06a423a74b0a01116.tar.gz
rneovim-c9adbcafaec6c7aecb01e8f06a423a74b0a01116.tar.bz2
rneovim-c9adbcafaec6c7aecb01e8f06a423a74b0a01116.zip
docs(news): add diagnostic suffix (#21141)
-rw-r--r--runtime/doc/news.txt5
1 files changed, 5 insertions, 0 deletions
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.