Skip to content
This repository was archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
chore: temporarily (?) disable version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Alvarez committed Nov 12, 2021
1 parent 81bdb29 commit fe252e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/null-ls/sources.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ M.validate_and_transform = function(source)
method_map[method] = true
end

if method_map[methods.internal.DIAGNOSTICS_ON_SAVE] and not u.has_version("0.6.0") then
u.echo("WarningMsg", string.format("source %s is not supported on nvim versions < 0.6.0", name))
return
end
-- if method_map[methods.internal.DIAGNOSTICS_ON_SAVE] and not u.has_version("0.6.0") then
-- u.echo("WarningMsg", string.format("source %s is not supported on nvim versions < 0.6.0", name))
-- return
-- end

return {
name = name,
Expand Down

0 comments on commit fe252e5

Please sign in to comment.