Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Autocmd section got messed up #319

Open
kiyoon opened this issue Feb 20, 2023 · 4 comments
Open

docs: Autocmd section got messed up #319

kiyoon opened this issue Feb 20, 2023 · 4 comments
Labels

Comments

@kiyoon
Copy link

kiyoon commented Feb 20, 2023

Describe the bug

Selected part is messed up. They're part of the last bullet point but they (BufReadCmd, BufReadPre, BufUnload, BufWinEnter) should have their separate entries. There's also weird E200 and E201 which I don't know if they should exist.

image

Steps to reproduce

https://neovim.io/doc/user/autocmd.html

Expected behavior

BufReadCmd, BufReadPre, BufUnload, BufWinEnter should have their separate entries

Neovim version (nvim -v)

0.9.0

Vim (not Nvim) behaves the same?

no

Operating system/version

Ubuntu 22.04

Terminal name/version

wezterm 202211 stable

$TERM environment variable

xterm-256color

Installation

appimage

@kiyoon kiyoon added the bug label Feb 20, 2023
@clason
Copy link
Member

clason commented Feb 20, 2023

That's an issue with https://github.com/neovim/tree-sitter-vimdoc, see the Readme:

nesting is ignored: indented listitems are parsed as siblings.

@clason
Copy link
Member

clason commented Feb 20, 2023

(And the website has its own repo, where such issues are probably better discussed: https://github.com/neovim/neovim.github.io)

@clason clason transferred this issue from neovim/neovim Feb 20, 2023
@kiyoon
Copy link
Author

kiyoon commented Feb 20, 2023

Thanks for moving the issue. I first uploaded this on https://github.com/neovim/doc but I wasn't sure where the problem is from.

@clason
Copy link
Member

clason commented Feb 20, 2023

The issue is indeed the nested list, in particular the list item for BufRead ending with a nested list. Adding a new line afterwards fixes the issue (but messes up the layout of the help file, of course).

@justinmk justinmk changed the title Doc: Autocmd section got messed up docs: Autocmd section got messed up Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants