summaryrefslogtreecommitdiffstats
path: root/syntax/kotlin.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-12-06 12:56:27 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-12-06 12:56:27 +0100
commitdce9e8dec5ef51730291c7bbff3e3997433eabbd (patch)
tree1ca7140cd4244dfdff3d8d58f936d9dc159c9d4e /syntax/kotlin.vim
parent30c87b73deff05c7dd9590228c0615a3299f39ff (diff)
downloadvim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.tar.gz
vim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.zip
Update
Diffstat (limited to 'syntax/kotlin.vim')
-rw-r--r--syntax/kotlin.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/kotlin.vim b/syntax/kotlin.vim
index 10d87cde..f37d5541 100644
--- a/syntax/kotlin.vim
+++ b/syntax/kotlin.vim
@@ -3,7 +3,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1
" Vim syntax file
" Language: Kotlin
" Maintainer: Alexander Udalov
-" Latest Revision: 18 September 2017
+" Latest Revision: 23 November 2017
if exists("b:current_syntax")
finish
@@ -39,7 +39,7 @@ syn region ktComment matchgroup=ktCommentMatchGroup start="/\*" end="\*/" contai
syn match ktSpecialCharError "\v\\." contained
syn match ktSpecialChar "\v\\([tbnr'"$\\]|u\x{4})" contained
syn region ktString start='"' skip='\\"' end='"' contains=ktSimpleInterpolation,ktComplexInterpolation,ktSpecialChar,ktSpecialCharError
-syn region ktString start='"""' end='"""' contains=ktSimpleInterpolation,ktComplexInterpolation,ktSpecialChar,ktSpecialCharError
+syn region ktString start='"""' end='""""*' contains=ktSimpleInterpolation,ktComplexInterpolation,ktSpecialChar,ktSpecialCharError
syn match ktCharacter "\v'[^']*'" contains=ktSpecialChar,ktSpecialCharError
syn match ktCharacter "\v'\\''" contains=ktSpecialChar
syn match ktCharacter "\v'[^\\]'"