mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(install)!: add explicit path field to parser info (#6476)
Problem: Using `url` for both remote repo and local path complicates the code. Solution: Add `path` field that overrides `url` and bypasses git-specific manipulations, i.e., the contents of the `path` are used as-is (no git repo needed). This means `:TSUpdate` will skip such parsers; use `:TSInstall!` instead after making local changes. --------- Co-authored-by: Lewis Russell <lewis6991@gmail.com>
This commit is contained in:
parent
0bb981c876
commit
c70daa36dc
3 changed files with 55 additions and 77 deletions
|
|
@ -91,6 +91,7 @@
|
|||
|
||||
(tuple_struct_pattern
|
||||
")" @indent.end)
|
||||
|
||||
; Typing in "(" inside macro definitions breaks the tree entirely
|
||||
; Making macro_definition becoming errors
|
||||
; Offset this by adding back one indent for start of macro rules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue