Use Nix OS to install a Common LISP REPL and Quicklisp for packages.
# home-manager/common/languages/common-lisp.nix
{pkgs, ...}: {
home.packages = with pkgs; [
sbcl
lispPackages.quicklisp
];
}
-- home-manager/common/neovim/ftplugin/lisp.lua
-- Creates a user command LispRepl to launch the file in the current buffer in the REPL
vim.api.nvim_create_user_command("LispRepl", function()
vim.cmd('TermExec cmd="sbcl --load %"')
end, { nargs = "*" })