utility/precognition: format

This commit is contained in:
Nowaaru 2024-11-04 00:48:31 -07:00
parent 93c4537273
commit cb4500b9c7
No known key found for this signature in database
3 changed files with 8 additions and 7 deletions

View file

@ -168,20 +168,20 @@ isMaximal: {
precognition = {
enable = true;
startVisible = true;
startVisible = true;
showBlankVirtLine = true;
# highlightColor - automatically set by theme
disabled_fts = [ "startify" "alpha" "dashboard" ];
disabled_fts = ["startify" "alpha" "dashboard"];
gutterHints = {
gg = {
text = "gg";
text = "gg";
prio = 2;
};
};
hints = {
Caret = {
text = "^";
text = "^";
prio = 10;
};
};

View file

@ -19,7 +19,7 @@ in {
vim.pluginRC.precognition-nvim = entryAnywhere ''
require("precognition").setup({
startVisible = ${toString cfg.startVisible},
startVisible = ${toString cfg.startVisible},
showBlankVirtLine = ${toString cfg.showBlankVirtLine},
highlightColor = (${toLuaObject cfg.highlightColor}), --{ link = "Comment" },
hints = (${toLuaObject cfg.hints}),

View file

@ -58,8 +58,9 @@ in {
});
};
gutterHints = hints //
{
gutterHints =
hints
// {
description = ''
What motions display and at what priority. Only appears in gutters.