mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +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 = modeConfig.level;
|
||||
in
|
||||
if (isInt level)
|
||||
then level
|
||||
else helpers.mkRaw "vim.log.levels.${strings.toUpper level}";
|
||||
if isNull level
|
||||
then null
|
||||
else
|
||||
(
|
||||
if (isInt level)
|
||||
then level
|
||||
else helpers.mkRaw "vim.log.levels.${strings.toUpper level}"
|
||||
);
|
||||
})
|
||||
cfg.logger.modes;
|
||||
float_precision = cfg.logger.floatPrecision;
|
||||
|
@ -143,7 +148,7 @@ in
|
|||
extraPlugins = [cfg.package];
|
||||
|
||||
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