lite-xl/data/core
Guldoman ff38e449d1 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-07 14:50:59 +01:00
..
commands Add mouse grab (#1501) 2023-08-07 14:50:59 +01:00
doc Revert "core syntax: strip the path from filename on syntax.get (#1168)" (#1322) 2023-08-07 14:50:59 +01:00
bit.lua Assert for negative `field` in bit32 polyfill 2022-01-12 19:56:09 +01:00
command.lua Disable `trimwhitespace` and `drawwhitespace` via their configs (#1446) 2023-08-07 14:50:58 +01:00
commandview.lua Added in explicit touchscreen keyboard support. (#1389) 2023-08-07 14:50:58 +01:00
common.lua Use `table.move` to implement `common.splice` (#1324) 2023-08-07 14:50:43 +01:00
config.lua Disable `trimwhitespace` and `drawwhitespace` via their configs (#1446) 2023-08-07 14:50:58 +01:00
contextmenu.lua contextmenu: adjust y positioning if less than zero (#1268) 2022-12-28 02:51:24 -04:00
dirwatch.lua Make `dirwatch` sorting compatible with what `file_bisect` expects (#1300) 2023-01-05 15:59:15 -05:00
docview.lua Added in explicit touchscreen keyboard support. (#1389) 2023-08-07 14:50:58 +01:00
emptyview.lua fix: center title and version in emptyview (#1311) 2023-01-06 15:27:05 -04:00
ime.lua Improve IME location updates (#1170) 2022-12-20 20:11:13 -04:00
init.lua When logging don't use `core.status_view` if not yet initialized 2023-08-07 14:50:59 +01:00
keymap-macos.lua Make tab scrolling more flexible (#1384) 2023-08-07 14:50:58 +01:00
keymap.lua Added in double-clicking on emptyview and tab bar. (#1478) 2023-08-07 14:50:59 +01:00
logview.lua `LogView`: Show scrollbar 2022-07-01 05:29:55 +02:00
modkeys-generic.lua Add macos keybindings 2021-04-21 09:48:30 +02:00
modkeys-macos.lua Add macos keybindings 2021-04-21 09:48:30 +02:00
nagview.lua NagView: properly rescale on scale change (#1379) 2023-08-07 14:50:58 +01:00
node.lua Add mouse grab (#1501) 2023-08-07 14:50:59 +01:00
object.lua Make tab scrolling more flexible (#1384) 2023-08-07 14:50:58 +01:00
regex.lua core: ported regex.gsub to faster native version (#1233) 2022-12-20 17:46:37 -04:00
rootview.lua Add mouse grab (#1501) 2023-08-07 14:50:59 +01:00
scrollbar.lua Make `Scrollbar` follow `force_status` when animations are disabled 2022-11-15 21:08:33 +01:00
start.lua feat(bootstrap): return error string from C searcher 2023-08-07 14:50:59 +01:00
statusview.lua Add mouse grab (#1501) 2023-08-07 14:50:59 +01:00
strict.lua Initial commit 2019-12-28 11:17:56 +00:00
style.lua style: move default colors to its own style file 2022-06-02 19:20:54 -04:00
syntax.lua Revert "core syntax: strip the path from filename on syntax.get (#1168)" (#1322) 2023-08-07 14:50:59 +01:00
titleview.lua Add mouse grab (#1501) 2023-08-07 14:50:59 +01:00
tokenizer.lua Allow `tokenizer` to pause and resume in the middle of a line (#1444) 2023-08-07 14:50:58 +01:00
utf8string.lua c core: fix extra utf8 build conflict on windows 2022-05-11 00:22:01 -04:00
view.lua Add View dragging (#1402) 2023-08-07 14:50:58 +01:00