From 46a35e2edc1905a9cbe4674f454ef056a6d1eef4 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 21 Mar 2024 08:45:51 +0100 Subject: [PATCH] console.lua: complete fixed precision properties Add support for the syntax introduced by 8708f4dc91 in the completion system. --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/console.lua b/player/lua/console.lua index 238216445d..bbfaf478f7 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -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