Lx grammer in tree-sitter.
Lx is a Lox derived programming language.
This repo also contains vim filetype plugins.
install using vim-plug
Plug 'curist/tree-sitter-lx', { 'rtp': 'vim' }
local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs()
parser_config.lx = {
install_info = {
url = "~/.config/nvim/plugged/tree-sitter-lx",
-- XXX: ^ may need to change this to where you install plugins
files = {"src/parser.c"},
branch = "main",
},
}