mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 19:24:25 +02:00
[Feature] add linter support (#982)
This commit is contained in:
parent
fe48ed9ef9
commit
836286798e
15 changed files with 107 additions and 84 deletions
|
@ -12,6 +12,7 @@ M.config = function()
|
|||
exe = "rufo",
|
||||
args = { "-x" },
|
||||
},
|
||||
linters = { "ruby" },
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -33,8 +34,9 @@ M.format = function()
|
|||
end
|
||||
|
||||
M.lint = function()
|
||||
-- TODO: implement linters (if applicable)
|
||||
return "No linters configured!"
|
||||
require("lint").linters_by_ft = {
|
||||
ruby = O.lang.ruby.linters,
|
||||
}
|
||||
end
|
||||
|
||||
M.lsp = function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue