console.lua: complete fixed precision properties

Add support for the syntax introduced by 8708f4dc91 in the completion
system.
This commit is contained in:
Guido Cella authored and Kacper Michajłow committed 2024-03-21 08:54:58 +01:00
1 parent 06edb04692
commit 46a35e2edc
1 file changed
+1 -1
+1 -1
View File
@@ -926,7 +926,7 @@ function build_completers()
{ pattern = '^%s*change[-_]list%s+"?([%w_-]+)"?%s+"()%a*$', list = list_option_verb_list, append = '" ' },
{ pattern = '^%s*([av]f)%s+()%a*$', list = list_option_verb_list, append = ' ' },
{ pattern = '^%s*([av]f)%s+"()%a*$', list = list_option_verb_list, append = '" ' },
{ pattern = '${=?()[%w_/-]*$', list = property_list, append = '}' },
{ pattern = '${[=>]?()[%w_/-]*$', list = property_list, append = '}' },
}
for _, command in pairs({'set', 'add', 'cycle', 'cycle[-_]values', 'multiply'}) do