Skip to content

Commit

Permalink
disable diagnostic about unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Aug 11, 2023
1 parent 0c455bc commit 27538e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/LspUI/diagnostic/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ local M = {}
-- convert severity to string
--- @param severity integer
--- @return string?
---@diagnostic disable-next-line: unused-local, unused-function
local diagnostic_severity_to_string = function(severity)
local arr = {
"Error",
Expand Down

0 comments on commit 27538e8

Please sign in to comment.