diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-10-04 16:24:36 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-10-04 16:24:36 +0200 |
| commit | d05e91141c5f3075825017befe5001acb7ad8edc (patch) | |
| tree | 477315278c30a10f91f8577a9e9849fc244f122a /lua | |
| parent | 7e8e1a0ccb55135ae4fadf134f3cc2a5ef92e71a (diff) | |
Use the plugin path as the tree-sitter config
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/tree-sitter-api-notation.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/tree-sitter-api-notation.lua b/lua/tree-sitter-api-notation.lua index a314a33..223958a 100644 --- a/lua/tree-sitter-api-notation.lua +++ b/lua/tree-sitter-api-notation.lua @@ -5,7 +5,7 @@ function M.setup() local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs() parser_config.api_notation = { install_info = { - url = 'https://git.sr.ht/~rbdr/tree-sitter-api-notation', -- local path or git repo + url = vim.fn.expand('%:p:h:h'), files = {'src/parser.c'}, branch = 'main' } |