Skip to content

Commit

Permalink
style: format lua files
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo-ss committed Mar 26, 2024
1 parent f374934 commit bce429e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lua/fs/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ M.opts = {
},
-- Five Server bin directory.
-- if installed globally, use: `bin = "five-server"`
bin = vim.fn.stdpath("data") .. "/five-server/node_modules/.bin/five-server",
bin = vim.fn.stdpath "data" .. "/five-server/node_modules/.bin/five-server",
-- Directory for installing Five Server
path = vim.fn.stdpath("data") .. "/five-server",
path = vim.fn.stdpath "data" .. "/five-server",
-- notifications on the interface.
notify = true,
-- configure Five Server RC.
Expand Down
7 changes: 6 additions & 1 deletion lua/fs/utils/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ function M._gen_rc(path)
if f then
f:write(rc_json)
f:close()
logger.logger_info(("Fiveserverrc generated in `%s`.\nLearn more: %s"):format(path, "https://github.com/yandeu/five-server/blob/main/src/types.ts"))
logger.logger_info(
("Fiveserverrc generated in `%s`.\nLearn more: %s"):format(
path,
"https://github.com/yandeu/five-server/blob/main/src/types.ts"
)
)
return
end
logger.logger_error "Error while trying to generate fiveserverrc"
Expand Down

0 comments on commit bce429e

Please sign in to comment.