1
0

Apply language settings to fzn and dzn

This commit is contained in:
Jip J. Dekker 2018-02-07 17:02:39 +11:00
parent e7c59ff79b
commit 90e7538fc8
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,6 @@
'.source.mzn':
'.source.dzn, .source.fzn, .source.mzn':
'editor':
'commentStart': '% '
'increaseIndentPattern': '^.*\\([^\\)\\"\']*$'
'decreaseIndentPattern': '^(.*\\*/)?\\s*\\)[;\\s]*$'
'foldEndPattern': '^\\s*\\}|^\\s*\\]|^\\s*\\)'