mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-25 04:24:48 +03:00
Merge branch 'haskell' of http://github.com/evanrelf/kakoune
This commit is contained in:
commit
d793ca76b6
@ -84,6 +84,12 @@ add-highlighter shared/haskell/code/ regex \b(forall)\b[^.\n]*?(\.) 1:keyword 2:
|
||||
add-highlighter shared/haskell/code/ regex \B'([^\\]|[\\]['"\w\d\\])' 0:string
|
||||
# this has to come after operators so '-' etc is correct
|
||||
|
||||
# matches function names in type signatures
|
||||
add-highlighter shared/haskell/code/ regex ^\h*(?:(?:where|let|default)\h+)?([_a-z]['\w]*)\s+::\s 1:meta
|
||||
|
||||
# matches quasiquotes
|
||||
add-highlighter shared/haskell/quasiquote region \[\b[\w]['\w]*\| \|\] fill string
|
||||
|
||||
# Commands
|
||||
# ‾‾‾‾‾‾‾‾
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user