-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'o1-complete-fix' of https://github.com/LessComplexity/a…
…vante.nvim into o1-complete-fix
- Loading branch information
Showing
42 changed files
with
2,105 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
crates/avante-repo-map/queries/tree-sitter-elixir-defs.scm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
; * modules and protocols | ||
(call | ||
target: (identifier) @ignore | ||
(arguments (alias) @class) | ||
(#match? @ignore "^(defmodule|defprotocol)$")) | ||
|
||
; * functions | ||
(call | ||
target: (identifier) @ignore | ||
(arguments | ||
[ | ||
; zero-arity functions with no parentheses | ||
(identifier) @method | ||
; regular function clause | ||
(call target: (identifier) @method) | ||
; function clause with a guard clause | ||
(binary_operator | ||
left: (call target: (identifier) @method) | ||
operator: "when") | ||
]) | ||
(#match? @ignore "^(def|defdelegate|defguard|defn)$")) |
Oops, something went wrong.