Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Erlang] Rewrite Syntax #1878

Merged
merged 36 commits into from
Oct 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
12a39b7
[Erlang] Rewrite Syntax
Dec 22, 2018
32bf6a5
[Erlang] Apply numeric scope guideline
Feb 16, 2019
f8a32f4
[Erlang] Fix anonymous function definitions
May 8, 2019
db71c01
[Erlang] Fix record scopes
May 8, 2019
cea9bb0
[Erlang] Remove anonymous functions from goto definition
May 8, 2019
e72bf19
[Erlang] Add missing MACRO to symbol list
May 8, 2019
d315d80
[Erlang] Fix record field scopes
May 8, 2019
4da3e6e
[Erlang] Fix spec/type scopes
May 10, 2019
de308bb
[Erlang] Remove obsolete symbol list override
May 10, 2019
71b7311
[Erlang] Update indexed symbol and reference lists
May 10, 2019
7417a13
[Erlang] Add meta.atom.erlang
May 10, 2019
7b82a4a
[Erlang] Fix fun scopes
May 10, 2019
659db3e
[Erlang] Update type test cases
May 10, 2019
b4bccdc
[Erlang] Fix macro in indexed symbol list
May 10, 2019
8e8d9d9
[Erlang] Tweak symbol list
May 10, 2019
ea23474
[Erlang] Fix some emergency bailouts
deathaxe May 13, 2019
d51643b
[Erlang] Fix more emergency bailouts
deathaxe May 13, 2019
8a721b3
[Erlang] Add bailout from hex numbers
deathaxe May 15, 2019
2138182
[Erlang] Add bailout from binary strings
deathaxe May 15, 2019
1f57f20
[Erlang] Add bailout from function parameters
deathaxe May 14, 2019
6736d21
[Erlang] Remove repetitions
deathaxe May 14, 2019
16a849c
[Erlang] Add ... in list typespecs
deathaxe May 14, 2019
c65286d
[Erlang] Remove meta.function from macro definitions
deathaxe May 15, 2019
0ac931e
[Erlang] Rename _ scope
deathaxe May 26, 2019
f1ed0f6
[Erlang] Add variable-anonymous-pop context
deathaxe May 28, 2019
5d5a0f2
[Erlang] Add variable-other-pop context
deathaxe May 28, 2019
19ac765
[Erlang] Reorganize function-call context
deathaxe May 28, 2019
63fb738
[Erlang] Reorganize type-call context
deathaxe May 28, 2019
8f46074
[Erlang] Reorganize type-fun context
deathaxe May 28, 2019
54c4772
[Erlang] Merge fun-type into type-call context
deathaxe May 28, 2019
b0d965b
[Erlang] Add meta.path
deathaxe May 29, 2019
dd07239
[Erlang] Fix fun call identifier
Jun 19, 2019
e4958b9
[Erlang] Fix fun definition identifier
Jun 19, 2019
466c869
[Erlang] Fix fun definition identifier part 2
Jun 20, 2019
63a3a9c
[Erlang] Fix record field access in macros
Jun 20, 2019
207f357
[Erlang] Fix mapping separator
Sep 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Erlang/Comments.tmPreferences
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.erlang</string>
<key>settings</key>
Expand Down
20 changes: 20 additions & 0 deletions Erlang/Completion Rules.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.erlang</string>
<key>settings</key>
<dict>
<key>cancelCompletion</key>
<string><![CDATA[(?x:
# anything up to a comment sign
^[^%]* (
# cancel after control keywords
\-\s*(else|endif) |
# line ends with `of`
(^|[^\w@])(endif|else|elsif|of)
)
)]]></string>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Erlang/Erlang.sublime-build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cmd": ["erl", "-compile", "$file"],
"file_regex":"^([^:]+):([0-9]*):?(.*):?(.*)",
"selector": "source.erl"
"selector": "source.erlang"
}
5 changes: 5 additions & 0 deletions Erlang/Erlang.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
// Characters that are considered to separate words
// Note: default separators without `@`
"word_separators": "./\\()\"'-:,.;<>~!#$%^&*|+=[]{}`~?",
}
Loading