-
Notifications
You must be signed in to change notification settings - Fork 17
*Word*
inside paragraph recognized as tag
#149
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
Comments
Probably not; it's better to edit the docs to make clear these are verbatim or code snippets (wrap in quotes or backticks, respectively). (Working around vimdoc's endless -- and undocumented -- quirks is a quixotic goal. Instead, we should tighten up the format for our own use and enforce it strictly. Note also that long-term, we want to move the help parser into a Lua module.) |
Alright! Maybe I'll create a PR for the Vim-owned help files on their repo. For now, I'll fix the luvref.txt one as I believe that's the only Nvim-owned helpfile from the list above. |
I don't see the |
And we ignore the Vim user manual ( (The |
Ah alright. I tried to find if the file was generated but thought it was not. I'll drop that commit then from #34255.
I think that is because currently Context: I was experimenting with replacing the implementation of |
did you see: |
Yes, that's how I came up with the idea. I commented on that one asking if the TS parser would be available without nvim binary. If it's not, then it won't solve the problem that PR aims to solve. I was planning to create a PR that replaces |
It is, but without an nvim binary, it's useless |
I thought so. However, it was not yet clear to me if it could be used from "nlua0". |
Uh oh!
There was an error while loading. Please reload this page.
This is probably one of Vimdoc's endless quirks, but I haven't seen it being mentioned in an issue here so I thought I would mention it.
Words surrounded by a
*
or starting with one are parsed as tag node. I think this is a bug, and as far as I'm aware, tags can only appear (1) as last node of a line, or (2) as node that is only followed by other tag nodes in the same line. Would it make sense to add this restriction to the vimdoc parser?Here's a list of 'wrong' tag nodes in Nvim's current docs:
Files (*)\t*\n" on other platforms, so that the user can still access any
" Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,*,\.info$,\.swp$,\.o$\.obj$,\.bak$ ~
may want to add "All Files (*.*)\t*\n" as the final filter on Windows or "All
Vim recognizes files with the pattern *.s[uvw][a-z] as swap files.
Note: Luvit will implicitly call uv.run() after loading user
Note: Be prepared to handle the ENOSYS error; it means the
At the top of the help screen, there is the notation *help.txt*. This name
the patterns *printcap*, or *termcap*, you must put additional patterns
the patterns *printcap*, or *termcap*, you must put additional patterns
To define a help tag, place the name between asterisks (*tag-name*). The
The text was updated successfully, but these errors were encountered: