Skip to content

Commit

Permalink
Merge pull request highlightjs#1239 from jvoigtlaender/patch-1
Browse files Browse the repository at this point in the history
Add Elm keyword: "subscription"
  • Loading branch information
isagalaev authored Jul 6, 2016
2 parents d506d1d + 5aec44c commit 66c4ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/elm.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ function(hljs) {
return {
keywords:
'let in if then else case of where module import exposing ' +
'type alias as infix infixl infixr port effect command',
'type alias as infix infixl infixr port effect command subscription',
contains: [

// Top-level constructions.

{
beginKeywords: 'port effect module', end: 'exposing',
keywords: 'port effect module where command exposing',
keywords: 'port effect module where command subscription exposing',
contains: [LIST, COMMENT],
illegal: '\\W\\.|;'
},
Expand Down

0 comments on commit 66c4ce3

Please sign in to comment.