Merge branch 'master' of git.vanoverloop.xyz:Danacus/Dotfiles

This commit is contained in:
Daan Vanoverloop 2021-10-21 08:42:52 +02:00
commit 7ffc04bbad
Signed by: Danacus
GPG Key ID: F2272B50E129FC5C
1 changed files with 11 additions and 0 deletions

View File

@ -31,6 +31,17 @@ for _, lsp in ipairs(servers) do
}
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({
on_attach = function(client, bufnr)
local basics = require('lsp_basics')