diff options
| author | krolxon <krolyxon@tutanota.com> | 2026-01-07 23:05:50 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2026-01-07 23:05:50 +0530 |
| commit | 9e1bc68a323707c54fa16ff18a8b5bc0ed28c427 (patch) | |
| tree | c7b89e880a2ce7a40e21b7a62ed6e64f4977bc92 /.config/nvim/lua/plugins/lsp.lua | |
| parent | 2e904234a732318e759272900a8a3383e1d3ac48 (diff) | |
add neovim configuration
Diffstat (limited to '.config/nvim/lua/plugins/lsp.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua new file mode 100644 index 0000000..145182e --- /dev/null +++ b/.config/nvim/lua/plugins/lsp.lua @@ -0,0 +1,26 @@ +return { + { + "neovim/nvim-lspconfig", + opts = function(_, opts) + -- Add your desired LSP server here + opts.servers.arduino_language_server = { + cmd = { + "arduino-language-server", + "-clangd", + "/usr/bin/clangd", + "-cli", + "/usr/bin/arduino-cli", + "-cli-config", + "/home/krolyxon/.arduino15/arduino-cli.yaml", + "-fqbn", + "arduino:avr:uno", + }, + } -- Example: Python + + opts.servers.pyright = {} + opts.servers.clangd = {} + + -- local servers = { "cssls", "jdtls", "slint_lsp", "pyright", "marksman", "eslint", "tailwindcss", "phpactor", "gopls", "clangd", "arduino_language_server" } + end, + }, +} |
