diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d6f2f6..c269d0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Changed +- Apply language settings to FZN and DZN files as well + ## [0.8.1] - 2018-01-24 ### Fixed - Added the forgotten `elseif` keyword @@ -69,4 +73,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Basic syntax highlighting + +[Unreleased]: https://github.com/Dekker1/linter-mzn/compare/v0.8.1...HEAD +[0.8.1]: https://github.com/Dekker1/linter-mzn/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/Dekker1/linter-mzn/compare/v0.7.0...v0.8.0 diff --git a/settings/language-mzn.cson b/settings/language-mzn.cson index 271db27..f082a0d 100644 --- a/settings/language-mzn.cson +++ b/settings/language-mzn.cson @@ -1,5 +1,6 @@ -'.source.mzn': +'.source.dzn, .source.fzn, .source.mzn': 'editor': 'commentStart': '% ' 'increaseIndentPattern': '^.*\\([^\\)\\"\']*$' 'decreaseIndentPattern': '^(.*\\*/)?\\s*\\)[;\\s]*$' + 'foldEndPattern': '^\\s*\\}|^\\s*\\]|^\\s*\\)'