Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glebzlat/arduino-nvim
Simple arduino-language-server wrapper for nvim
https://github.com/glebzlat/arduino-nvim
arduino lspconfig neovim nvim nvim-plugin
Last synced: 3 months ago
JSON representation
Simple arduino-language-server wrapper for nvim
- Host: GitHub
- URL: https://github.com/glebzlat/arduino-nvim
- Owner: glebzlat
- License: mit
- Created: 2022-12-25T14:47:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T07:54:32.000Z (4 months ago)
- Last Synced: 2024-08-01T09:26:38.386Z (4 months ago)
- Topics: arduino, lspconfig, neovim, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 67.4 KB
- Stars: 33
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Arduino.nvim
Simple Arduino-language-server bootstrapper.
# Requirements
- arduino-cli
- clangd
- arduino-language-server# Installation
## Lazy.nvim
```lua
{
"glebzlat/arduino-nvim",
config = {
function() require("arduino-nvim").setup() end,
filetype = "arduino",
}
}
```# Settings
This is the list of currently supported settings. Settings with values
`nil|some-type` are optional and are initialized on plugin startup. Settings
with ordinary values are also optional and their values are set by default.```lua
require("arduino-nvim").setup {
default_fqbn = "arduino:avr:uno",
clangd = nil|string, -- path to a clangd executable
arduino = nil|string, -- path to a arduino-cli executable
extra_args = nil|table, -- command line args to arduino lsp
root_dir = nil|string,
capabilities = nil
filetypes = {"arduino"},
callbacks = {
on_attach = nil|function(client, bufnr)
}
}
```# License
`arduino-nvim` licensed under the MIT License. Check the [LICENSE](./LICENSE.md)
file.