File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ return {
2
+ default_config = {
3
+ name = ' dts_lsp' ,
4
+ cmd = { ' dts-lsp' },
5
+ filetypes = { ' dts' , ' dtsi' , ' overlay' },
6
+ root_dir = function (fname )
7
+ return vim .fs .dirname (vim .fs .find (' .git' , { path = fname , upward = true })[1 ])
8
+ end ,
9
+ settings = {},
10
+ },
11
+ docs = {
12
+ description = [[
13
+ `dts-lsp` is an LSP for Devicetree files built on top of tree-sitter-devicetree grammar.
14
+ Language servers can be used in many editors, such as Visual Studio Code, Emacs
15
+ or Vim
16
+
17
+ Install `dts-lsp` from https://github.com/igor-prusov/dts-lsp and add it to path
18
+
19
+ `dts-lsp` doesn't require any configuration.
20
+
21
+ More about Devicetree:
22
+ https://www.devicetree.org/
23
+ https://docs.zephyrproject.org/latest/build/dts/index.html
24
+
25
+ ]] ,
26
+ },
27
+ }
You can’t perform that action at this time.
0 commit comments