neovim/scripts
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
..
bump_deps.lua build: rename build-related dirs 2022-06-28 04:02:29 -07:00
bump-deps.sh docs: various #12823 2022-10-09 05:21:52 -07:00
check_urls.vim vim-patch: move test_urls.vim out of runtime/ 2018-11-12 12:36:40 -05:00
cliff.toml chore: forward-port changes from v0.8.2 release 2022-12-29 17:36:28 +01:00
download-unicode-files.sh build(lintsh): double quote to prevent word splitting (#21571) 2022-12-28 22:50:24 +01:00
gen_filetype.lua feat: filetype.lua (#16600) 2022-01-04 07:28:29 -07:00
gen_help_html.lua docs(website): soft wrap code blocks #21644 2023-01-04 07:15:08 -08:00
gen_vimdoc.py feat(lua)!: execute Lua with "nvim -l" 2023-01-05 17:10:02 +01:00
genappimage.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
genvimvim.lua vim-patch:8c1b8cb2e0b5 (#18966) 2022-06-15 09:20:32 +02:00
git-log-pretty-since.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
legacy2luatest.pl
lintcommit.lua ci(lintcommit): enforce common scope names #20393 2022-10-24 04:24:08 -07:00
lua2dox.lua feat(lua)!: execute Lua with "nvim -l" 2023-01-05 17:10:02 +01:00
movedocs.pl
pvscheck.sh docs: fix typos 2022-11-02 21:45:26 +08:00
release.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
shadacat.py Merge #11319 'inccommand: fix issues with modifiers and prompting' 2019-11-05 17:34:21 -08:00
update_terminfo.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
vim-patch.sh feat!: remove hardcopy 2023-01-03 10:07:43 +00:00
vimpatch.lua vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762 2022-10-21 03:56:09 -07:00
windows.ti fix(terminfo): disable smglr for vtpcon and conemu (#18855) 2022-06-05 14:39:56 +02:00