Merge pull request #1437 from ilaborie/patch-1 Kotlin: add `typealias` keyword
diff --git a/components/prism-kotlin.js b/components/prism-kotlin.js
index 0189cfe..36790bc 100644
--- a/components/prism-kotlin.js
+++ b/components/prism-kotlin.js
@@ -2,7 +2,7 @@
Prism.languages.kotlin = Prism.languages.extend('clike', {
'keyword': {
// The lookbehind prevents wrong highlighting of e.g. kotlin.properties.get
- pattern: /(^|[^.])\b(?:abstract|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|else|enum|final|finally|for|fun|get|if|import|in|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|out|override|package|private|protected|public|reified|return|sealed|set|super|tailrec|this|throw|to|try|val|var|when|where|while)\b/,
+ pattern: /(^|[^.])\b(?:abstract|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|else|enum|final|finally|for|fun|get|if|import|in|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|out|override|package|private|protected|public|reified|return|sealed|set|super|tailrec|this|throw|to|try|typealias|val|var|when|where|while)\b/,
lookbehind: true
},
'function': [
@@ -59,4 +59,4 @@
interpolation: interpolation
};
-}(Prism));
\ No newline at end of file
+}(Prism));