Skip to content

Commit

Permalink
docs: stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
danymat committed Apr 1, 2023
1 parent 336416f commit 6b363d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lua/neorg/modules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ function neorg.modules.load_module_from_table(module, parent)
end
else
log.error(
("Unable to load module %s, wanted dependency %s was not satisfied. Be sure to load the module and its appropriate config too!")
:format(
("Unable to load module %s, wanted dependency %s was not satisfied. Be sure to load the module and its appropriate config too!"):format(
module.name,
required_module
)
Expand Down Expand Up @@ -167,8 +166,7 @@ function neorg.modules.load_module_from_table(module, parent)
-- If this flag has already been set before, then throw an error - there is no way for us to know which hotswapped module should take priority.
if module_to_replace.replaced then
log.error(
("Unable to replace module %s - module replacement clashing detected. This error triggers when a module tries to be replaced more than two times - neorg doesn't know which replacement to prioritize.")
:format(
("Unable to replace module %s - module replacement clashing detected. This error triggers when a module tries to be replaced more than two times - neorg doesn't know which replacement to prioritize."):format(
module_to_replace.name
)
)
Expand Down
1 change: 0 additions & 1 deletion lua/neorg/modules/core/looking-glass/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ module.on_event = function(event)
-- Set the content of the target buffer to the content of the code block (initial synchronization)
vim.api.nvim_buf_set_lines(vsplit, 0, -1, true, code_block_info.content)


-- iterate over attributes and find the last row of them.
local last_attribute = nil
if code_block_info.attributes then
Expand Down

0 comments on commit 6b363d2

Please sign in to comment.