nixos-configuration/users/jrpotter/lang/lean.nix

31 lines
541 B
Nix
Raw Normal View History

2023-11-20 04:00:33 +00:00
args @ { pkgs, ... }:
let
2023-11-22 18:14:10 +00:00
neovimUtils = import ../neovim/utils.nix args;
2023-11-20 04:00:33 +00:00
lean-nvim = {
2023-11-22 18:14:10 +00:00
plugin = neovimUtils.pluginGit
2024-02-24 14:15:34 +00:00
"dd37e1d2e320fb8a0948bf6ca3f7703c98b80ecb"
2023-11-20 04:00:33 +00:00
"Julian/lean.nvim";
config = ''
lua << EOF
2024-01-04 17:01:01 +00:00
require('utils.lsp').setup(require('lean')) {
2023-11-20 04:00:33 +00:00
abbreviations = { builtin = true },
mappings = true,
}
EOF
'';
};
in
{
2023-11-22 18:14:10 +00:00
home.packages = with pkgs; [
elan
];
2023-11-20 04:00:33 +00:00
programs.neovim = {
plugins = [
lean-nvim
pkgs.vimPlugins.plenary-nvim
];
};
}