diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2025-05-10 13:26:52 -0400 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2025-05-10 13:26:52 -0400 |
| commit | 43f27b977310b0f83075d5327855e92d9873b046 (patch) | |
| tree | 1b4ed71143caca209d70884c2dff9fcbbb7a4e3e /.config/nvim/lua/treesitter.lua | |
| parent | 973673083f215451b7674a22533b4e7dfdfb81fd (diff) | |
thingsframework
Diffstat (limited to '.config/nvim/lua/treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/treesitter.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lua/treesitter.lua b/.config/nvim/lua/treesitter.lua index b4e9b9b..cbf7d0c 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 + } +} |
