diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-11-26 11:54:26 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2022-12-02 16:05:00 +0100 |
commit | e40df8b1bc6a7832c7707696b374b19642dfd596 (patch) | |
tree | 4fdae16b0285a96e64d254558563d18c08b9ef10 | |
parent | 0b05bd87c04f9cde5c84a062453619349e370795 (diff) | |
download | rneovim-e40df8b1bc6a7832c7707696b374b19642dfd596.tar.gz rneovim-e40df8b1bc6a7832c7707696b374b19642dfd596.tar.bz2 rneovim-e40df8b1bc6a7832c7707696b374b19642dfd596.zip |
docs(news): add entry for highlighted code
-rw-r--r-- | runtime/doc/news.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index b155bae5a4..4896cf19d8 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -39,6 +39,16 @@ NEW FEATURES *news-features* The following new APIs or features were added. +• Treesitter syntax highlighting for `help` files now supports highlighted + code examples. To enable, create a `.config/nvim/ftplugin/help.lua` with + the contents >lua + vim.treesitter.start() +< + Note: Highlighted code examples are only available in the Nvim manual, not + in help files taken from Vim. The treesitter `help` parser is also work in + progress and not guaranteed to correctly highlight every help file in the + wild. + • |vim.secure.trust()|, |:trust| allows the user to manage files in trust database. |