vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit ec40bf6338b7422ea106ad92f5d0e6946ce67127 parent c8bc1fdbdb7d8db31aa9e8a6f7ab551db9cab4bc Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 15 Feb 2017 21:42:37 +0100 test/vis: remove C function related tests for now Diffstat:
| D | vis/text-objects/functions.in | | | 26 | -------------------------- |
| D | vis/text-objects/functions.keys | | | 9 | --------- |
| D | vis/text-objects/functions.ref | | | 12 | ------------ |
3 files changed, 0 insertions(+), 47 deletions(-)
diff --git a/vis/text-objects/functions.in b/vis/text-objects/functions.in @@ -1,26 +0,0 @@ -static double pi = 3.14; - -/* addition */ -int add(int a, int b) { - return a+b; -} - -static double e = 2.71; - -/* multiplication of - * - * a*b - */ -int mul(int a, int b) -{ - return a*b; -} - -static double sqrt2 = 1.41; - -int -div(int a, int b) -{ - return a/b; -} - diff --git a/vis/text-objects/functions.keys b/vis/text-objects/functions.keys @@ -1,9 +0,0 @@ -]] -daf -O/<C-v>/ add<Escape> -]] -daf -O/<C-v>/ mul<Escape> -]] -daf -O/<C-v>/ div<Escape> diff --git a/vis/text-objects/functions.ref b/vis/text-objects/functions.ref @@ -1,12 +0,0 @@ -static double pi = 3.14; - -// add - -static double e = 2.71; - -// mul - -static double sqrt2 = 1.41; - -// div -