Initial config
This commit is contained in:
5
lsp/server-settings/clangd.lua
Normal file
5
lsp/server-settings/clangd.lua
Normal file
@ -0,0 +1,5 @@
|
||||
return {
|
||||
capabilities = {
|
||||
offsetEncoding = "utf-8",
|
||||
},
|
||||
}
|
15
lsp/server-settings/rust_analyzer.lua
Normal file
15
lsp/server-settings/rust_analyzer.lua
Normal file
@ -0,0 +1,15 @@
|
||||
return {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
checkOnSave = {
|
||||
command = "clippy",
|
||||
extraArgs = {
|
||||
"--all-features",
|
||||
"--",
|
||||
"-W", "clippy::pedantic",
|
||||
"-W", "clippy::nursery",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user