diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-20 00:57:37 -0700 |
---|---|---|
committer | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-20 00:57:37 -0700 |
commit | 33e7713577dde61d9d902d94953842f7b8bb9658 (patch) | |
tree | a4fdd6ed3554da701009ea9e824fef5198ba5a4d /vimscript.html.markdown | |
parent | 962dfca8175fdd1e98a8d54e282788c6717d55e1 (diff) |
[vim/*] highlight vimrc
Diffstat (limited to 'vimscript.html.markdown')
-rw-r--r-- | vimscript.html.markdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vimscript.html.markdown b/vimscript.html.markdown index 04fee6fa..23b9e783 100644 --- a/vimscript.html.markdown +++ b/vimscript.html.markdown @@ -48,7 +48,7 @@ echo 'Hello world!' | " Displays a message echo " Hello \ world " -echo [1, +echo [1, \ 2] echo { @@ -145,7 +145,7 @@ echo 'Hello world\n' | " The last two characters are literal echo 'Let''s go!' | " Two single quotes become one quote character " Single-quote strings take all characters are literal, except two single -" quotes, which are taken to be a single quote in the string itself. See +" quotes, which are taken to be a single quote in the string itself. See " |expr-quote| for all possible escape sequences. " String concatenation @@ -264,7 +264,7 @@ echo "true" ? 1 : 0 | " This string is parsed to 0, which is false " ########### " Variables " ########### -" +" " Variables are bound within a scope; if no scope is provided a default is " chosen by Vim. Use `:let` and `:const` to bind a value and `:unlet` to unbind " it. @@ -325,7 +325,7 @@ let [mother, father; children] = ['Alice', 'Bob', 'Carol', 'Dennis', 'Emily'] " Conditional (|:if|, |:elseif|, |:else|, |:endif|) " ########### -" +" " Conditions are set between `if` and `endif`. They can be nested. let condition = v:true |