aboutsummaryrefslogtreecommitdiff
path: root/scripts/lua2dox_filter
Commit message (Collapse)AuthorAge
* feat(lua)!: execute Lua with "nvim -l"Justin M. Keyes2023-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Nvim has Lua but the "nvim" CLI can't easily be used to execute Lua scripts, especially scripts that take arguments or produce output. Solution: - support "nvim -l [args...]" for running scripts. closes #15749 - exit without +q - remove lua2dox_filter - remove Doxyfile. This wasn't used anyway, because the doxygen config is inlined in gen_vimdoc.py (`Doxyfile` variable). - use "nvim -l" in docs-gen CI job Examples: $ nvim -l scripts/lua2dox.lua --help Lua2DoX (0.2 20130128) ... $ echo "print(vim.inspect(_G.arg))" | nvim -l - --arg1 --arg2 $ echo 'print(vim.inspect(vim.api.nvim_buf_get_text(1,0,0,-1,-1,{})))' | nvim +"put ='text'" -l - TODO? -e executes Lua code -l loads a module -i enters REPL _after running the other arguments_.
* refactor(lua2dox_filter): formatLewis Russell2022-10-10
|
* fix(gen_vimdoc.py): handle missing luajitJustin M. Keyes2022-09-25
|
* build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)dundargoc2022-07-27
| | | | | It currently falls back to texlua if luajit doesn't exist. However, the documentation generation does not work with texlua. Instead use lua as a fall back instead.
* more generic shebang for lua2dox_filterMatthieu Coudron2021-03-04
| | | | previous one was not working/ or use /bin/sh
* doc: fix scripts and regenerate (#12506)TJ DeVries2020-07-02
| | | | | | | | | | | | | | | | | * Fix some small doc issues * doc: fixup * doc: fixup * Fix lint and rebase * Remove bad advice * Ugh, stupid mpack files... * Don't let people include these for now until they specifically want to * Prevent duplicate tag
* gen_vimdoc.py: get Lua docs via lua2dox.lua #9740KillTheMule2019-05-18