mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
20 lines
355 B
Lua
20 lines
355 B
Lua
return {
|
|
tools = {
|
|
on_initialized = function()
|
|
vim.cmd([[
|
|
autocmd BufEnter,CursorHold,InsertLeave,BufWritePost *.rs silent! lua vim.lsp.codelens.refresh()
|
|
]])
|
|
end,
|
|
},
|
|
settings = {
|
|
["rust-analyzer"] = {
|
|
lens = {
|
|
enable = true,
|
|
},
|
|
checkOnSave = {
|
|
command = "clippy",
|
|
},
|
|
},
|
|
},
|
|
}
|