mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01: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 ''
|
||||
require("smartcolumn").setup({
|
||||
colorcolumn = "${toString cfg.showColumnAt}",
|
||||
disabled_filetypes = { ${concatStringsSep ", " (map (x: "\"" + x + "\"") cfg.disabledFiletypes)} },
|
||||
-- { "help", "text", "markdown", "NvimTree", "alpha"},
|
||||
disabled_filetypes = { ${concatStringsSep ", " (map (x: "\"" + x + "\"") cfg.disabledFiletypes)} },
|
||||
custom_colorcolumn = {
|
||||
-- TODO: use cfg.languages.<language>.columnAt when it's fixed to dynamically define per-language length
|
||||
ruby = "120",
|
||||
|
|
|
@ -26,14 +26,14 @@ in {
|
|||
default = ["help" "text" "markdown" "NvimTree" "alpha"];
|
||||
description = "The filetypes smartcolumn will be disabled for.";
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
languages = mkOption {
|
||||
default = {};
|
||||
description = "Language specific configuration.";
|
||||
type = with types;
|
||||
attrsOf (submodule {
|
||||
options = attrsOf (submodule langOptions);
|
||||
options = languageOpts;
|
||||
});
|
||||
};
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue