forked from govim/govim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
complete.go
34 lines (30 loc) · 1.11 KB
/
complete.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package govim
type CompleteMode string
const (
CompleteModeNone CompleteMode = ""
CompleteModeKeyword CompleteMode = "keyword"
CompleteModeCtrl_x CompleteMode = "ctrl_x"
CompleteModeWhole_line CompleteMode = "whole_line"
CompleteModeFiles CompleteMode = "files"
CompleteModeTags CompleteMode = "tags"
CompleteModePath_defines CompleteMode = "path_defines"
CompleteModePath_patterns CompleteMode = "path_patterns"
CompleteModeDictionary CompleteMode = "dictionary"
CompleteModeThesaurus CompleteMode = "thesaurus"
CompleteModeCmdline CompleteMode = "cmdline"
CompleteModeFunction CompleteMode = "function"
CompleteModeOmni CompleteMode = "omni"
CompleteModeSpell CompleteMode = "spell"
CompleteModeEval CompleteMode = "eval"
CompleteModeUnknown CompleteMode = "unknown"
)
type CompleteItem struct {
Abbr string `json:"abbr"`
Word string `json:"word"`
Info string `json:"info"`
Menu string `json:"menu"`
UserData string `json:"user_data"`
}
type CompleteInfo struct {
Mode CompleteMode `json:"mode"`
}