Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.31 KB

File metadata and controls

39 lines (27 loc) · 1.31 KB

Textwire Neovim Plugin

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.

Installation

return {
    "textwire/textwire.nvim",
    dependencies = {
        "nvim-treesitter/nvim-treesitter",
    },
    build = function()
        require("textwire").build()
    end,
}

Enable Syntax Highlighting

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.

Contributing

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/download

Don't forget to make this file executable if needed.