Skip to content

Commit 3b26ddb

Browse files
author
Charles Chiu
committed
style: stylue check
1 parent a33fa17 commit 3b26ddb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lua/modules/completion/formatting.lua

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ function M.enable_format_on_save(is_configured)
7474
end,
7575
})
7676
if not is_configured then
77-
vim.notify("Successfully enabled format-on-save", vim.log.levels.INFO, { title = "Settings modification success!" })
77+
vim.notify(
78+
"Successfully enabled format-on-save",
79+
vim.log.levels.INFO,
80+
{ title = "Settings modification success!" }
81+
)
7882
end
7983
end
8084

@@ -175,7 +179,11 @@ function M.format(opts)
175179
{ title = "LSP Format Success!" }
176180
)
177181
elseif err then
178-
vim.notify(string.format("[LSP][%s] %s", client.name, err), vim.log.levels.ERROR, { title = "LSP Format Error!" })
182+
vim.notify(
183+
string.format("[LSP][%s] %s", client.name, err),
184+
vim.log.levels.ERROR,
185+
{ title = "LSP Format Error!" }
186+
)
179187
end
180188
end
181189
end

0 commit comments

Comments
 (0)