mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +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 = {
|
||||
borders.enable = true;
|
||||
noice.enable = true;
|
||||
colorizer.enable = true;
|
||||
modes-nvim.enable = false; # the theme looks terrible with catppuccin
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib) mkEnableOption mkOption;
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
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
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ in {
|
|||
command_palette = true, -- position the cmdline and popupmenu together
|
||||
long_message_to_split = true, -- long messages will be sent to a split
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue