mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-27 07:26:46 +00:00
utility/precognition: format
This commit is contained in:
parent
93c4537273
commit
cb4500b9c7
3 changed files with 8 additions and 7 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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}),
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue