<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/runtime/queries/bash, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-12-08T13:47:59Z</updated>
<entry>
<title>feat(bash): highlight arguments of trap and kill builtin commands</title>
<updated>2025-12-08T13:47:59Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2025-12-08T09:09:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f47f549f74cea5d5f25a5205c9e127cd882f1d20'/>
<id>urn:sha1:f47f549f74cea5d5f25a5205c9e127cd882f1d20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(bash): remove unnecessary captures</title>
<updated>2025-12-08T12:08:03Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2025-12-08T11:37:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=93537d699851b35ae8518af17ee858981f5ea6ea'/>
<id>urn:sha1:93537d699851b35ae8518af17ee858981f5ea6ea</id>
<content type='text'>
- Bash does not have boolean values and the builtin `true`
  and `false` commands are already covered by another capture.
- The grammar has a `number` node and it's already captured.
</content>
</entry>
<entry>
<title>fix(bash): highlight shebang also when spaced</title>
<updated>2025-06-09T08:43:31Z</updated>
<author>
<name>Éric NICOLAS</name>
<email>ccjmne@gmail.com</email>
</author>
<published>2025-06-05T13:04:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9c03c835fb2c7f0348742221d9c9540a69f47bdd'/>
<id>urn:sha1:9c03c835fb2c7f0348742221d9c9540a69f47bdd</id>
<content type='text'>
This commit aligns the shebang highlighting in bash syntax to what the
Linux kernel will recognise as a valid shebang construct.

In summary, the kernel will accept both headers:

    #!/usr/bin/env lua
    #! /usr/bin/env lua

The second one is quite prominently used throughout documentation
online, such as on Wikipedia's page for Shebang (Unix) [1].

Some sources are adamant it wouldn't be supported at a kernel level, but
it looks to me, upon closer inspection of the current kernel code [2],
that it is indeed quite evidently valid.  It'll simply skip over to the
first character that's neither a space 0x20 nor a tab 0x09.

[1] https://en.wikipedia.org/wiki/Shebang_(Unix)
[2] https://github.com/torvalds/linux/blob/ec7714e4947909190ffb3041a03311a975350fe0/fs/binfmt_script.c#L44-L71
</content>
</entry>
<entry>
<title>feat(bash): highlight variable argument for `printf -v`</title>
<updated>2025-05-24T09:39:59Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2025-03-23T08:14:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=652831b231270da36cfaa03af24df85d1bb47ae9'/>
<id>urn:sha1:652831b231270da36cfaa03af24df85d1bb47ae9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: remove downcase! directive use</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-09-13T09:43:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=efbc2a4b72a83da8c21c41b905daa58e4d7f4e81'/>
<id>urn:sha1:efbc2a4b72a83da8c21c41b905daa58e4d7f4e81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat!: drop modules, general refactor and cleanup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-06-12T15:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=692b051b09935653befdb8f7ba8afdb640adf17b'/>
<id>urn:sha1:692b051b09935653befdb8f7ba8afdb640adf17b</id>
<content type='text'>
</content>
</entry>
</feed>
