0.1.0 • Published 8 months ago

tree-sitter-etlua v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

tree-sitter-etlua

etlua grammar for tree-sitter

Usage

Neovim

vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
    pattern = "*.etlua"
    command = "set ft=etlua"
})
local pc = require("nvim-treesitter.parsers").get_parser_configs()
pc.etlua = {
    install_info = {
        url = "https://github.com/UrNightmaree/tree-sitter-etlua",
        files = { "src/parser.c" },
    },
    filetype = "etlua",
}

If you want to enable syntax highlighting, copy/move/symlink queries to ~/.config/nvim/queries/etlua.

0.1.0

8 months ago