diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-03 21:49:14 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-23 11:48:51 +0200 |
| commit | 52a89dd802c4fdf115b277343e7a2c64580e4535 (patch) | |
| tree | 5a5f9998ceeecde4b2fab182e3333bc98d87506f /lua | |
| parent | 3113c6077d9ed1e662a891714ac00e1ee3bb7657 (diff) | |
Update plugin for 0.12
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/tree-sitter-api-notation.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/tree-sitter-api-notation.lua b/lua/tree-sitter-api-notation.lua index 95d5bd5..1b99d49 100644 --- a/lua/tree-sitter-api-notation.lua +++ b/lua/tree-sitter-api-notation.lua @@ -4,8 +4,7 @@ local M = {} function M.setup() local config_file_path = debug.getinfo(1).source:sub(2) local plugin_dir = vim.fn.fnamemodify(config_file_path, ':h:h') - local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs() - parser_config.api_notation = { + require('nvim-treesitter.parsers').api_notation = { install_info = { url = plugin_dir, files = {'src/parser.c'}, |