From ca71caa076a9f5e22db52075ce320a39a81f5094 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 5 Jan 2025 19:22:07 +0100 Subject: up --- .config/nvim/after/plugin/lsp.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config/nvim/after') diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index cec05bf..a0e2316 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -85,6 +85,16 @@ require'lspconfig'.perlnavigator.setup{ } } +require('lspconfig').arduino_language_server.setup({ + cmd = { + "arduino-language-server", + "-cli-config", "/home/jozan/.arduino15/arduino-cli.yaml", + "-cli", "arduino-cli", + "-clangd", "clangd", + "-fqbn", "esp32:esp32:esp32", + } +}) + require'lspconfig'.terraformls.setup{} vim.api.nvim_create_autocmd({"BufWritePre"}, { pattern = {"*.tf", "*.tfvars"}, -- cgit v1.2.3