mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
feat(elixir): added query for access_call
This commit is contained in:
parent
b510fd445b
commit
e4fb8bdb28
2 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,10 @@
|
|||
"[" @delimiter
|
||||
"]" @delimiter @sentinel) @container
|
||||
|
||||
(access_call
|
||||
"[" @delimiter
|
||||
"]" @delimiter @sentinel) @container
|
||||
|
||||
(bitstring
|
||||
"<<" @delimiter
|
||||
">>" @delimiter @sentinel) @container
|
||||
|
|
|
@ -22,6 +22,10 @@ defmodule Regular do
|
|||
IO.puts "The first value is #{head}"
|
||||
head + (((1 + (2 + 3))))
|
||||
end
|
||||
|
||||
defp accessLookup(map, x) do
|
||||
map[map[map[map[x]]]]
|
||||
end
|
||||
end
|
||||
|
||||
# Keyword list syntactic sugar
|
||||
|
|
Loading…
Reference in a new issue