highlight calls to erlang modules as types (#5)
* highlight calls to erlang modules as types * Add test Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
7ae20df181
commit
24a9eaeaa9
|
@ -64,6 +64,10 @@
|
|||
|
||||
(alias) @type
|
||||
|
||||
(call
|
||||
target: (dot
|
||||
left: (atom) @type))
|
||||
|
||||
(char) @constant
|
||||
|
||||
; Quoted content
|
||||
|
|
|
@ -79,3 +79,12 @@ Enum.map([1, 2], fn x ->
|
|||
end)
|
||||
# <- keyword
|
||||
# ^ punctuation.bracket
|
||||
|
||||
:erlang.abs(-1)
|
||||
# ^ type
|
||||
# ^ operator
|
||||
# ^ function
|
||||
# ^ punctuation.bracket
|
||||
# ^ operator
|
||||
# ^ number
|
||||
# ^ punctuation.bracket
|
||||
|
|
Loading…
Reference in New Issue