feat(plugins): add precognition
This commit is contained in:
parent
01969df60f
commit
79ca3b01a1
2 changed files with 33 additions and 0 deletions
16
plugins/precognition/default.nix
Normal file
16
plugins/precognition/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# homepage: https://github.com/tris203/precognition.nvim
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
extra = {
|
||||
packages = [
|
||||
(import ./package.nix { inherit lib pkgs; })
|
||||
];
|
||||
|
||||
config = ''
|
||||
require("precognition").setup({
|
||||
showBlankVirtLine = false,
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
17
plugins/precognition/package.nix
Normal file
17
plugins/precognition/package.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
version = "1.0.0";
|
||||
in
|
||||
pkgs.vimUtils.buildVimPlugin {
|
||||
inherit version;
|
||||
|
||||
name = "precognition";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "tris203";
|
||||
repo = "precognition.nvim";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AqWYV/59ugKyOWALOCdycWVm0bZ7qb981xnuw/mAVzM=";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue