From: Hiroshi Shirosaki Date: Thu, 14 Jan 2016 08:28:38 +0000 (+0900) Subject: Fix folding with code block and level setting X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c4aea186135ad663d21268beb4c12ffa3a2c810c?ds=sidebyside;hp=c4aea186135ad663d21268beb4c12ffa3a2c810c Fix folding with code block and level setting - Add fenced code blocks tracking to pythonic folding - Fix fenced code block check with folding - Fix setext fold level setting grater than 2 - Add tests for g:vim_markdown_folding_level - The behavior commented in tests would not be a bug. Fold level `-1` is returned against atx headers. `-1` means that the fold level is undefined, use the fold level of a line before or after this line, whichever is the lowest. Fold level of setext headers `=` should be 1. 14 lines of `foldtextresult(45)` is corrent because 15th blank line is delimiter line of vader. ---