54484a3a4dfd

Unfuck lisp folding
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 31 Aug 2015 13:19:45 +0000
parents a625ea210202
children 54df794e9d59
branches/tags (none)
files vim/ftplugin/lisp/lispfolding.vim

Changes

--- a/vim/ftplugin/lisp/lispfolding.vim	Mon Aug 31 12:48:03 2015 +0000
+++ b/vim/ftplugin/lisp/lispfolding.vim	Mon Aug 31 13:19:45 2015 +0000
@@ -13,6 +13,12 @@
             return ">1"
       elseif getline(v:lnum) =~ '^\s*(defparameter.*\s'
             return ">1"
+      elseif getline(v:lnum) =~ '^\s*(defvar.*\s'
+            return ">1"
+      elseif getline(v:lnum) =~ '^\s*(defclass.*\s'
+            return ">1"
+      elseif getline(v:lnum) =~ '^\s*(defstruct.*\s'
+            return ">1"
       elseif getline(v:lnum) =~ '^\s*$'
             let my_lispnum = v:lnum
             let my_lispmax = line("$")