Arduino LSP
This commit is contained in:
parent
a3ffda6610
commit
9ecc9b4a9e
|
@ -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')
|
||||||
|
|
|
@ -74,8 +74,6 @@ exec_always --no-startup-id ~/.config/sway/lisgd_gestures.sh
|
||||||
|
|
||||||
bindsym $mod+Shift+e exec --no-startup-id ~/.config/sway/exit.sh
|
bindsym $mod+Shift+e exec --no-startup-id ~/.config/sway/exit.sh
|
||||||
|
|
||||||
bindsym $mod+c exec --no-startup-id rofi-pass-wl
|
|
||||||
|
|
||||||
bindsym $mod+Shift+g exec --no-startup-id dmenu_script game.sh
|
bindsym $mod+Shift+g exec --no-startup-id dmenu_script game.sh
|
||||||
|
|
||||||
bindsym $mod+c exec --no-startup-id rofi-pass-wl
|
bindsym $mod+c exec --no-startup-id rofi-pass-wl
|
||||||
|
|
Loading…
Reference in New Issue