diff --git a/.ctags.d/v.ctags b/.ctags.d/v.ctags index 7d36bdf174..12915bf6f7 100644 --- a/.ctags.d/v.ctags +++ b/.ctags.d/v.ctags @@ -31,7 +31,7 @@ --regex-V=/^[[:blank:]]*\}[[:blank:]]*$//{scope=pop}{placeholder} ## Variables: ---regex-V=/^[[:blank:]]*(mut[[:blank:]]*)([a-zA-Z_][0-9a-zA-Z_]+)[[:blank:]]*:=/\2/v/{scope=ref} +--regex-V=/^[[:blank:]]*(mut[[:blank:]]+)?([a-zA-Z_][0-9a-zA-Z_]+)[[:blank:]]*:=/\2/v/ ## Consts: --regex-V=/^(pub)?[[:blank:]]*const[[:blank:]]+\([[:blank:]]*/const/c/{scope=push}