aboutsummaryrefslogtreecommitdiff
path: root/lexers/lua.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-19 15:45:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-19 18:43:41 +0200
commit42e653f9913d32f49981c85f41d009f42b89d523 (patch)
treedac5bd93625edcc49867877976124361ce6b7ac9 /lexers/lua.lua
parent09f9cf9a7e72bb57f7b7d39701908ea424a1c04d (diff)
downloadvis-42e653f9913d32f49981c85f41d009f42b89d523.tar.gz
vis-42e653f9913d32f49981c85f41d009f42b89d523.tar.xz
vis: tweak completion commands
Change tr command to split words, this won't properly work with Unicode but should at least avoid unwanted non-word symbols and be POSIX conformant. A possible alternative would be to use grep -o -E '\w+' while the -o option is not part of POSIX it seems to be mostly supported. However the \w regex syntax might not be supported. Force ls(1) output to be linewise and surpress the same prefix. Change sed invocation to only replace proper prefixes.
Diffstat (limited to 'lexers/lua.lua')
0 files changed, 0 insertions, 0 deletions