Skip to content

Commit

Permalink
Merge pull request #9 from e-bigmoon/T4_hamlet_keyword-preserve_white…
Browse files Browse the repository at this point in the history
…_space

T4 hamlet keyword preserve white space
  • Loading branch information
waddlaw authored Mar 28, 2020
2 parents 13a2dd9 + da5344c commit 94839fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased changes]

- Added syntax highlighting keyword to preserve white space [#9](https://github.com/e-bigmoon/vscode-language-yesod/pull/9)
- Indent-css content integrated into cassius (indent-css.tmLanguage.json has been deleted) [#8](https://github.com/e-bigmoon/vscode-language-yesod/pull/8)
- Fixed syntax highlighting bug in route file [#7](https://github.com/e-bigmoon/vscode-language-yesod/pull/7)
- Converted tmLanguage format files to JSON format [#5](https://github.com/e-bigmoon/vscode-language-yesod/pull/5)
Expand Down
5 changes: 5 additions & 0 deletions sample/sample.hamlet
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@ $doctype 5

<p *{attrs}>

$# Preserve whitespace
<p>
Paragraph #
<i>italic
\ end.
4 changes: 4 additions & 0 deletions syntaxes/hamlet.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
"include": "source.haskell"
}
]
},
{
"match": "#$|^\\s*\\\\",
"name": "keyword.operator.hamlet"
}
]
},
Expand Down

0 comments on commit 94839fc

Please sign in to comment.