mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
utility/precognition: manual format
This commit is contained in:
parent
3c1f89984c
commit
c20bfdd6dc
2 changed files with 4 additions and 5 deletions
|
@ -10,9 +10,7 @@ in {
|
||||||
config =
|
config =
|
||||||
mkIf cfg.enable
|
mkIf cfg.enable
|
||||||
{
|
{
|
||||||
vim.startPlugins = [
|
vim.startPlugins = [ "precognition-nvim" ];
|
||||||
"precognition-nvim"
|
|
||||||
];
|
|
||||||
|
|
||||||
vim.luaConfigRC.precognition = lib.nvim.dag.entryAnywhere ''
|
vim.luaConfigRC.precognition = lib.nvim.dag.entryAnywhere ''
|
||||||
require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts})
|
require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts})
|
||||||
|
|
|
@ -54,8 +54,9 @@ in {
|
||||||
|
|
||||||
hints = mkHintType "What motions display and at what priority.";
|
hints = mkHintType "What motions display and at what priority.";
|
||||||
|
|
||||||
gutterHints =
|
gutterHints = mkHintType ''
|
||||||
mkHintType "What motions display and at what priority. Only appears in gutters.";
|
What motions display and at what priority. Only appears in gutters
|
||||||
|
'';
|
||||||
|
|
||||||
disabled_fts = mkOption {
|
disabled_fts = mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
|
|
Loading…
Reference in a new issue