devicetree-language-server 0.6.8 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Build Status](https://github.com/kylebonnici/dts-lsp/actions/workflows/node.js.yml/badge.svg)
1
+ ![Build Status](https://github.com/kylebonnici/dts-lsp/actions/workflows/build-test.yml/badge.svg)
2
2
 
3
3
  # DTS Language Server
4
4
 
@@ -23,14 +23,13 @@ This LSP is intended to be used with DTS Devicetree Specification Release v0.4 (
23
23
  - [Usage](#usage)
24
24
  - [Zephyr](#zephyr-configuration-example)
25
25
  - [Linux](#linux)
26
- - [Devicetree-Org](#with-devicetree-org-bindings)
26
+ - [Devicetree-Org](#with-devicetree-org-bindings)
27
27
  - [Sample Editor configurations](#sample-editor-configurations)
28
- - [kakoune](#kakoune)
29
- - [Neovim - lazygit](#neovim---lazygit)
30
- - [Helix](#helix)
31
- - [coc.nvim](#coco-nvim)
32
- - [Vim 9 - yegappan lsp](#vim-9---yegappan-lsp)
33
-
28
+ - [kakoune](#kakoune)
29
+ - [Neovim - lazygit](#neovim---lazygit)
30
+ - [Helix](#helix)
31
+ - [coc.nvim](#coco-nvim)
32
+ - [Vim 9 - yegappan lsp](#vim-9---yegappan-lsp)
34
33
 
35
34
  ## Features
36
35
 
@@ -79,7 +78,7 @@ On hover over the node name, a tooltip will show the final state of that node. I
79
78
 
80
79
  ![On Hover](/docs/OnHoverNode.gif)
81
80
 
82
- When hovering over a delete state you can see the state of the item just before the delete action.
81
+ When hovering over a deleted state you can see the state of the item just before the delete action.
83
82
 
84
83
  ![On Hover Deleted State](/docs/OnHoverDeleteState.gif)
85
84
 
@@ -173,19 +172,19 @@ Completions are context aware of the document state on the line the action is re
173
172
 
174
173
  #### Label reference completion reference node creation and property assignment
175
174
 
176
- ![Label Reference Completion](/docs/NodePathCompletion.gif)
175
+ ![Label Reference Completion](/docs/LabelRefCompletion.gif)
177
176
 
178
177
  #### Delete Node:
179
178
 
180
- - Suggests appropriate type e.g. by reference or node name
181
- - Does not suggest keyword if no delete is possible
179
+ Suggests appropriate type e.g. by reference or node name.
180
+ Does not suggest keyword if no delete is possible.
182
181
 
183
182
  ![Delete Node Completion](/docs/DeleteNodeCompletion.gif)
184
183
 
185
184
  #### Delete Property:
186
185
 
187
- - Suggests property names available in that context
188
- - Does not suggest keyword if no delete is possible
186
+ Suggests property names available in that context.
187
+ Does not suggest keyword if no delete is possible.
189
188
 
190
189
  ![Delete Property Completion](/docs/DeletePropertyCompletion.gif)
191
190
 
@@ -222,13 +221,12 @@ Given that in some cases the files included in a devicetree might come from an S
222
221
 
223
222
  Contributions are welcome or reach out on GitHub with requests.
224
223
 
225
-
226
224
  ## Installation
227
225
 
228
226
  The language server can be found on https://www.npmjs.com/package/devicetree-language-server.
229
227
 
230
228
  To install run
231
- `npm i devicetree-language-server`
229
+ `npm i -g devicetree-language-server`
232
230
 
233
231
  The LSP has only been tested with Node 20.
234
232
 
@@ -462,7 +460,6 @@ return {
462
460
  }
463
461
  ```
464
462
 
465
-
466
463
  #### Helix
467
464
 
468
465
  Contribution by [bextract](https://github.com/bextract)
@@ -669,4 +666,4 @@ nnoremap <silent> gdc :LspGotoDeclaration<CR>
669
666
 
670
667
  command! -nargs=0 -bar -range=% Format <line1>,<line2>LspFormat
671
668
  set formatexpr=lsp#lsp#FormatExpr() " Map LspFormat to the gq command
672
- ```
669
+ ```
@@ -101,7 +101,7 @@ Repository: https://github.com/moxystudio/node-cross-spawn
101
101
 
102
102
  ----------------------------------------------------------------------
103
103
 
104
- devicetree-language-server@0.6.8
104
+ devicetree-language-server@0.7.1
105
105
  License: Apache-2.0
106
106
  Repository: https://github.com/kylebonnici/dts-lsp
107
107