conjure
vim-scriptease
Our great sponsors
conjure | vim-scriptease | |
---|---|---|
71 | 7 | |
1,609 | 671 | |
- | - | |
8.5 | 3.2 | |
8 days ago | 5 months ago | |
Fennel | Vim Script | |
The Unlicense | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
conjure
- Racket Language
-
Lisp Programming with Vim (2019)
I was going to say, in 2023 I looked around and for Clojure at least Conjure seemed like the best option.
https://github.com/Olical/conjure/wiki/Client-features
Unfortunately, in the table linked above the CL support in Conjure is so-so. I'm curious what people use for CL or if it's still slimv/vlime.
I did a write up configuring Conjure with neovim here if that's something that's appealing:
- Conjure: Evaluating code within your running program
- Interactive Lisp family languages evaluation for Neovim
-
Existing non-lua plugins examples
The excellent olical/conjure plugin is now lua (via fennel..) but it was originally written in clojure and you can still see the code on the legacy-jvm branch https://github.com/Olical/conjure/tree/legacy-jvm
-
Configuring Neovim with Fennel
Install conjure plugin
-
Spinneret: A modern Common Lisp HTML generator
> You mean that you accidentally "overwrite" (declare again) a function with the same name as the one you're now declaring, but you didn't mean to?
I mean I use let to bind a variable with the same name as a function. This is idiomatic in Common Lisp, and totally breaks things in most other languages.
> This I'm also curious about, what exactly SLIME gives you that for example Conjure for neovim wouldn't already? Maybe something about continuations perhaps? That seems to be the only feature I've seen from Common Lisp (besides actually being able to compile to binaries) that I'd love to have in Clojure.
I watched a video and it does seem rather complete, but [1] indicates there is no debugger? That's a rather glaring omission. I also don't see a profiler mentioned, and SLIME with SBCL gives me a profiler (down to the assembly level if needed). I'm sure Java in general has great profiling tools, but how are the integrated into the Clojure system?
As an aside, by "continuations" did you mean "restarts"? First-class continuations are a feature of scheme, not CL. Indeed a huge boost to CL productivity is simply allowing you to handle an exception before the stack is unwound.
1: https://github.com/Olical/conjure/wiki/Client-features
-
clojure's like plugin for golang?
Does anyone know if there is a plugin like this one https://github.com/Olical/conjure for golang? Thank you in advance!
-
Looking for documentation on writing a swank client
i know you said you didn't want source of other clients but this one is pretty simple so sharing just in case. it's from a nvim plugin https://github.com/Olical/conjure/blob/master/fnl/conjure/client/common-lisp/swank.fnl
- `yarepl.nvim`, yet Another REPL for Neovim, flexible, supporting multiple paradigms to interact with REPLs, native dot repeat (without `vim-repeat`), telescope integration, and more!
vim-scriptease
-
How do you read long messages in :messages
I use tpope/vim-scriptease's :Messages instead.
-
highlight command in init,lua
Another great tool is the Scriptnames command from the vim-scriptease plugin. It dumps the output of :scriptnames into the quickfix list, letting you open all the files vim is reading to help with troubleshooting.
-
Help Fixing Plugin ( Syntax Plugin ) + RegEx
And the tpope extension comes in handy: https://github.com/tpope/vim-scriptease
- Plugin developers, how do you manage your repos?
-
How I made my First Successful Vim Plugin
As you continue your journey into vim plugin dev, I'd recommend vim-lookup and vim-scriptease.
-
vim-visualrun: select some lines and run them as a Vim command
This seems related to the g= mapping from vim-scriptease. I personally also have the following two mappings defined in ftplugin/vim.vim:
-
Visual calculator function
FYI, tpope/vim-scriptease provides this bound as an operator g=. You may want to read that implementation to see what you can learn more advanced techniques for writing vimscript. With the operator, you can g=W to convert the WORD to a solved expression.
What are some alternatives?
cider-nrepl - A collection of nREPL middleware to enhance Clojure editors with common functionality like definition lookup, code completion, etc.
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
vimspector - vimspector - A multi-language debugging system for Vim
rebel-readline - Terminal readline library for Clojure dialects
vim-lookup - Jump to the definition of variables or functions in VimL code.
vim-enmasse - Edit every line in a quickfix list at the same time
kaboom.js - 💥 JavaScript game library
vim-jsx-typescript - React JSX syntax highlighting for vim and Typescript
denops.vim - 🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno
tree-sitter-typescript - TypeScript grammar for tree-sitter