<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/scripts/lua2dox_filter, branch rahm</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>feat(lua)!: execute Lua with "nvim -l"</title>
<updated>2023-01-05T16:10:02+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-21T02:00:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7c94bcd2d77e2e54b8836ab8325460a367b79eae'/>
<id>7c94bcd2d77e2e54b8836ab8325460a367b79eae</id>
<content type='text'>
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_.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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_.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua2dox_filter): format</title>
<updated>2022-10-10T11:21:40+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-10-10T11:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3b6c7f9c7f2df493e24990c47a338ef8b46dfe8a'/>
<id>3b6c7f9c7f2df493e24990c47a338ef8b46dfe8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(gen_vimdoc.py): handle missing luajit</title>
<updated>2022-09-25T12:31:33+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-09-25T11:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1b60b5ec94001f18b70dbebf6c232c33209f11b5'/>
<id>1b60b5ec94001f18b70dbebf6c232c33209f11b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)</title>
<updated>2022-07-26T22:17:11+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-07-26T22:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=49d2256ae5b747830160a1dd1f3f532cf726b394'/>
<id>49d2256ae5b747830160a1dd1f3f532cf726b394</id>
<content type='text'>
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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>more generic shebang for lua2dox_filter</title>
<updated>2021-03-04T14:44:40+00:00</updated>
<author>
<name>Matthieu Coudron</name>
<email>mcoudron@hotmail.com</email>
</author>
<published>2021-03-02T02:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e55c27fc6e32115d22b82422a95e56e2e9205e9a'/>
<id>e55c27fc6e32115d22b82422a95e56e2e9205e9a</id>
<content type='text'>
previous one was not working/ or use /bin/sh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previous one was not working/ or use /bin/sh
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: fix scripts and regenerate (#12506)</title>
<updated>2020-07-02T11:09:17+00:00</updated>
<author>
<name>TJ DeVries</name>
<email>devries.timothyj@gmail.com</email>
</author>
<published>2020-07-02T11:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7b529e7912517af078e005dd7b06b3d042be9cb7'/>
<id>7b529e7912517af078e005dd7b06b3d042be9cb7</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
<entry>
<title>gen_vimdoc.py: get Lua docs via lua2dox.lua #9740</title>
<updated>2019-05-18T20:01:14+00:00</updated>
<author>
<name>KillTheMule</name>
<email>KillTheMule@users.noreply.github.com</email>
</author>
<published>2019-03-29T20:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b102c11e3860985e25b7baf48bba079f5042125a'/>
<id>b102c11e3860985e25b7baf48bba079f5042125a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
