nvim: add diagflow plugin
This commit is contained in:
parent
2f0f291167
commit
ab8ee834e9
1 changed files with 23 additions and 0 deletions
|
@ -46,6 +46,29 @@
|
||||||
rustaceanvim
|
rustaceanvim
|
||||||
targets-vim
|
targets-vim
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "diagflow";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "dgagn";
|
||||||
|
repo = "diagflow.nvim";
|
||||||
|
rev = "fc09d55d2e60edc8ed8f9939ba97b7b7e6488c99";
|
||||||
|
hash = "sha256-2WNuaIEXcAgUl2Kb/cCHEOrtehw9alaoM96qb4MLArw=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
type = "lua";
|
||||||
|
config = ''
|
||||||
|
require('diagflow').setup {
|
||||||
|
scope = "line",
|
||||||
|
gap_size = 0,
|
||||||
|
max_width = 50,
|
||||||
|
max_height = 20,
|
||||||
|
show_borders = true,
|
||||||
|
toggle_event = { "InsertEnter", "InsertLeave" },
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = pkgs.vimUtils.buildVimPlugin {
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "dieter-nvim";
|
name = "dieter-nvim";
|
||||||
|
|
Loading…
Reference in a new issue