summaryrefslogtreecommitdiff
path: root/queries/go
AgeCommit message (Collapse)Author
2022-09-26feat(spell): support more languagesLewis Russell
2022-09-06feat(spell): upstream spell queries from spellsitterLewis Russell
2022-08-15indents(go): no indent at all composite_literal, indent at struct_typeStephan Seitz
2022-08-06injections(go): avoid running queries on all commentsStephan Seitz
Fixes #3187 Fixes #3263
2022-08-05go folds.scm composit_literalray-x
2022-08-05indents(go): improve `@branch` rulesStephan Seitz
- Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166
2022-08-03Split func/method definition from calls in Go highlighting querieslfenzo
2022-07-10add go1.18 any typeViorel Craescu
2022-07-09remove type definitionViorel Craescu
2022-07-09add type def highlight, add field declaration highlight and remove constant ↵Viorel Craescu
highlight
2022-07-09add method spec highlight and block folds (#3151)Viorel Craescu
2022-07-08fix(go): indent const declarationkiyan
https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
2022-07-08Highlight named fields in struct literalsPieter van Loon
2022-04-18fix(go): reduce indent after },)Akin Sowemimo
2022-04-11Add c injection for cgo commentskraftwerk28
2022-02-05indents(go): perform some changes as go fmt dictatesStephan Seitz
2022-02-05indents(go): fix aligned_indent for parameter_listStephan Seitz
2022-02-05indents(go): remove `function_declaration` from indentsStephan Seitz
2022-01-28highlights(go): highlight `package_identifier` as `@namespace` (#2371)Stephan Seitz
2022-01-09highlights(go): highlights "~"Stephan Seitz
Follow upstream change https://github.com/tree-sitter/tree-sitter-go/commit/beb36fc9be211046d43a165eb8d885bcde6004a1
2021-07-06Use `@keyword.function` consistentlySergio Alejandro Vargas
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-07-01highlights(go): modernize highlights.scmStephan Seitz
2021-06-25Use #any-of? instead of #match? where posibleJoakker
2021-05-07Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
2021-04-28Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos
* 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
2021-04-13locals(Go): add namespace definition for import_spec_listStephan Seitz
This would define `foo` ```go import ( foo "fmt" ) ```
2021-04-07highlights(go): Highlight const_declarationStephan Seitz
Fixes #1157
2021-03-19go: add builtin typesYuki Ito
2021-03-16go: add builtin functionsYuki Ito
2021-03-12Add comment parser to highlight comment tags (#893)Santos Gallegos
Closes #236
2021-03-01feat: use @ignore for comments and multiline stringselianiva
2021-01-20fix: dedent golang case keywordelianiva
2021-01-15feat: add missing golang indent querieselianiva
2021-01-14feat: added more indent querieselianiva
2020-12-10go: Add package_identifier as variablerockerBOO
2020-10-31Add folds for GoClaudia Hardman
The default behavior in which `@scope` captures were folded resulted in toplevel fold for an entire source file, which was mildly irritating.
2020-10-04Remove textobjects moduleStephan Seitz
2020-09-17Remove @definition.doc capturesSantos Gallegos
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-11ci: fix wrong queriesThomas Vigouroux
2020-09-07go locals: remove unused strip! directiveStephan Seitz
2020-08-16fix(queries): use vim-match for non lua regexesSteven Sojka
2020-07-26Go locals: Make func_literal (lambda) a @scopeStephan Seitz
2020-07-26Go locals: use reference.kind for callsStephan Seitz
2020-07-24Go locals: range_clause can define variablesStephan Seitz
```go for _, num := range numbers { fmt.Print(num, " ") } ```
2020-07-22fixes golang method highlights (overwritten by parameter in the ordering)winwisely268
2020-07-17go loop and func literal, rust textobject supportwinwisely268
2020-07-16added textobject support for golangwinwisely268
2020-06-07Add call references for GoStephan Seitz