mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16: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 = {
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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}),
|
||||
|
|
|
@ -58,8 +58,9 @@ in {
|
|||
});
|
||||
};
|
||||
|
||||
gutterHints = hints //
|
||||
{
|
||||
gutterHints =
|
||||
hints
|
||||
// {
|
||||
description = ''
|
||||
What motions display and at what priority. Only appears in gutters.
|
||||
|
||||
|
|
Loading…
Reference in a new issue