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 = { precognition = {
enable = true; enable = true;
startVisible = true; startVisible = true;
showBlankVirtLine = true; showBlankVirtLine = true;
# highlightColor - automatically set by theme # highlightColor - automatically set by theme
disabled_fts = [ "startify" "alpha" "dashboard" ]; disabled_fts = ["startify" "alpha" "dashboard"];
gutterHints = { gutterHints = {
gg = { gg = {
text = "gg"; text = "gg";
prio = 2; prio = 2;
}; };
}; };
hints = { hints = {
Caret = { Caret = {
text = "^"; text = "^";
prio = 10; prio = 10;
}; };
}; };

View file

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

View file

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