mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
dev: add missing hover window borders via noice.nvim
This commit is contained in:
parent
923c090c5b
commit
0667f1f936
3 changed files with 8 additions and 3 deletions
|
@ -185,6 +185,7 @@ inputs: let
|
||||||
};
|
};
|
||||||
|
|
||||||
vim.ui = {
|
vim.ui = {
|
||||||
|
borders.enable = true;
|
||||||
noice.enable = true;
|
noice.enable = true;
|
||||||
colorizer.enable = true;
|
colorizer.enable = true;
|
||||||
modes-nvim.enable = false; # the theme looks terrible with catppuccin
|
modes-nvim.enable = false; # the theme looks terrible with catppuccin
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
inherit (lib) mkEnableOption mkOption;
|
inherit (lib) mkEnableOption mkOption types;
|
||||||
in {
|
in {
|
||||||
options.vim.ui.borders = {
|
options.vim.ui.borders = {
|
||||||
enable = mkEnableOption "visible borders for most windows";
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "visible borders for most windows";
|
||||||
|
};
|
||||||
|
|
||||||
# TODO: make per-plugin borders configurable
|
# TODO: make per-plugin borders configurable
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,7 +32,7 @@ in {
|
||||||
command_palette = true, -- position the cmdline and popupmenu together
|
command_palette = true, -- position the cmdline and popupmenu together
|
||||||
long_message_to_split = true, -- long messages will be sent to a split
|
long_message_to_split = true, -- long messages will be sent to a split
|
||||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = ${builtins.toString (config.vim.ui.borders.enable)}, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
|
|
||||||
format = {
|
format = {
|
||||||
|
|
Loading…
Reference in a new issue