vimPlugins.cornelis: init at 2024-04-17

+57
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 2634 2634 meta.homepage = "https://github.com/ms-jpq/coq_nvim/"; 2635 2635 }; 2636 2636 2637 + cornelis = buildVimPlugin { 2638 + pname = "cornelis"; 2639 + version = "2024-04-17"; 2640 + src = fetchFromGitHub { 2641 + owner = "isovector"; 2642 + repo = "cornelis"; 2643 + rev = "c97b4817034a927dcadb22294cf97a88087a935f"; 2644 + sha256 = "03wkq7jly9syv7kqsf66hdq8p7fqk6a240azcys9fsak797nbs1a"; 2645 + }; 2646 + meta.homepage = "https://github.com/isovector/cornelis/"; 2647 + }; 2648 + 2637 2649 cosco-vim = buildVimPlugin { 2638 2650 pname = "cosco.vim"; 2639 2651 version = "2018-08-07";
+13
pkgs/applications/editors/vim/plugins/overrides.nix
··· 63 63 , # command-t dependencies 64 64 getconf 65 65 , ruby 66 + , # cornelis dependencies 67 + cornelis 66 68 , # cpsm dependencies 67 69 boost 68 70 , cmake ··· 460 462 461 463 # We need some patches so it stops complaining about not being in a venv 462 464 patches = [ ./patches/coq_nvim/emulate-venv.patch ]; 465 + }; 466 + 467 + cornelis = super.cornelis.overrideAttrs { 468 + dependencies = with self; [ vim-textobj-user ]; 469 + opt = with self; [ vim-which-key ]; 470 + # Unconditionally use the cornelis binary provided by the top-level package: 471 + patches = [ ./patches/cornelis/0001-Unconditionally-use-global-binary.patch ]; 472 + postInstall = '' 473 + substituteInPlace $out/ftplugin/agda.vim \ 474 + --subst-var-by CORNELIS "${lib.getBin cornelis}/bin/cornelis" 475 + ''; 463 476 }; 464 477 465 478 cpsm = super.cpsm.overrideAttrs {
+31
pkgs/applications/editors/vim/plugins/patches/cornelis/0001-Unconditionally-use-global-binary.patch
··· 1 + From f8e993846551bda77a34a77aad7ad6dcc45b66a7 Mon Sep 17 00:00:00 2001 2 + From: Philipp Joram <nixpgks@phijor.me> 3 + Date: Tue, 16 Apr 2024 12:48:42 +0300 4 + Subject: [PATCH] Unconditionally use global binary 5 + 6 + --- 7 + ftplugin/agda.vim | 8 +------- 8 + 1 file changed, 1 insertion(+), 7 deletions(-) 9 + 10 + diff --git a/ftplugin/agda.vim b/ftplugin/agda.vim 11 + index c7dd9d0..6b4aba3 100644 12 + --- a/ftplugin/agda.vim 13 + +++ b/ftplugin/agda.vim 14 + @@ -11,13 +11,7 @@ if exists("b:cornelis_ftplugin") 15 + endif 16 + let b:cornelis_ftplugin = 1 17 + 18 + -if exists("g:cornelis_use_global_binary") 19 + - call remote#host#Register('cornelis', '*', rpcstart('cornelis', [])) 20 + -else 21 + - call nvimhs#start(expand('<sfile>:p:h:h'), 'cornelis', ['-v', 'DEBUG', '-l', '/tmp/cornelis.log']) 22 + -endif 23 + - 24 + -nnoremap <F5> :call nvimhs#compileAndRestart('cornelis')<CR> 25 + +call remote#host#Register('cornelis', '*', rpcstart('@CORNELIS@', [])) 26 + 27 + runtime agda-input.vim 28 + runtime agda-matchpairs.vim 29 + -- 30 + 2.44.0 31 +
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 219 219 https://github.com/ms-jpq/coq.thirdparty/,HEAD, 220 220 https://github.com/jvoorhis/coq.vim/,, 221 221 https://github.com/ms-jpq/coq_nvim/,, 222 + https://github.com/isovector/cornelis/,HEAD, 222 223 https://github.com/lfilho/cosco.vim/,, 223 224 https://github.com/nixprime/cpsm/,, 224 225 https://github.com/saecki/crates.nvim/,,