From 2ea5ad32b3d33811de04ce7ec432beb00eef3cc6 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Sat, 10 May 2025 13:26:52 -0400 Subject: things --- .config/nvim/lua/treesitter.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/nvim/lua/treesitter.lua') diff --git a/.config/nvim/lua/treesitter.lua b/.config/nvim/lua/treesitter.lua index 011ea9f..ce17c70 100644 --- a/.config/nvim/lua/treesitter.lua +++ b/.config/nvim/lua/treesitter.lua @@ -23,3 +23,15 @@ require 'nvim-treesitter.configs'.setup { -- [options] }, } +local parser_config = require("nvim-treesitter.parsers").get_parser_configs() +parser_config.jai = { + install_info = { + url = "/home/algo/code/github/tree-sitter-jai/", + files = { "src/parser.c", "src/scanner.c" }, + }, + filetype = "jai", + filetype_to_parsername = "jai", + indent = { + enable = true + } +} -- cgit v1.2.3-70-g09d2