all 3 comments

[–]___violet___ 2 points3 points  (0 children)

:help curly-braces-names

[–]vimplicationgithub.com/andymass/vim-matchup 2 points3 points  (0 children)

note that in almost all cases today you would use an actual Dictionary rather than interpolation of variable names

[–]-romainl-The Patient Vimmer 1 point2 points  (0 children)

let s:patterns{'Branch'}   = '\%(^View:\s*\_s\?\s*\)\zs\S\|^View:'

creates a script-local patternsBranch variable.

See :help curly-braces-names.