Here's the LispWorks Plugins created by April & May. All plugins are zero-dependency (except sub-projects), tested under the LispWorks 8.0.1 Windows & Macintosh, safe for delivery, and have been used for a long time in my own. All the codes are licensed under 0BSD), allowing any kind of usage without any limitation. Feel free to include any part of them in your own product.
Here we provide:
- [NEW] Pure-Lisp SVG rendering with LispWorks Graphics Port (lw-svg)
- [NEW] Terminal Utilities for LispWorks, includes a functional Unix PTY running with the Editor, and a stream that can cope with ANSI escape sequences (term.lisp)
- [NEW] A docstring folding facility, similar with definition folding(docstring-folding.lisp)
- [NEW] Side Tree, a project explorer alternative to Treemacs (side-tree.lisp)
- [NEW] The Nerd Fonts integration for LispWorks Editor, Giving colourful icons to Directory Mode and Side Tree (nerd-icons/)
- A Sly-style flexible fuzzy-matching in-place code completion for LispWorks Editor (flex-complete.lisp)
- A decent syntax highlight method of Markdown for LispWorks Editor (editor-markdown.lisp)
- A decent & elaborate syntax highlight method of Lisp for LispWorks Editor (colourful.lisp)
- An enhancement plugin for LispWorks Directory Mode, make it more similar with Emacs's dired (directory.lisp)
- An expand-region plugin for Lisp editing in LispWorks Editor, similar with expand-region.el (expand-region.lisp)
- A Lisp form aligning facility (align.lisp)
- A simple pair-editing facility like Emacs's electric-pair-mode, with just enough of functions (pair.lisp)
Basically, just simply load any file you want to include. Some plugins has specific requirement for delivery (like editor-markdown). For details, please visit each source file and read the top comment lines of them.
Here's a sample code to load all of them into your LispWorks IDE. We assume that you clone this repo into ~/common-lisp/lw-plugins
:
(dolist (file (directory #P"~/common-lisp/lw-plugins/*.lisp"))
(compile-file file :load t))
There's also an ASDF system file. You can load it using ASDF:
(require "asdf")
(asdf:load-system :lw-plugins)
To use Nerd Icons, you should install NerdFonts first. You can do that by involking Nerd Icons Install Font
if you have load nerd-icons.lisp.
Note: If you choose to install other Nerd Fonts variant (not the Symbols Nerd Font), you should customize the
*nerd-font-family*
variable.
The Directory Mode integration is at nerd-icons-directory.lisp, and the Side Tree integration is at nerd-icons-side-tree.lisp. They're all relying to nerd-icons.lisp. You can use the ASDF systems lw-plugins/nerd-icons-directory
and lw-plugins/nerd-icons-side-tree
to load them selectively.
For example, to load all features:
(require "asdf")
(asdf:load-system :lw-plugins)
(asdf:load-system :lw-plugins/nerd-icons-directory)
(asdf:load-system :lw-plugins/nerd-icons-side-tree)
Thanks to the LispWorks Ltd. to provide us the exellent product.
Thanks sister Simone, and my headmate May, who help and support me.
Supporting Neurodiversity & Transgender & Plurality!
🏳️🌈🏳️⚧️