Justin M. Keyes
7c94bcd2d7
feat(lua)!: execute Lua with "nvim -l"
...
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_.
2023-01-05 17:10:02 +01:00
..
2023-01-04 07:38:48 +08:00
2022-10-18 07:18:44 -07:00
2022-11-24 10:23:50 +00:00
2023-01-01 15:05:13 +01:00
2022-12-05 21:09:31 +08:00
2022-12-02 16:05:00 +01:00
2022-11-12 07:43:36 +08:00
2019-05-09 20:27:11 -04:00
2022-12-02 16:05:00 +01:00
2022-12-02 16:05:00 +01:00
2022-12-11 18:41:26 -08:00
2022-12-28 09:01:40 -07:00
2023-01-01 15:00:39 +01:00
2022-11-24 10:23:50 +00:00
2023-01-01 15:05:13 +01:00
2023-01-03 11:36:38 -07:00
2023-01-03 10:07:43 +00:00
2022-11-10 09:05:25 +00:00
2022-12-08 16:33:38 +01:00
2022-10-14 08:01:13 -07:00
2021-09-10 08:48:27 +02:00
2022-02-27 11:56:30 +01:00
2022-10-29 17:41:22 +02:00
2023-01-01 15:05:13 +01:00
2023-01-01 15:05:13 +01:00
2023-01-01 15:05:13 +01:00
2023-01-03 10:07:43 +00:00
2023-01-01 15:05:13 +01:00
2021-09-15 21:19:22 +01:00
2022-12-02 16:05:00 +01:00
2022-10-14 08:01:13 -07:00
2023-01-01 15:05:13 +01:00
2023-01-03 10:07:43 +00:00
2023-01-01 15:05:13 +01:00
2023-01-01 15:05:13 +01:00
2022-12-02 16:05:00 +01:00
2022-12-02 16:05:00 +01:00
2023-01-04 11:48:41 +00:00
2023-01-04 07:38:48 +08:00
2023-01-05 17:10:02 +01:00
2022-12-02 16:05:00 +01:00
2023-01-01 15:05:21 +01:00
2023-01-01 15:05:13 +01:00
2023-01-01 15:05:13 +01:00
2022-12-05 21:09:31 +08:00
2022-10-14 08:01:13 -07:00
2023-01-01 15:05:13 +01:00
2023-01-05 17:10:02 +01:00
2022-12-02 16:05:00 +01:00
2022-12-11 18:41:26 -08:00
2023-01-03 10:07:43 +00:00
2022-11-05 16:09:22 +08:00
2018-10-29 09:55:07 +01:00
2022-10-23 04:04:23 -07:00
2022-10-06 06:16:00 -07:00
2023-01-03 10:07:43 +00:00
2018-10-29 09:55:07 +01:00
2023-01-01 15:05:13 +01:00
2022-11-10 09:05:25 +00:00
2022-10-29 17:41:22 +02:00
2022-12-11 18:41:26 -08:00
2023-01-04 07:38:48 +08:00
2023-01-03 10:07:43 +00:00
2022-03-23 19:52:50 +08:00
2019-03-26 19:55:33 +01:00
2022-12-31 13:25:26 +01:00
2022-11-02 21:45:26 +08:00
2023-01-01 15:05:13 +01:00
2022-10-14 08:01:13 -07:00
2022-07-06 19:34:24 +08:00
2023-01-01 15:00:39 +01:00
2022-11-10 09:05:25 +00:00
2023-01-05 17:10:02 +01:00
2022-11-20 18:42:30 +08:00
2023-01-01 15:05:13 +01:00
2022-09-26 17:43:23 +08:00
2023-01-01 15:05:13 +01:00
2022-12-02 16:05:00 +01:00
2022-12-03 14:47:35 +08:00
2023-01-01 15:05:13 +01:00
2022-12-08 09:51:46 -07:00
2022-10-15 17:42:45 +08:00
2022-12-31 13:25:26 +01:00
2022-07-26 11:26:23 +02:00
2023-01-01 15:05:13 +01:00
2022-10-14 08:01:13 -07:00
2023-01-01 15:05:21 +01:00
2022-11-10 09:05:25 +00:00
2022-02-24 18:13:44 +08:00
2023-01-01 15:05:21 +01:00
2023-01-03 10:07:43 +00:00
2022-02-24 18:13:44 +08:00
2023-01-01 15:05:21 +01:00
2021-09-08 07:24:12 -07:00
2023-01-01 15:05:21 +01:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2023-01-01 15:05:21 +01:00
2023-01-01 15:05:21 +01:00
2022-09-26 17:43:23 +08:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:33 -04:00
2023-01-01 15:05:21 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2018-10-29 10:01:44 +01:00
2023-01-01 15:05:21 +01:00
2023-01-01 15:05:21 +01:00
2021-04-29 20:42:16 -04:00
2023-01-01 15:05:21 +01:00
2023-01-01 15:05:21 +01:00
2022-11-22 07:21:26 +08:00
2023-01-01 15:05:21 +01:00
2019-03-26 19:55:33 +01:00
2021-04-27 09:21:34 -04:00
2022-10-14 08:01:13 -07:00
2023-01-03 10:07:43 +00:00
2023-01-03 10:07:43 +00:00
2023-01-03 10:07:43 +00:00
2023-01-03 10:07:43 +00:00
2022-11-10 09:05:25 +00:00
2023-01-01 15:05:13 +01:00