Get the latest tech news
Highlighting Parts of Lua as Bash
Using Treesitter in neovim to conditionally highlight code snippets
Since i am currently working on a little tool for synching my old macbook pro, my workstation at home and my work thinkpad - I want to highlight a part of the lua configuration for said tool as bash, not as a lua string. :PackerSync will synchronise your neovim instance to your configuration and install treesitter. The injection works by quering the treesitter tree (inspectable via:InspectTree) for a field where its value is a string and its name is equal to"script".
Or read this on Hacker News