File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -124,16 +124,20 @@ type
124
124
dirs = " Directories only" , files = " Files only" ,
125
125
dirsfiles = " Directories and files" , commands = " Commands" ,
126
126
custom = " Custom" , none = " Completion for the selected command should be disabled"
127
+ CompletionCommand * = string
128
+ # # Used to store the command to which completion will be added
129
+ CompletionValues * = string
130
+ # # Used to store the values of the selected completion
127
131
Completion * {.tableName : " completions" .} = ref object of Model
128
132
# # Data structure for the shell's commands' completion
129
133
# #
130
134
# # * command - the command for which the completion is set
131
135
# # * cType - the type of completion for the command
132
136
# # * values - the proper values of completion if the completion's type is
133
137
# # set to the custom type
134
- command* {.unique .}: string
138
+ command* {.unique .}: CompletionCommand
135
139
cType* : CompletionType
136
- cValues* : string
140
+ cValues* : CompletionValues
137
141
Plugin * {.tableName : " plugins" .} = ref object of Model
138
142
# # Data structure for the shell's plugin
139
143
# #
You can’t perform that action at this time.
0 commit comments