mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
Merge remote-tracking branch 'razcore-code/fix-purescript'
This commit is contained in:
commit
cdadcbaf16
@ -45,7 +45,7 @@ add-highlighter shared/purescript/code/ regex (?<!')\b0x+[A-Fa-f0-9]+ 0:value
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b\d+([.]\d+)? 0:value
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(import|hiding|module)(?!')\b 0:keyword
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(import)(?!')\b[^\n]+(?<!')\b(as)(?!')\b 2:keyword
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(class|data|default|deriving|infix|infixl|infixr|instance|module|newtype|pattern|type|where)(?!')\b 0:keyword
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(class|data|default|derive|infix|infixl|infixr|instance|module|newtype|pattern|type|where)(?!')\b 0:keyword
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(case|do|else|if|in|let|mdo|of|proc|rec|then)(?!')\b 0:attribute
|
||||
add-highlighter shared/purescript/code/ regex (?<!')\b(type|data)\b\s+(\bfamily\b)?(?!') 0:keyword
|
||||
|
||||
|
@ -21,7 +21,7 @@ hook global BufSetOption filetype=(c|cpp|dart|gluon|go|java|javascript|objc|php|
|
||||
set-option buffer comment_block_end '*/'
|
||||
}
|
||||
|
||||
hook global BufSetOption filetype=(cabal|haskell|moon|idris|elm|dhall) %{
|
||||
hook global BufSetOption filetype=(cabal|haskell|moon|idris|elm|dhall|purescript) %{
|
||||
set-option buffer comment_line '--'
|
||||
set-option buffer comment_block_begin '{-'
|
||||
set-option buffer comment_block_end '-}'
|
||||
|
Loading…
Reference in New Issue
Block a user