misc: update inputs + make use of upstream plugins (#294)

This commit is contained in:
Gaétan Lepage 2023-03-26 15:44:45 +02:00 committed by GitHub
parent 7f50b54bfb
commit e46b7302af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 45 additions and 353 deletions

View file

@ -7,7 +7,6 @@
with lib; let
cfg = config.plugins.coq-nvim;
helpers = import ../helpers.nix {inherit lib;};
plugins = import ../plugin-defs.nix {inherit pkgs;};
in {
options = {
plugins.coq-nvim = {
@ -42,7 +41,7 @@ in {
[
cfg.package
]
++ optional cfg.installArtifacts plugins.coq-artifacts;
++ optional cfg.installArtifacts pkgs.vimPlugins.coq-artifacts;
plugins.lsp = {
preConfig = ''
vim.g.coq_settings = ${helpers.toLuaObject settings}