dotfiles/modules/neovim/config/toggleterm.nix

14 lines
260 B
Nix
Raw Normal View History

2022-11-28 05:37:47 +00:00
{ pkgs, dsl, ... }: {
plugins = [ pkgs.vimPlugins.toggleterm-nvim ];
use.toggleterm.setup = dsl.callWith {
open_mapping = dsl.rawLua "[[<c-\\>]]";
hide_numbers = true;
direction = "float";
};
lua = builtins.readFile ./toggleterm.lua;
}