diff options
| author | AriaN <notarian.rez@gmail.com> | 2024-07-24 09:03:17 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 13:33:17 +0800 |
| commit | 3d05d50521fc5c25c96086a81d6ba551c71f24ed (patch) | |
| tree | e2e11cede01e5612c4aeba20b264207ca58e9fa0 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar.gz nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar.bz2 nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar.lz nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar.xz nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.tar.zst nvim-lspconfig-3d05d50521fc5c25c96086a81d6ba551c71f24ed.zip | |
docs: fix typos in arduino_language_server (#3246)
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 |
