mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
plugins/glow: init
This commit is contained in:
parent
1a644b8c2b
commit
0f76a8cdfc
3 changed files with 114 additions and 0 deletions
26
tests/test-sources/plugins/languages/markdown/glow.nix
Normal file
26
tests/test-sources/plugins/languages/markdown/glow.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.glow.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.glow = {
|
||||
enable = true;
|
||||
|
||||
glowPackage = pkgs.glow;
|
||||
|
||||
settings = {
|
||||
glow_path.__raw = "vim.fn.exepath('glow')";
|
||||
install_path = "~/.local/bin";
|
||||
border = "shadow";
|
||||
style = "dark";
|
||||
pager = false;
|
||||
width = 80;
|
||||
height = 100;
|
||||
width_ratio = 0.7;
|
||||
height_ratio = 0.7;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue