Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/aecepoglu/kakoune
Browse files Browse the repository at this point in the history
  • Loading branch information
mawww committed Jan 16, 2020
2 parents 60f9a47 + 8b00458 commit 5f126ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rc/filetype/scheme.kak
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ require-module lisp
add-highlighter shared/scheme regions
add-highlighter shared/scheme/code default-region group

add-highlighter shared/scheme/string region '"' (?<!\\)(\\\\)*" fill string
add-highlighter shared/scheme/comment region ';' '$' fill comment
add-highlighter shared/scheme/string region %{(?<!#\\)"} (?<!\\)(\\\\)*" fill string
add-highlighter shared/scheme/comment region %{(?<!#\\);} '$' fill comment
add-highlighter shared/scheme/comment-form region -recurse "\(" "#;\(" "\)" fill comment
add-highlighter shared/scheme/comment-block region "#\|" "\|#" fill comment
add-highlighter shared/scheme/quoted-form region -recurse "\(" "'\(" "\)" fill variable

add-highlighter shared/scheme/code/ regex (#t|#f) 0:value
add-highlighter shared/scheme/code/ regex \b[0-9]+\.[0-9]*\b 0:value
add-highlighter shared/scheme/code/ regex (#\\((\w+)|(.))) 0:value

evaluate-commands %sh{ exec awk -f - <<'EOF'
BEGIN {
Expand Down

0 comments on commit 5f126ee

Please sign in to comment.