forked from aniani/vim
closes: #13923 Signed-off-by: thinca <thinca@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
15 lines
522 B
VimL
15 lines
522 B
VimL
" String
|
|
|
|
echo 'It''s a string'
|
|
echo 'tab: \t, new line: \n, backslash: \\'
|
|
echo "tab: \t, new line: \n, backslash: \\"
|
|
|
|
" String interpolation
|
|
|
|
echo 'Don''t highlight interpolation: {{ {1 + 2} }}'
|
|
echo "Don't highlight interpolation: {{ {1 + 2} }}"
|
|
echo $'Highlight interpolation:\t{{ { string({'foo': 'bar'}) } }}'
|
|
echo $'Highlight interpolation:\t{{ { $'nested: {{ {1 + 2} }}' } }}'
|
|
echo $"Highlight interpolation:\t{{ { string({"foo": "bar"}) } }}"
|
|
echo $"Highlight interpolation:\t{{ { $"nested: {{ {1 + 2} }}" } }}"
|