Skip to content

Commit 1ba5364

Browse files
juniorsundargithub-actions[bot]
authored andcommitted
chore: autoformat with stylua
1 parent 2bd28ad commit 1ba5364

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

lua/neorg/modules/external/many-mans/module.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ module.public = {
245245
local push_text = table.concat(text, "\n")
246246
local lines = vim.split(push_text, "\n")
247247
vim.api.nvim_buf_set_lines(bufnr, row, row, false, lines)
248-
vim.api.nvim_buf_call(bufnr, function()
249-
vim.cmd(string.format("%d,%dnormal! ==", row + 1, row + #lines))
250-
end)
251-
end,
248+
vim.api.nvim_buf_call(bufnr, function()
249+
vim.cmd(string.format("%d,%dnormal! ==", row + 1, row + #lines))
250+
end)
251+
end,
252252

253253
delete_property_metadata = function(row, bufnr)
254254
local total_lines = vim.api.nvim_buf_line_count(bufnr)

lua/neorg/modules/external/roam/module.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ module.public = {
233233
vim.fn.mkdir(vault_dir, "p")
234234

235235
-- Create and open a new Neorg file with the generated title token
236-
vim.cmd(
237-
"edit " .. vault_dir .. os.date("%Y%m%d%H%M%S-") .. title_token .. ".norg"
238-
)
236+
vim.cmd("edit " .. vault_dir .. os.date("%Y%m%d%H%M%S-") .. title_token .. ".norg")
239237
vim.cmd([[Neorg inject-metadata]])
240238

241239
-- Update the title in the newly created buffer

0 commit comments

Comments
 (0)