Merge pull request #330 from dbartol/dbartol/unique-highlighting
Highlight `unique` as a keyword
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# CodeQL for Visual Studio Code: Changelog
|
||||
|
||||
## 1.1.2
|
||||
|
||||
- Implement syntax highlighting for the new `unique` aggregate.
|
||||
|
||||
## 1.1.1 - 23 March 2020
|
||||
|
||||
- Fix quick evaluation in `.qll` files.
|
||||
|
||||
@@ -422,6 +422,11 @@ repository:
|
||||
keyword: 'true'
|
||||
name: constant.language.boolean.true.ql
|
||||
|
||||
unique:
|
||||
match:
|
||||
keyword: 'unique'
|
||||
name: keyword.aggregate.unique.ql
|
||||
|
||||
where:
|
||||
match:
|
||||
keyword: 'where'
|
||||
@@ -478,6 +483,8 @@ repository:
|
||||
- include: '#then'
|
||||
- include: '#this'
|
||||
- include: '#true'
|
||||
# `unique` is not really a keyword, but we'll highlight it as if it is.
|
||||
- include: '#unique'
|
||||
- include: '#where'
|
||||
|
||||
# A keyword that can be the first token of a predicate declaration.
|
||||
|
||||
Reference in New Issue
Block a user