Skip to content

Commit

Permalink
fix: typo (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 committed Jan 12, 2024
1 parent 4645785 commit 19c2a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/guard.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*guard.nvim.txt* For NVIM v0.8.0 Last change: 2024 January 11
*guard.nvim.txt* For NVIM v0.8.0 Last change: 2024 January 12

==============================================================================
Table of Contents *guard.nvim-table-of-contents*
Expand Down
2 changes: 1 addition & 1 deletion lua/guard/lint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ local json_opts = {
}

local function formulate_msg(msg, code)
return (message or '') .. (code and ('[%s]'):format(code) or '')
return (msg or '') .. (code and ('[%s]'):format(code) or '')
end

local function from_json(opts)
Expand Down

0 comments on commit 19c2a28

Please sign in to comment.