# HG changeset patch # User Eduardo Lopez Biagi # Date 1356882497 21600 # Node ID 501a4a2cadcec20855a9c9693d501c75b428b4c5 # Parent 0e78ce34b11d7d6edeef52a06ad87ee2087bbf2e Bind a global variable with let instead of set diff -r 0e78ce34b11d -r 501a4a2cadce chapters/52.markdown --- a/chapters/52.markdown Mon Nov 19 19:01:14 2012 -0500 +++ b/chapters/52.markdown Sun Dec 30 09:48:17 2012 -0600 @@ -33,7 +33,7 @@ if that variable isn't already set. We've seen this kind of check before. This will allow users to override it if `potion` isn't in their `$PATH` by -putting a line like `set g:potion_command = "/Users/sjl/src/potion/potion"` in +putting a line like `let g:potion_command = "/Users/sjl/src/potion/potion"` in their `~/.vimrc` file. The last line adds a buffer-local mapping that calls a function we've defined @@ -270,7 +270,7 @@ call append(0, split(bytecode, '\v\n')) endfunction -The `append()` Vim function take two arguments: a line number to append after, +The `append()` Vim function takes two arguments: a line number to append after, and a list of Strings to append as lines. For example, try running the following command: