mirror of https://github.com/lite-xl/lite-xl.git
Browse Source
* Revert "core syntax: strip the path from filename on syntax.get (#1168)"
This reverts commit af6c4bc152
.
The previous behavior was correct and allowed access to the full path for path-dependant syntaxes.
* Use `Doc.abs_filename` to obtain syntax when possible
This allows matching full paths in language syntaxes, but we lose the
possibility of matching the project root.
pull/1526/merge

committed by
GitHub

2 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue