about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Move use-extension macro to init-packagesDavid Morgan2022-10-172-10/+11
|
* Add some corfu extensionsDavid Morgan2022-10-172-12/+33
|
* At some rg and deadgrep bindingsDavid Morgan2022-10-141-2/+10
|
* Fix vertico-repeat and try vertico-{indexed,quick}David Morgan2022-10-141-2/+17
|
* Tweak auto-indent on yank adviceDavid Morgan2022-10-141-25/+22
|
* Improve vanity metric: startup timeDavid Morgan2022-10-144-106/+99
|
* Fix dabbrev configDavid Morgan2022-10-141-4/+4
|
* Remove/move some setqsDavid Morgan2022-10-141-2/+3
|
* Add helpful windows to popper listDavid Morgan2022-10-121-10/+12
|
* Improve smartscan configDavid Morgan2022-10-121-11/+15
|
* Tweak beacon configDavid Morgan2022-10-121-2/+1
|
* Add difftastic + magit codeDavid Morgan2022-10-121-1/+97
|
* Move affe config into init-search.elDavid Morgan2022-10-122-27/+27
|
* Add some magit and vc-based commandsDavid Morgan2022-10-121-0/+81
|
* Re-organise (remove init-lisp.el)David Morgan2022-10-123-18/+9
|
* Reload init before running straight-check-allDavid Morgan2022-10-111-1/+6
|
* Add magit-todosDavid Morgan2022-10-111-0/+2
|
* Use helpfulDavid Morgan2022-10-111-0/+9
|
* Disable smartscan in more modesDavid Morgan2022-10-111-1/+6
|
* Add winnowDavid Morgan2022-10-111-0/+3
|
* Commit missed straight-related changeDavid Morgan2022-10-111-2/+1
|
* Try deadgrep + re-organise a littleDavid Morgan2022-10-112-5/+7
|
* Make recompile function interactiveDavid Morgan2022-10-111-1/+3
|
* Exclude straight directory from recentf listDavid Morgan2022-10-101-0/+1
|
* Add usage commentsDavid Morgan2022-10-101-0/+2
|
* Tweak straight configDavid Morgan2022-10-101-4/+2
|
* Try out straightDavid Morgan2022-10-1013-67/+66
|
* Try out beaconDavid Morgan2022-10-061-4/+13
|
* Remove un-needed bindingDavid Morgan2022-10-061-3/+0
|
* Enable repeat-mode quietlyDavid Morgan2022-10-061-1/+2
|
* Bikeshed vertico configDavid Morgan2022-10-061-2/+2
|
* Update cider bindingsDavid Morgan2022-10-051-0/+3
|
* Set cider-show-error-buffer to 'except-in-replDavid Morgan2022-10-051-0/+1
|
* Change cursor to a vertical barDavid Morgan2022-10-051-0/+1
|
* Fix fullframe configDavid Morgan2022-10-051-2/+2
|
* Diminish sqlup-modeDavid Morgan2022-10-051-0/+1
|
* Set $TERM in eshellDavid Morgan2022-10-051-0/+1
|
* Add some commands to embark keymapsDavid Morgan2022-10-051-1/+8
|
* Remove ':ensure nil' from org configDavid Morgan2022-10-051-1/+0
|
* Enable certain modes in after-init-hookDavid Morgan2022-10-052-9/+5
|
* Fix defer issue with super-saveDavid Morgan2022-10-051-0/+1
|
* Fix function nameDavid Morgan2022-10-051-1/+1
|
* Remove tabify config (covered by crux)David Morgan2022-10-051-13/+0
|
* Use crux advice macrosDavid Morgan2022-10-051-0/+18
|
* Enable abbrev-mode in cider-repl-modeDavid Morgan2022-10-051-1/+4
|
* Add cider-jack-in-and-run-mainDavid Morgan2022-10-051-0/+14
|
* Fix issues with clj-uniquify-get-proposed-nameDavid Morgan2022-10-051-1/+3
|
* Add some clojure abbrevsDavid Morgan2022-10-051-0/+23
|
* Add consult-ripgrep-parentDavid Morgan2022-09-161-0/+4
|
* Try a higher lsp-idle-delayDavid Morgan2022-09-161-0/+1
|
ot;colorscheme" content="minimal"> <style type="text/css"> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } .muRecipe { color: #ff8700; } .muScenario { color: #00af00; } .Comment { color: #9090ff; } .Constant { color: #00a0a0; } .Special { color: #ff6060; } .Delimiter { color: #a04060; } .muControl { color: #c0a020; } --> </style> <script type='text/javascript'> <!-- --> </script> </head> <body> <pre id='vimCodeElement'> <span class="Comment"># example program: compute the factorial of 5</span> <span class="muRecipe">recipe</span> main [ <span class="Constant">local-scope</span> x:number<span class="Special"> &lt;- </span>factorial <span class="Constant">5</span> $print <span class="Constant">[result: ]</span>, x, <span class="Constant">[ </span> <span class="Constant">]</span> ] <span class="muRecipe">recipe</span> factorial [ <span class="Constant">local-scope</span> n:number<span class="Special"> &lt;- </span><span class="Constant">next-ingredient</span> <span class="Delimiter">{</span> <span class="Comment"># if n=0 return 1</span> zero?:boolean<span class="Special"> &lt;- </span>equal n, <span class="Constant">0</span> <span class="muControl">break-unless</span> zero? <span class="muControl">reply</span> <span class="Constant">1</span> <span class="Delimiter">}</span> <span class="Comment"># return n * factorial(n-1)</span> x:number<span class="Special"> &lt;- </span>subtract n, <span class="Constant">1</span> subresult:number<span class="Special"> &lt;- </span>factorial x result:number<span class="Special"> &lt;- </span>multiply subresult, n <span class="muControl">reply</span> result ] <span class="Comment"># unit test</span> <span class="muScenario">scenario</span> factorial-test [ run [ <span class="Constant">1</span>:number<span class="Special"> &lt;- </span>factorial <span class="Constant">5</span> ] memory-should-contain [ <span class="Constant">1</span><span class="Special"> &lt;- </span><span class="Constant">120</span> ] ] </pre> </body> </html> <!-- vim: set foldmethod=manual : -->