mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 23:17:48 +00:00
plugins/filetree: rename module name
This commit is contained in:
parent
458a34110e
commit
e79ca151b1
2 changed files with 6 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
inherit (lib.toLuaObject) toLuaObject;
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
|
|
||||||
cfg = config.vim.filetree.neo-tree;
|
cfg = config.vim.filetree.neo-tree;
|
||||||
in {
|
in {
|
||||||
|
|
@ -20,7 +20,7 @@ in {
|
||||||
"neo-tree-nvim"
|
"neo-tree-nvim"
|
||||||
];
|
];
|
||||||
|
|
||||||
luaConfigRc.neo-tree = entryAnywhere ''
|
luaConfigRC.neo-tree = entryAnywhere ''
|
||||||
require("neo-tree").setup(${toLuaObject cfg.setupOpts})
|
require("neo-tree").setup(${toLuaObject cfg.setupOpts})
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||||
in {
|
in {
|
||||||
options.vim.filetree.nvimTree = {
|
options.vim.filetree.neo-tree = {
|
||||||
enable = mkEnableOption "filetree via neo-tree.nvim";
|
enable = mkEnableOption "filetree via neo-tree.nvim";
|
||||||
|
|
||||||
# Permalink:
|
# Permalink:
|
||||||
|
|
@ -67,6 +67,7 @@ in {
|
||||||
This will make the git status check async and will not block the UI.
|
This will make the git status check async and will not block the UI.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
/*
|
||||||
git_status_async_options = mkOption {
|
git_status_async_options = mkOption {
|
||||||
description = "These options are for people with VERY large git repos";
|
description = "These options are for people with VERY large git repos";
|
||||||
type = submodule {
|
type = submodule {
|
||||||
|
|
@ -94,6 +95,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
hide_root_node = mkOption {
|
hide_root_node = mkOption {
|
||||||
type = bool;
|
type = bool;
|
||||||
|
|
@ -144,7 +146,7 @@ in {
|
||||||
open_files_do_not_replace_types = mkOption {
|
open_files_do_not_replace_types = mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = ["terminal" "Trouble" "qf" "edgy"];
|
default = ["terminal" "Trouble" "qf" "edgy"];
|
||||||
descriptin = ''
|
description = ''
|
||||||
A list of filetypes that should not be replaced when opening a file
|
A list of filetypes that should not be replaced when opening a file
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue