bqn, ! fix for neovim

This commit is contained in:
Rachel Lambda Samuelsson 2024-03-05 20:43:23 +01:00
parent b335ad3dab
commit 924d7b21e0

View File

@ -246,7 +246,10 @@ in
hi Normal guibg=NONE ctermbg=NONE
let maplocalleader="!"
let g:bqn_prefix_key="!"
runtime agda-input.vim
call cornelis#bind_input(" ", "!")
call cornelis#bind_input("exc", "!")
inoremap <C-Space> <Esc>
@ -273,7 +276,27 @@ in
nnoremap <buffer> <C-c><space> :CornelisGive<CR>
endfunction
'';
plugins = with pkgs.vimPlugins; [
plugins = let
bqn-vim = pkgs.vimUtils.buildVimPlugin {
name = "bqn-vim";
src = "${pkgs.fetchFromGitHub {
owner = "mlochbaum";
repo = "BQN";
rev = "f4b09b675386c789c8296c96874871916a3abdcf";
hash = "sha256-rvsageS5sYF9QvWuoRutjx5i0ngrfhGvIPRO834pwwM=";
}}/editors/vim";
};
bqn-nvim = pkgs.vimUtils.buildVimPlugin {
name = "bqn-nvim";
src = pkgs.fetchFromSourcehut {
owner = "~detegr";
repo = "nvim-bqn";
rev = "52d8b49f3ebc32d340e2e2b8dba1f6bbd1873b78";
hash = "sha256-5wITedTuUn9BKLqmQtPWeFNOa8dXfPIRpUvPSkNJcas=";
};
};
in
with pkgs.vimPlugins; [
nvim-surround
comment-nvim
vimtex
@ -292,6 +315,8 @@ in
]))
vim-obsession
lean-nvim
bqn-vim
bqn-nvim
];
};