Commit Graph

362 Commits (e0342a7ec61c3aa1dc8eceaabff94bbf2d130a46)
 

Author SHA1 Message Date
Sebastian Pahnke ce3a0652b3 Tokenize regex flags as 'keyword.other' like VS Code does
Sebastian Pahnke 3e6c3ee653 Allow the 's' flag in regular expressions
Alexandru Dima 0aea831f05
Merge pull request from finalfantasia/master
[clojure] Improve Clojure syntax highlighting.
Abdussalam Abdurrahman c65a13afa1 [clojure] Add support for `(comment ...)`.
Abdussalam Abdurrahman 1188cfa1bb [clojure] Fix regular expression for character literals.
Consolidate regular expressions for line and in-line comments.
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.
Abdussalam Abdurrahman b276d3ea83 [clojure] Sort the test suites by file name.
Abdussalam Abdurrahman 383f172aee [clojure] Add IntelliJ IDEA project directory/file to .gitignore.
Alex Dima a3d4b50888 Remove usage of jsdom-no-contextify
Alex Dima d085b3bad8 1.5.1
Alex Dima 711d51d9fc Fixes
Alex Dima 701a5b4584 1.5.0
Alex Dima 159af65cc5 Assume identifiers starting with upper case are type names
Alexandru Dima d2c6f44a77
Merge pull request from olane/apex
Add Apex language
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.
olane acea7fd4a1 Add missing `get` keyword
olane c421273fca Apex also doesn't have a byte type
olane 1d66cf8412 Remove hex, octal and binary numbers - apex doesn't support them
olane 40dfb97e56 Add support for apexdoc (based on java javadoc support)
Alex Dima 178be30d46 1.4.1
Alex Dima e656c6a449 Update dependencies
olane 9498adec54 Update tests to reflect new assumption
olane 7140444de9 Assume identifiers starting with an uppercase letter are types
olane 5557352259 Merge keyword list with keyword list from SFDC documentation
olane ca8e66588a Add apex to readme list
olane cd8c782c0e Bundle apex
olane 62d143821a Register apex language and load tests
olane 0821a3dd33 Add Apex highlighter based on Java highlighter
Alex Dima 46d0fd6400 1.4.0
Alexandru Dima bc5c3656cb
Merge pull request from Vityanchys/azcli
Added azcli
Alex Dima 4a58571f1b Merge remote-tracking branch 'origin/master' into pr/Vityanchys/43
Alexandru Dima 5f30811868
Merge pull request from mattmasson/master
Add support for Power Query (M) language
Alexandru Dima a0809e5d56
Merge pull request from masad-frost/master
Fix Clojure syntax highlighting
Alex Dima 6fc362e75a Fix compilation error
Alex Dima 3979a669f3 Add JavaScript coloring
Alex Dima 4b1d2982ff Tweak launch.json
Alex Dima 63639e2ec5 Add TypeScript coloring
Viktar Pakanechny e0ecde0617 Added azcli
Matt Masson 5d86ca2aa7 Add powerquery to bundle
Matt Masson d94b2f8c41 Add built-in constants, functions, and types
Matt Masson 7c6fe3b1bf FIx word breaker for keyword identifiers
Matt Masson 250f5d42d8 Split operator keywords and fix "operators" typo
Matt Masson b261c99d53 Separate constructors and constants from keywords
Matt Masson 985b1bdc11 Add definition for identifier.quote (to match dax syntax)
Matt Masson 56df5af3e5 Add tests
Matt Masson a63a94a9af Separate operators from delimiters
Matt Masson 134fe29df2 add powerquery to distribution and test
Matt Masson eb48b847e5 Remove old wordDefinition field
Matt Masson 8380da7fff Tokenizer fixes for quoted identifiers, comments, strings, numbers
Matt Masson 79b5433bb4 Initial commit of Power Query / M Language