Merge branch 'kd/fix-nim-singlequote-highlighter' of git://github.com/kdheepak/kakoune

This commit is contained in:
Maxime Coste 2018-10-01 11:10:42 +10:00
commit 5709ff7f20

View File

@ -13,6 +13,7 @@ hook global BufCreate .*\.nim(s|ble)? %{
add-highlighter shared/nim regions
add-highlighter shared/nim/code default-region group
add-highlighter shared/nim/single_string region "'" (?<!\\)(\\\\)*' fill string
add-highlighter shared/nim/double_string region '"' (?<!\\)(\\\\)*" fill string
add-highlighter shared/nim/triple_string region '"""' '"""' fill string
add-highlighter shared/nim/comment region '#?#\[' '\]##?' fill comment