Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit 62a039d

Browse files
committed
Highlight numeric e notation
1 parent fadf2aa commit 62a039d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Next
44
- Changed tokenisation of parameters in variable declarations to comments.
5+
- Changed numeric highlighting to include `e` notation.
56
- Fixed `@var` declarations not being highlighted when indented.
67

78
## 1.4.3

syntaxes/novasheets.tmLanguage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ repository:
248248

249249
# Numbers
250250
- name: constant.numeric.css
251-
match: '[+-]?[0-9]+(?:\.[0-9]+)?'
251+
match: '[+-]?[0-9]+(?:\.[0-9]+)?(?:e[-+]?[0-9]+)?'
252252

253253
# Regexes
254254
- name: string.regexp.novasheets

0 commit comments

Comments
 (0)