Neovim plugin for Textwire syntax highlighting support.
Note
Hopefully support for this parser will be upstreamed by editors soon. At the moment, it must be integrated manually. In the future we'll not need this block when this plugin will be a part Mason. We need at least 100 ⭐ stars on Textwire repository to contribute to Mason.
return {
"textwire/textwire.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
build = function()
require("textwire").build()
end,
}After installing the plugin, you can open any Textwire file and write the command :TSInstall textwire to install query files.
Note
Don't forget to update treesitter with TSUpdate from time to time because that's the only way to keep Textwire syntax highlighting up-to-date.
When you are contributing to this plugin, please make sure that you are running the cmd/download bash script that will download LSP binaries and treesitter highlights into bin and queries directories. You can run it with the following command:
./cmd/downloadDon't forget to make this file executable if needed.