Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; -----------
; Definitions
; -----------

; Imports
(import_statement
  (identifier) @local.definition)
  
; Constants
(const_statement
  (variable_declaration
    . (identifier) @local.definition))

; Parameters
(parameter_list
  (identifier) @local.definition)

(typed_parameter
  . (identifier) @local.definition)

(optional_parameter .
  (identifier) @local.definition)

(slurp_parameter
  (identifier) @local.definition)

(function_expression
  . (identifier) @local.definition)
 
; ------
; Scopes
; ------

[
  (function_definition)
  (short_function_definition)
  (macro_definition)
] @local.scope

; ----------
; References
; ----------

(identifier) @local.reference
nodd" d="M2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Zm2.22 1.97a.75.75 0 0 0 0 1.06l.97.97-.97.97a.75.75 0 1 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5a.75.75 0 0 0-1.06 0ZM8.75 8.5a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5h-2.5Z" clip-rule="evenodd" /> Clone
HTTPS
SSH
Open with VS Code
Blaž Hrastnik Golang indent adjustment
a28eaa8 · 2021-05-28 6579Commits
.envrc
-rw-r--r--
31
.github
d---------
.gitignore
-rw-r--r--
63
.gitmodules
-rw-r--r--
3675
Cargo.lock
-rw-r--r--
26799
Cargo.toml
-rw-r--r--
304
LICENSE
-rw-r--r--
16725
README.md
-rw-r--r--
2086
TODO.md
-rw-r--r--
1535
book
d---------
docs
d---------
flake.lock
-rw-r--r--
3300
flake.nix
-rw-r--r--
1098
helix-core
d---------
helix-lsp
d---------
helix-syntax
d---------
helix-term
d---------
helix-tui
d---------
helix-view
d---------
languages.toml
-rw-r--r--
2358
runtime
d---------
screenshot.png
-rw-r--r--
168152
shell.nix
-rw-r--r--
484
theme.toml
-rw-r--r--
1760
README.md