Abdussalam Abdurrahman
3f16600ec1
[clojure] Fix tokenization of escapes in strings
...
The notation for escapes in strings follows that of the host platforms
which is different from the notation for character literals in Clojure
(e.g., "\n" vs `\newline`).
2018-12-07 12:30:10 -08:00
Abdussalam Abdurrahman
4061962186
[clojure] Remove an file name extension that's uncommon
2018-12-06 17:40:33 -08:00
Abdussalam Abdurrahman
223c3eb54f
[clojure] Improve the regular expressions for various symbols.
2018-12-06 17:36:06 -08:00
Abdussalam Abdurrahman
c77f11b1b0
[clojure] Add a word boundary to ensure exact matches for (comment ...).
2018-12-06 17:36:06 -08:00
Abdussalam Abdurrahman
6f6f1b43f0
[clojure] Add ".cljs" and ".cljc" to source file extension list
2018-12-06 17:36:05 -08:00
Alex Dima
8f7537dee5
Fixes Microsoft/monaco-editor#1224
2018-12-05 23:40:54 +01:00
Alexandru Dima
4054a20fdc
Merge pull request #55 from futurejones/update-keywords
...
Solidity - add "constructor" to main keywords
2018-11-28 15:38:35 +01:00
Neil Jones
854a28ccc8
add "constructor" to main keywords
2018-11-25 17:55:23 +09:00
Alex Dima
858705e742
1.6.0
2018-11-12 16:44:32 +01:00
Alex Dima
ad86fb7954
Adopt new npm modules
2018-11-12 16:43:59 +01:00
Alex Dima
ad77f86a8c
Fixes Microsoft/monaco-editor#1175
2018-11-12 14:01:28 +01:00
Alex Dima
9961f06110
Fixes Microsoft/monaco-editor#1170
2018-11-12 13:52:04 +01:00
Alex Dima
70f12687bb
Inline constants
2018-11-12 13:44:24 +01:00
Alex Dima
20a36a1d87
Fixes Microsoft/monaco-editor#1148
2018-11-12 10:36:49 +01:00
Alexandru Dima
f4280b21d6
Merge pull request #53 from pascalberger/patch-1
...
Use C# highlighting for Cake scripts
2018-10-24 19:04:18 +02:00
Pascal Berger
0a2434505e
Use C# highlighting for Cake scripts
2018-10-18 14:17:23 +02:00
Alexandru Dima
00ea4e300e
Merge pull request #52 from AasthaGupta/master
...
Fix markdown bug #1107
2018-10-17 11:03:21 +02:00
Alexandru Dima
21376c35de
Merge pull request #51 from GeekAb/master
...
Markdown bug fix for #1107
2018-10-17 11:03:01 +02:00
Alexandru Dima
2c18c1e799
Merge pull request #50 from goober99/hacktoberfest
...
Added support for Perl quote-like operators to fix #1101
2018-10-17 10:58:01 +02:00
Alexandru Dima
8d039c9816
Merge pull request #48 from TiagoDanin-Forks/StringYAML
...
New rule for non-teminated string in yaml
2018-10-17 10:50:16 +02:00
Alex Dima
290e35d7b2
Merge remote-tracking branch 'origin/master' into pr/TiagoDanin/48
2018-10-17 10:49:21 +02:00
Alexandru Dima
45d4471447
Merge pull request #47 from grzegorz-wcislo/fix_yaml_string_tokenization
...
Fix yaml string tokenization
2018-10-17 10:40:12 +02:00
Aastha Gupta
6182bc8a42
Fix markdown bug
...
Fixes issue: https://github.com/Microsoft/monaco-editor/issues/1107
2018-10-16 19:36:28 +05:30
Abhishek
8ddd2b62eb
Markdown bug fix.
...
Coloring was failing in a specific condition.
2018-10-15 10:52:51 +05:30
Matthew D. Miller
8694e28edb
Modified original regex rule to only catch instances of bare /regex/
2018-10-10 14:27:36 -05:00
Matthew D. Miller
3928208ab4
Fixed failing tests due to regexp modifiers being handled differently
2018-10-10 14:16:45 -05:00
Peng Lyu
5428f8a943
Merge pull request #49 from spahnke/octal
2018-10-10 10:42:25 -07:00
Matthew D. Miller
40fdb5d594
Added support for Perl quote-like operators to fix #1101
2018-10-10 11:06:04 -05:00
Matthew D. Miller
80e9270d80
Separated quote-like operators from other keywords
2018-10-10 10:37:28 -05:00
Matthew D. Miller
6feaf43d1d
Added tests for quoted strings and regexes using alternative delimiters
2018-10-10 10:33:49 -05:00
Sebastian Pahnke
623dbc1acc
Add more tests for hex and binary integer literals
2018-10-05 17:29:11 +02:00
Sebastian Pahnke
79ad5abdb3
Add support for alternate octal integer syntax
2018-10-05 17:28:43 +02:00
TiagoDanin
c59dd6a01e
New rule for non-teminated string in yaml
2018-10-03 14:48:00 -03:00
Grzegorz Wcisło
4b0d5c54d2
Fix yaml string tokenization
2018-10-03 17:59:21 +02:00
Peng Lyu
66b5497f3c
Merge pull request #46 from spahnke/regex-flags
...
Improve tokenization of regular expressions
2018-10-01 15:46:21 -07:00
Sebastian Pahnke
ce3a0652b3
Tokenize regex flags as 'keyword.other' like VS Code does
2018-10-01 08:30:48 +02:00
Sebastian Pahnke
3e6c3ee653
Allow the 's' flag in regular expressions
2018-10-01 08:29:37 +02:00
Alexandru Dima
0aea831f05
Merge pull request #45 from finalfantasia/master
...
[clojure] Improve Clojure syntax highlighting.
2018-09-13 13:27:32 +02:00
Abdussalam Abdurrahman
c65a13afa1
[clojure] Add support for (comment ...).
2018-09-11 23:06:18 -07:00
Abdussalam Abdurrahman
1188cfa1bb
[clojure] Fix regular expression for character literals.
...
Consolidate regular expressions for line and in-line comments.
2018-09-11 21:41:03 -07:00
Abdussalam Abdurrahman
073f212f63
[clojure] Improve Clojure syntax highlighting.
...
This commit:
- Updates the keyword list with public symbols from `clojure.core` for
Clojure 1.9.
- Improves syntax highlighting of symbols, strings, character literals,
and number literals.
- Adds rules for syntax highlighting Clojure keywords and reader macro
characters.
- Fixes an issue where forms following a single semicolon (`;`) are not
marked as comments.
- Fixes an issue where parts of multi-line strings were not correctly
syntax highlighted.
- Adds additional test coverage for tokenization code.
2018-09-11 18:57:40 -07:00
Abdussalam Abdurrahman
b276d3ea83
[clojure] Sort the test suites by file name.
2018-09-11 15:53:17 -07:00
Abdussalam Abdurrahman
383f172aee
[clojure] Add IntelliJ IDEA project directory/file to .gitignore.
2018-09-11 11:37:56 -07:00
Alex Dima
a3d4b50888
Remove usage of jsdom-no-contextify
2018-08-20 17:55:37 +02:00
Alex Dima
d085b3bad8
1.5.1
2018-08-17 10:30:02 +02:00
Alex Dima
711d51d9fc
Fixes Microsoft/monaco-editor#1009
2018-08-17 10:29:51 +02:00
Alex Dima
701a5b4584
1.5.0
2018-08-10 15:44:29 +02:00
Alex Dima
159af65cc5
Assume identifiers starting with upper case are type names
2018-08-10 15:43:12 +02:00
Alexandru Dima
d2c6f44a77
Merge pull request #44 from olane/apex
...
Add Apex language
2018-08-10 15:32:28 +02:00
olane
a3d82924a9
Create case variations of the keywords
...
Apex is case insensitive, but we can't make the highlighter case insensitive without breaking the heuristic which assumes that identifiers starting with an upper case letter are types. As a compromise, create the common case variations of the keywords and match on all of them.
2018-08-10 13:17:45 +01:00