aboutsummaryrefslogtreecommitdiffstats
path: root/queries/go
Commit message (Collapse)AuthorAgeFilesLines
...
* indents(go): perform some changes as go fmt dictatesStephan Seitz2022-02-051-4/+4
|
* indents(go): fix aligned_indent for parameter_listStephan Seitz2022-02-051-2/+3
|
* indents(go): remove `function_declaration` from indentsStephan Seitz2022-02-051-2/+0
|
* highlights(go): highlight `package_identifier` as `@namespace` (#2371)Stephan Seitz2022-01-281-1/+1
|
* highlights(go): highlights "~"Stephan Seitz2022-01-091-0/+1
| | | | | Follow upstream change https://github.com/tree-sitter/tree-sitter-go/commit/beb36fc9be211046d43a165eb8d885bcde6004a1
* Use `@keyword.function` consistentlySergio Alejandro Vargas2021-07-061-1/+1
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* highlights(go): modernize highlights.scmStephan Seitz2021-07-011-67/+106
|
* Use #any-of? instead of #match? where posibleJoakker2021-06-251-2/+9
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* locals(Go): add namespace definition for import_spec_listStephan Seitz2021-04-131-0/+4
| | | | | | | | | This would define `foo` ```go import ( foo "fmt" ) ```
* highlights(go): Highlight const_declarationStephan Seitz2021-04-072-0/+7
| | | | Fixes #1157
* go: add builtin typesYuki Ito2021-03-191-0/+6
|
* go: add builtin functionsYuki Ito2021-03-161-0/+7
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+1
| | | Closes #236
* feat: use @ignore for comments and multiline stringselianiva2021-03-011-0/+2
|
* fix: dedent golang case keywordelianiva2021-01-201-0/+1
|
* feat: add missing golang indent querieselianiva2021-01-151-0/+4
|
* feat: added more indent querieselianiva2021-01-141-0/+17
|
* go: Add package_identifier as variablerockerBOO2020-12-101-0/+1
|
* Add folds for GoClaudia Hardman2020-10-311-0/+13
| | | | | The default behavior in which `@scope` captures were folded resulted in toplevel fold for an entire source file, which was mildly irritating.
* Remove textobjects moduleStephan Seitz2020-10-041-50/+0
|
* Remove @definition.doc capturesSantos Gallegos2020-09-171-2/+0
| | | | | | 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.
* ci: fix wrong queriesThomas Vigouroux2020-09-112-5/+5
|
* go locals: remove unused strip! directiveStephan Seitz2020-09-071-2/+0
|
* fix(queries): use vim-match for non lua regexesSteven Sojka2020-08-161-3/+3
|
* Go locals: Make func_literal (lambda) a @scopeStephan Seitz2020-07-261-1/+3
|
* Go locals: use reference.kind for callsStephan Seitz2020-07-261-10/+18
|
* Go locals: range_clause can define variablesStephan Seitz2020-07-241-0/+5
| | | | | | | | ```go for _, num := range numbers { fmt.Print(num, " ") } ```
* fixes golang method highlights (overwritten by parameter in the ordering)winwisely2682020-07-221-15/+15
|
* go loop and func literal, rust textobject supportwinwisely2682020-07-171-2/+15
|
* added textobject support for golangwinwisely2682020-07-161-0/+37
|
* Add call references for GoStephan Seitz2020-06-071-0/+17
|
* Add go locals.scmStephan Seitz2020-06-071-0/+43
|
* Add highlights.scm for GoStephan Seitz2020-06-071-0/+136