dev: add missing hover window borders via noice.nvim

This commit is contained in:
raf 2023-07-25 22:16:20 +03:00
parent 923c090c5b
commit 0667f1f936
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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
};

View file

@ -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 = {