Merge branch 'master' of git.barakmich.com:/barak/dotfiles
This commit is contained in:
commit
7df1e7a4d8
1 changed files with 11 additions and 0 deletions
|
|
@ -21,6 +21,17 @@ rust_capabilities.textDocument.completion.completionItem.resolveSupport = {
|
||||||
nvim_lsp.rust_analyzer.setup({
|
nvim_lsp.rust_analyzer.setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = rust_capabilities,
|
capabilities = rust_capabilities,
|
||||||
|
settings = {
|
||||||
|
['rust-analyzer'] = {
|
||||||
|
checkOnSave = {
|
||||||
|
allFeatures = true,
|
||||||
|
overrideCommand = {
|
||||||
|
'cargo', 'clippy', '--workspace', '--message-format=json',
|
||||||
|
'--all-targets', '--all-features'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
nvim_lsp.gopls.setup({ on_attach = on_attach })
|
nvim_lsp.gopls.setup({ on_attach = on_attach })
|
||||||
nvim_lsp.pyright.setup({ on_attach = on_attach })
|
nvim_lsp.pyright.setup({ on_attach = on_attach })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue