File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ import (
44 "github.com/xyproto/mode"
55)
66
7- // CLike returns true if the given mode is a C-like language... ish
8- func CLike (m mode.Mode ) bool {
9- return cLikeFor (m )
10- }
11-
127// cLikeSwitch checks if the given mode is a language with C-like for expressions
138func cLikeFor (m mode.Mode ) bool {
149 return m == mode .Arduino || m == mode .C || m == mode .Cpp || m == mode .ObjC || m == mode .Shader || m == mode .Zig || m == mode .Java || m == mode .JavaScript || m == mode .Kotlin || m == mode .TypeScript || m == mode .D || m == mode .Dart || m == mode .Hare || m == mode .Jakt || m == mode .Scala
Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ func (cc *CodeCompleter) LoadModel() error {
5353 return nil
5454}
5555
56- // FoundModel returns true if the name of the model to use for code completion was found
57- func (cc * CodeCompleter ) FoundModel () bool {
58- return cc .foundModel
59- }
60-
6156// Loaded returns true if the ollama client could be used and the code completion model could be loaded
6257func (cc * CodeCompleter ) Loaded () bool {
6358 return cc .ollamaClient != nil
You can’t perform that action at this time.
0 commit comments