bqn, ! fix for neovim
This commit is contained in:
parent
b335ad3dab
commit
924d7b21e0
|
@ -246,7 +246,10 @@ in
|
||||||
hi Normal guibg=NONE ctermbg=NONE
|
hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
|
||||||
let maplocalleader="!"
|
let maplocalleader="!"
|
||||||
|
let g:bqn_prefix_key="!"
|
||||||
runtime agda-input.vim
|
runtime agda-input.vim
|
||||||
|
call cornelis#bind_input(" ", "!")
|
||||||
|
call cornelis#bind_input("exc", "!")
|
||||||
|
|
||||||
inoremap <C-Space> <Esc>
|
inoremap <C-Space> <Esc>
|
||||||
|
|
||||||
|
@ -273,7 +276,27 @@ in
|
||||||
nnoremap <buffer> <C-c><space> :CornelisGive<CR>
|
nnoremap <buffer> <C-c><space> :CornelisGive<CR>
|
||||||
endfunction
|
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
|
nvim-surround
|
||||||
comment-nvim
|
comment-nvim
|
||||||
vimtex
|
vimtex
|
||||||
|
@ -292,6 +315,8 @@ in
|
||||||
]))
|
]))
|
||||||
vim-obsession
|
vim-obsession
|
||||||
lean-nvim
|
lean-nvim
|
||||||
|
bqn-vim
|
||||||
|
bqn-nvim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user