diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-09-29 13:46:44 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-10-04 16:49:17 +0200 |
commit | 088abbeb6e6aecfc34b42db9b8d1396f493a2466 (patch) | |
tree | 39b0ddd7de032afad6088330191f0345dae9a2fa /test/functional/lua/help_spec.lua | |
parent | 28fbdd338586e066aa3e540333513b04c54361bc (diff) | |
download | rneovim-088abbeb6e6aecfc34b42db9b8d1396f493a2466.tar.gz rneovim-088abbeb6e6aecfc34b42db9b8d1396f493a2466.tar.bz2 rneovim-088abbeb6e6aecfc34b42db9b8d1396f493a2466.zip |
feat(docs): nested lists in HTML, update :help parser
- Docs HTML: improvements in https://github.com/neovim/tree-sitter-vimdoc
allow us to many hacks in `gen_help_html.lua`.
- Docs HTML: support nested lists.
- Docs HTML: avoid extra newlines (too much whitespace) in old
(preformatted) layout.
- Docs HTML: disable golden-grid for narrow viewport.
- Workaround for https://github.com/neovim/neovim/issues/20404
closes https://github.com/neovim/neovim/issues/20404
Diffstat (limited to 'test/functional/lua/help_spec.lua')
-rw-r--r-- | test/functional/lua/help_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua index a00aaea9d2..6743648819 100644 --- a/test/functional/lua/help_spec.lua +++ b/test/functional/lua/help_spec.lua @@ -21,7 +21,7 @@ describe(':help docs', function() ok(rv.helpfiles > 100, '>100 :help files', rv.helpfiles) -- Check that parse errors did not increase wildly. -- TODO: Fix all parse errors in :help files. - ok(rv.err_count < 250, '<250 parse errors', rv.err_count) + ok(rv.err_count < 280, '<280 parse errors', rv.err_count) eq({}, rv.invalid_links, exec_lua([[return 'found invalid :help tag links:\n'..vim.inspect(...)]], rv.invalid_links)) end) |