summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/lsp.lua
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-01-05 19:22:07 +0100
committerJoe <rbo@gmx.us>2025-01-05 19:22:07 +0100
commitca71caa076a9f5e22db52075ce320a39a81f5094 (patch)
treec17754a8a3fcd04470e0b9f0c2a2ba72f4b9bc02 /.config/nvim/after/plugin/lsp.lua
parentup (diff)
downloaddotfiles-bsd-ca71caa076a9f5e22db52075ce320a39a81f5094.tar.gz
dotfiles-bsd-ca71caa076a9f5e22db52075ce320a39a81f5094.tar.bz2
dotfiles-bsd-ca71caa076a9f5e22db52075ce320a39a81f5094.tar.xz
dotfiles-bsd-ca71caa076a9f5e22db52075ce320a39a81f5094.tar.zst
dotfiles-bsd-ca71caa076a9f5e22db52075ce320a39a81f5094.zip
up
Diffstat (limited to '.config/nvim/after/plugin/lsp.lua')
-rw-r--r--.config/nvim/after/plugin/lsp.lua10
1 files changed, 10 insertions, 0 deletions
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"},