Merge branch 'master' of git.vanoverloop.xyz:Danacus/Dotfiles
This commit is contained in:
commit
7ffc04bbad
|
@ -31,6 +31,17 @@ for _, lsp in ipairs(servers) do
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
lspconfig['arduino_language_server'].setup({
|
||||||
|
on_attach = function(client, bufnr)
|
||||||
|
local basics = require('lsp_basics')
|
||||||
|
|
||||||
|
basics.make_lsp_commands(client, bufnr)
|
||||||
|
basics.make_lsp_mappings(client, bufnr)
|
||||||
|
end,
|
||||||
|
capabilities = capabilities,
|
||||||
|
cmd = { "arduino-language-server", "-cli-config", "/home/daan/.arduino15/arduino-cli.yaml" },
|
||||||
|
})
|
||||||
|
|
||||||
lspconfig['rust_analyzer'].setup({
|
lspconfig['rust_analyzer'].setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
local basics = require('lsp_basics')
|
local basics = require('lsp_basics')
|
||||||
|
|
Loading…
Reference in New Issue