diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/arduino_language_server.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/lspconfig/server_configurations/arduino_language_server.lua b/lua/lspconfig/server_configurations/arduino_language_server.lua index 384a9c9f..c3ddc518 100644 --- a/lua/lspconfig/server_configurations/arduino_language_server.lua +++ b/lua/lspconfig/server_configurations/arduino_language_server.lua @@ -46,10 +46,10 @@ If you don't have a sketch yet create one. ```sh $ arduino-cli sketch new test -$ cd test +$ cd test ``` -You will need a `sketch.yaml` file in order for the language server to understand your project. It will also save you passing options to `arduino-cli` each time you compile or upload a file. You can generate the file like using the following commands. +You will need a `sketch.yaml` file in order for the language server to understand your project. It will also save you passing options to `arduino-cli` each time you compile or upload a file. You can generate the file by using the following commands. First gather some information about your board. Make sure your board is connected and run the following: @@ -66,7 +66,7 @@ Then generate the file: arduino-cli board attach -p /dev/ttyACM0 -b arduino:avr:uno test.ino ``` -The resulting file should like like this: +The resulting file should look like this: ```yaml default_fqbn: arduino:avr:uno @@ -81,7 +81,7 @@ Your folder structure should look like this: └── sketch.yaml ``` -For further instruction about configuration options, run `arduino-language-server --help`. +For further instructions about configuration options, run `arduino-language-server --help`. Note that an upstream bug makes keywords in some cases become undefined by the language server. Ref: https://github.com/arduino/arduino-ide/issues/159 |
