Commit graph

10 commits

Author SHA1 Message Date
Stephan Seitz
eb742e304a locals(Go): add namespace definition for import_spec_list
This would define `foo`
```go
import (
	foo "fmt"
)
```
2021-04-13 13:34:57 +02:00
Stephan Seitz
f8314a4df3 highlights(go): Highlight const_declaration
Fixes #1157
2021-04-07 13:03:44 +02:00
Santos Gallegos
68d8f4c02e Remove @definition.doc captures
These aren't really definitions and are being show in the definitions
list. We aren't using them at the moment, we could use another group or
query file.
2020-09-17 09:18:05 +02:00
Thomas Vigouroux
b90e520ccd ci: fix wrong queries 2020-09-11 12:02:35 +02:00
Stephan Seitz
f37d94699f go locals: remove unused strip! directive 2020-09-07 01:47:53 +02:00
Stephan Seitz
5b8c110ea4 Go locals: Make func_literal (lambda) a @scope 2020-07-26 10:16:24 +02:00
Stephan Seitz
17f99676e1 Go locals: use reference.kind for calls 2020-07-26 10:16:24 +02:00
Stephan Seitz
b7a4c97feb Go locals: range_clause can define variables
```go
for _, num := range numbers {
         fmt.Print(num, " ")
}
```
2020-07-24 10:07:46 +02:00
Stephan Seitz
5a096cb3f1 Add call references for Go 2020-06-07 12:39:58 +02:00
Stephan Seitz
452447694a Add go locals.scm 2020-06-07 12:39:58 +02:00