Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(docs): replace lua2dox.lua | Lewis Russell | 2024-02-27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The documentation flow (`gen_vimdoc.py`) has several issues: - it's not very versatile - depends on doxygen - doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C. - The intermediate XML files and filters makes it too much like a rube goldberg machine. Solution: Re-implement the flow using Lua, LPEG and treesitter. - `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic. - `lua2dox.lua` is gone! - No more XML files. - Doxygen is now longer used and instead we now use: - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`). - LPEG for C parsing (see `scripts/cdoc_parser.lua`) - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`). - Treesitter for Markdown parsing (see `scripts/text_utils.lua`). - The generated `runtime/doc/*.mpack` files have been removed. - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly. - Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change). | ||
* | fix: type warnings in shared.lua | Lewis Russell | 2024-02-15 |
| | |||
* | docs: add lua typing for `vim.NIL` | Jongwook Choi | 2024-01-15 |
| | |||
* | fix(lua): disallow vim.wait() in fast contexts | Lewis Russell | 2023-11-27 |
| | | | | | | | `vim.wait()` cannot be called in a fast callback since the main loop cannot be run in that context as it is not reentrant Fixes #26122 | ||
* | docs: update vim.schedule param name and type | Oliver Marriott | 2023-09-23 |
| | | | | | Per https://github.com/neovim/neovim/pull/25286#discussion_r1332861721 and https://github.com/neovim/neovim/pull/25286#discussion_r1334318352 | ||
* | docs: replace <pre> with ``` (#25136) | Gregory Anders | 2023-09-14 |
| | |||
* | docs: various clarifications (#24876) | zeertzjq | 2023-08-26 |
| | |||
* | docs(lua): vim.str_utf_{start,end,pos} #24424 | altermo | 2023-07-29 |
| | | | Closes #24422 | ||
* | docs(lua): add missing word in docs for vim.empty_dict (#24401) | Gnik | 2023-07-22 |
| | |||
* | fix: doc errors | Lewis Russell | 2023-07-17 |
| | |||
* | fix: luacheck | Lewis Russell | 2023-07-17 |
| | |||
* | docs(lua): change *lua-foo* -> *vim.foo* | Lewis Russell | 2023-07-17 |
| | |||
* | docs(lua): move function docs to lua files | Lewis Russell | 2023-07-17 |