From ec9b292ba40e070a538dda38ba70580c64f69e9c Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Tue, 12 Jan 2016 10:32:11 +0600 Subject: [PATCH] fix typos in doc/UltiSnips.txt --- doc/UltiSnips.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index c6b3ace..88d1ec4 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -1450,7 +1450,7 @@ the |UltiSnips-context-snippets| section. Note: special variable called 'snip.buffer' should be used for all buffer modifications. Not 'vim.current.buffer' and not 'vim.command("...")', because -of in that case UltiSnips will not be able to track changes buffer from +of in that case UltiSnips will not be able to track changes in buffer from actions. 'snip.buffer' has the same interface as 'vim.current.window.buffer'. @@ -1549,7 +1549,7 @@ Jump-expand action declared as follows: > snippet ... endsnippet -Buffer can be modified in post-expand action code through variable called +Buffer can be modified in post-jump action code through variable called 'snip.buffer', snippet expansion position will be automatically adjusted. Next variables and methods will be also defined in the action code scope: