mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-23 12:16:28 +02:00
Default config reformat (#951)
This commit is contained in:
parent
7f11162bd8
commit
f95e150518
24 changed files with 233 additions and 313 deletions
|
@ -1,8 +1,24 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function()
|
||||
-- TODO: implement config for language
|
||||
return "No config available!"
|
||||
O.lang.rust = {
|
||||
rust_tools = {
|
||||
active = false,
|
||||
parameter_hints_prefix = "<-",
|
||||
other_hints_prefix = "=>", -- prefix for all the other hints (type, chaining)
|
||||
},
|
||||
-- @usage can be clippy
|
||||
formatter = {
|
||||
exe = "rustfmt",
|
||||
args = { "--emit=stdout", "--edition=2018" },
|
||||
},
|
||||
linter = "",
|
||||
diagnostics = {
|
||||
virtual_text = { spacing = 0, prefix = "" },
|
||||
signs = true,
|
||||
underline = true,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
M.format = function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue