mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
dev(smartcolumn): try to use submodules properly?
This commit is contained in:
parent
459f542980
commit
601d2ea6ed
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@ in {
|
||||||
vim.luaConfigRC.smartcolumn = nvim.dag.entryAnywhere ''
|
vim.luaConfigRC.smartcolumn = nvim.dag.entryAnywhere ''
|
||||||
require("smartcolumn").setup({
|
require("smartcolumn").setup({
|
||||||
colorcolumn = "${toString cfg.showColumnAt}",
|
colorcolumn = "${toString cfg.showColumnAt}",
|
||||||
disabled_filetypes = { ${concatStringsSep ", " (map (x: "\"" + x + "\"") cfg.disabledFiletypes)} },
|
|
||||||
-- { "help", "text", "markdown", "NvimTree", "alpha"},
|
-- { "help", "text", "markdown", "NvimTree", "alpha"},
|
||||||
|
disabled_filetypes = { ${concatStringsSep ", " (map (x: "\"" + x + "\"") cfg.disabledFiletypes)} },
|
||||||
custom_colorcolumn = {
|
custom_colorcolumn = {
|
||||||
-- TODO: use cfg.languages.<language>.columnAt when it's fixed to dynamically define per-language length
|
-- TODO: use cfg.languages.<language>.columnAt when it's fixed to dynamically define per-language length
|
||||||
ruby = "120",
|
ruby = "120",
|
||||||
|
|
|
@ -26,14 +26,14 @@ in {
|
||||||
default = ["help" "text" "markdown" "NvimTree" "alpha"];
|
default = ["help" "text" "markdown" "NvimTree" "alpha"];
|
||||||
description = "The filetypes smartcolumn will be disabled for.";
|
description = "The filetypes smartcolumn will be disabled for.";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
languages = mkOption {
|
languages = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
description = "Language specific configuration.";
|
description = "Language specific configuration.";
|
||||||
type = with types;
|
type = with types;
|
||||||
attrsOf (submodule {
|
attrsOf (submodule {
|
||||||
options = attrsOf (submodule langOptions);
|
options = languageOpts;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue