Krolyxon
Commit 2aa63d2

Branches

Refs →

aurora.confignvimluapluginslsp.lua

26 lines · 886 B · Lua

1return {
2 {
3 "neovim/nvim-lspconfig",
4 opts = function(_, opts)
5 -- Add your desired LSP server here
6 opts.servers.arduino_language_server = {
7 cmd = {
8 "arduino-language-server",
9 "-clangd",
10 "/usr/bin/clangd",
11 "-cli",
12 "/usr/bin/arduino-cli",
13 "-cli-config",
14 "/home/krolyxon/.arduino15/arduino-cli.yaml",
15 "-fqbn",
16 "arduino:avr:uno",
17 },
18 } -- Example: Python
19
20 opts.servers.pyright = {}
21 opts.servers.clangd = {}
22
23 -- local servers = { "cssls", "jdtls", "slint_lsp", "pyright", "marksman", "eslint", "tailwindcss", "phpactor", "gopls", "clangd", "arduino_language_server" }
24 end,
25 },
26}