Merge branch 'fix-nix-path-regex' of http://github.com/notquiteamonad/kakoune into HEAD

This commit is contained in:
Maxime Coste 2021-08-28 13:53:55 +10:00
commit 2b7b5cbfb0

View File

@ -79,7 +79,7 @@ add-highlighter shared/nix/code/ regex \bor\b 0:operator
# override any operators matched before
# path:
add-highlighter shared/nix/code/ regex '\s\(*(\.?\.?/[-A-Za-z0-9/_+.]+)[;?]?' 1:meta
add-highlighter shared/nix/code/ regex '\s\(*(\.?\.?[-A-Za-z0-9/_+.]*/[-A-Za-z0-9/_+.]*)[;?]?' 1:meta
# imported path:
add-highlighter shared/nix/code/ regex <[-A-Za-z0-9/_+.]+> 0:meta
# RFC 2396 URIs can be used without quoting. Strangely, "string" ends URL but ''indented'' one doesn't