lite-xl/data/core/doc
Guldoman 68e9c4670e
Revert "core syntax: strip the path from filename on syntax.get (#1168)" (#1322)
* 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.
2023-08-19 13:28:14 +08:00
..
highlighter.lua Allow `tokenizer` to pause and resume in the middle of a line (#1444) 2023-08-19 12:39:22 +08:00
init.lua Revert "core syntax: strip the path from filename on syntax.get (#1168)" (#1322) 2023-08-19 13:28:14 +08:00
search.lua Use plain search by default in `search.find` 2021-10-25 00:18:20 +02:00
translate.lua Changed behaviour of home. 2021-08-06 18:08:08 -04:00