3277da5053a6

Fuck me
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 20 Jan 2018 15:38:14 -0500
parents ac6c2e7934da
children 9469fc3d271f
branches/tags (none)
files .hgsub .hgsubstate lispwords vim/ftplugin/lisp/lispfolding.vim

Changes

--- a/.hgsub	Wed Dec 06 11:13:36 2017 -0500
+++ b/.hgsub	Sat Jan 20 15:38:14 2018 -0500
@@ -40,5 +40,5 @@
 vim/bundle/targets               = [git]git://github.com/wellle/targets.vim.git
 vim/bundle/vimtex                = [git]git://github.com/lervag/vimtex.git
 vim/bundle/vitality              = [hg]https://bitbucket.org/sjl/vitality.vim
-vim/bundle/vlime                 = [git]git://github.com/l04m33/vlime.git
+vim/bundle/vlime                 = [git]git://github.com/sjl/vlime.git
 vim/bundle/windowswap            = [git]git://github.com/wesQ3/vim-windowswap.git
--- a/.hgsubstate	Wed Dec 06 11:13:36 2017 -0500
+++ b/.hgsubstate	Sat Jan 20 15:38:14 2018 -0500
@@ -40,5 +40,5 @@
 f6f2d6618a321f5b0065586a7bc934325fec81ab vim/bundle/targets
 5d5c71044880443035e07009497962feacb56b20 vim/bundle/vimtex
 bf3fd7f67e730f93765bd3c1cfcdb18fd4043521 vim/bundle/vitality
-065b95f3ac7a455314c2bdefeb2b792f290034df vim/bundle/vlime
+bc3ea6be7274265c85bd9ab3416357a233436f4e vim/bundle/vlime
 6876fe38b33732cb124d415ffc4156f16da5e118 vim/bundle/windowswap
--- a/lispwords	Wed Dec 06 11:13:36 2017 -0500
+++ b/lispwords	Sat Jan 20 15:38:14 2018 -0500
@@ -101,3 +101,6 @@
 
 ; asdf
 (1 test-op)
+
+; ppcre
+(2 register-groups-bind)
--- a/vim/ftplugin/lisp/lispfolding.vim	Wed Dec 06 11:13:36 2017 -0500
+++ b/vim/ftplugin/lisp/lispfolding.vim	Sat Jan 20 15:38:14 2018 -0500
@@ -158,7 +158,7 @@
             return "-1"
         elseif s:ShouldFoldToplevel(getline(a:lnum))
             return ">1"
-        elseif getline(a:lnum) =~ '^(def'
+        elseif getline(a:lnum) =~ '\v^\(([^ ]+:)?def'
             " fuck it just fold everything that looks kinda deffy
             return ">1"
         elseif getline(a:lnum) =~ '^(let '
@@ -166,10 +166,6 @@
             return ">1"
         elseif getline(a:lnum) =~ '^(in-package'
             return "0"
-        elseif getline(a:lnum) =~ '^(adt:defdata'
-            return ">1"
-        elseif getline(a:lnum) =~ '^(opts:define-opts'
-            return ">1"
         elseif getline(a:lnum) =~ '^$' && getline(a:lnum - 1) =~ '^$'
             return "0"
         elseif getline(a:lnum) =~ '^$'