diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-03-21 08:45:51 +0100 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-03-21 08:54:58 +0100 |
commit | 46a35e2edc1905a9cbe4674f454ef056a6d1eef4 (patch) | |
tree | e62b979600b595f75f107b23ce4912ad9bfd1456 | |
parent | 06edb046926cb0338689f334c773f98398e6e861 (diff) | |
download | mpv-46a35e2edc1905a9cbe4674f454ef056a6d1eef4.tar.bz2 mpv-46a35e2edc1905a9cbe4674f454ef056a6d1eef4.tar.xz |
console.lua: complete fixed precision properties
Add support for the syntax introduced by 8708f4dc91 in the completion
system.
-rw-r--r-- | player/lua/console.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |