# HG changeset patch # User Vincent Driessen # Date 1338843153 -7200 # Node ID fbdd1072a913b0706e60c6d5b46a617345e1e294 # Parent fd07be518d4639afab9212143f64310a783d654f Fix typo. `foldmethod()` should be `foldlevel()`. diff -r fd07be518d46 -r fbdd1072a913 chapters/49.markdown --- 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.