<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/scripts/lua2dox.lua, branch fix_semantic_tokens_pull</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/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='http://git.josher.dev/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>docs: fix typos</title>
<updated>2022-11-02T13:45:26+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2022-10-23T08:17:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4716a578ae0c3516d685495bb55e40c939a4ac87'/>
<id>4716a578ae0c3516d685495bb55e40c939a4ac87</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua2dox): tidy</title>
<updated>2022-10-10T11:21:19+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-10-10T11:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c401b06fe978167a7408375e769be38db4146935'/>
<id>c401b06fe978167a7408375e769be38db4146935</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua2dox): format with stylua</title>
<updated>2022-10-10T11:10:57+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-10-10T11:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a6d889eae1405b4a96c1938d3bab8f27c8c9a029'/>
<id>a6d889eae1405b4a96c1938d3bab8f27c8c9a029</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: added support for specifying types for lua2dox</title>
<updated>2022-10-06T14:42:21+00:00</updated>
<author>
<name>Folke Lemaitre</name>
<email>folke.lemaitre@gmail.com</email>
</author>
<published>2022-09-28T11:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1da7b4eb699fb04cc97dec389470fd0fbd64091d'/>
<id>1da7b4eb699fb04cc97dec389470fd0fbd64091d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: added support for optional params to lua2dox</title>
<updated>2022-10-06T14:38:28+00:00</updated>
<author>
<name>Folke Lemaitre</name>
<email>folke.lemaitre@gmail.com</email>
</author>
<published>2022-09-28T07:11:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=24a1c7f556bba35a9c31c2fdd19cf4b8c00a4395'/>
<id>24a1c7f556bba35a9c31c2fdd19cf4b8c00a4395</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: added support for @generic to lua2dox.lua</title>
<updated>2022-10-06T14:38:28+00:00</updated>
<author>
<name>Folke Lemaitre</name>
<email>folke.lemaitre@gmail.com</email>
</author>
<published>2022-09-28T06:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=453fffde16fe25b818a77eefc7e8e138a00aaf61'/>
<id>453fffde16fe25b818a77eefc7e8e138a00aaf61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build(lua2dox): add parenthesis around parameter types in documentation (#18532)</title>
<updated>2022-05-12T14:02:46+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-05-12T14:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a1b663cce861a76f78d65aa538426d0cf635c379'/>
<id>a1b663cce861a76f78d65aa538426d0cf635c379</id>
<content type='text'>
This will check if the string after the variable in a @param is either
"number", "string", "table", "boolean" and "function" and if so add a
parenthesis around it. This will help separate the variable type with
the following text. Had all our functions been annotated with emmylua
then a more robust solution might have been preferable (such as always
assuming the third string is parameter type without making any checks).
I believe however this is a clear improvement over the current situation
and will suffice for now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will check if the string after the variable in a @param is either
"number", "string", "table", "boolean" and "function" and if so add a
parenthesis around it. This will help separate the variable type with
the following text. Had all our functions been annotated with emmylua
then a more robust solution might have been preferable (such as always
assuming the third string is parameter type without making any checks).
I believe however this is a clear improvement over the current situation
and will suffice for now.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: typo fixes (#17859)</title>
<updated>2022-04-15T10:35:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-04-15T10:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6'/>
<id>e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6</id>
<content type='text'>
Co-authored-by: Elias Alves Moura &lt;eliamoura.alves@gmail.com&gt;
Co-authored-by: venkatesh &lt;shariharanvenkatesh@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Vikas Raj &lt;24727447+numToStr@users.noreply.github.com&gt;
Co-authored-by: Steve Vermeulen &lt;sfvermeulen@gmail.com&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: rwxd &lt;rwxd@pm.me&gt;
Co-authored-by: casswedson &lt;58050969+casswedson@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Elias Alves Moura &lt;eliamoura.alves@gmail.com&gt;
Co-authored-by: venkatesh &lt;shariharanvenkatesh@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Vikas Raj &lt;24727447+numToStr@users.noreply.github.com&gt;
Co-authored-by: Steve Vermeulen &lt;sfvermeulen@gmail.com&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: rwxd &lt;rwxd@pm.me&gt;
Co-authored-by: casswedson &lt;58050969+casswedson@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>build(lint): check scripts/*.lua</title>
<updated>2021-09-19T23:36:08+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-19T23:35:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=736299bf22c47f120d0790f2390511f3302f74a3'/>
<id>736299bf22c47f120d0790f2390511f3302f74a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
