mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 02:08:40 +02:00
plugins/neorg: fix typos (#202)
* plugins/neorg: fix null handling * plugins/neorg: fix typo in lua code
This commit is contained in:
parent
1abdc90411
commit
705356d478
1 changed files with 9 additions and 4 deletions
|
@ -127,9 +127,14 @@ in
|
||||||
level = let
|
level = let
|
||||||
level = modeConfig.level;
|
level = modeConfig.level;
|
||||||
in
|
in
|
||||||
|
if isNull level
|
||||||
|
then null
|
||||||
|
else
|
||||||
|
(
|
||||||
if (isInt level)
|
if (isInt level)
|
||||||
then level
|
then level
|
||||||
else helpers.mkRaw "vim.log.levels.${strings.toUpper level}";
|
else helpers.mkRaw "vim.log.levels.${strings.toUpper level}"
|
||||||
|
);
|
||||||
})
|
})
|
||||||
cfg.logger.modes;
|
cfg.logger.modes;
|
||||||
float_precision = cfg.logger.floatPrecision;
|
float_precision = cfg.logger.floatPrecision;
|
||||||
|
@ -143,7 +148,7 @@ in
|
||||||
extraPlugins = [cfg.package];
|
extraPlugins = [cfg.package];
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
require('nvim-tree').setup(${helpers.toLuaObject options})
|
require('neorg').setup(${helpers.toLuaObject options})
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue