fbdd1072a913

Fix typo.

`foldmethod()` should be `foldlevel()`.
[view raw] [browse files]
author Vincent Driessen <vincent@3rdcloud.com>
date Mon, 04 Jun 2012 22:52:33 +0200
parents fd07be518d46
children 600054f43991
branches/tags (none)
files chapters/49.markdown

Changes

--- a/chapters/49.markdown	Sat Jun 02 17:18:18 2012 -0400
+++ b/chapters/49.markdown	Mon Jun 04 22:52:33 2012 +0200
@@ -78,17 +78,17 @@
 Now run the following command to view the foldlevel of line 1:
 
     :::vim
-    :echom foldmethod(1)
+    :echom foldlevel(1)
 
 Vim will display `0`.  Now let's find the foldlevel of line 2:
 
     :::vim
-    :echom foldmethod(2)
+    :echom foldlevel(2)
 
 Vim will display `1`.  Let's try line 3:
 
     :::vim
-    :echom foldmethod(3)
+    :echom foldlevel(3)
 
 Once again Vim displays `1`.  This means that lines 2 and 3 are part of a level
 1 fold.