summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-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"},