mirror of
https://github.com/neovim/nvim-lspconfig
synced 2025-03-11 04:27:36 +00:00
skip-checks: true
This commit is contained in:
parent
8840ea5429
commit
00b236b795
@ -86,6 +86,7 @@ Nvim by running `:help lspconfig-all`.
|
|||||||
- [dprint](#dprint)
|
- [dprint](#dprint)
|
||||||
- [drools_lsp](#drools_lsp)
|
- [drools_lsp](#drools_lsp)
|
||||||
- [ds_pinyin_lsp](#ds_pinyin_lsp)
|
- [ds_pinyin_lsp](#ds_pinyin_lsp)
|
||||||
|
- [dts_lsp](#dts_lsp)
|
||||||
- [earthlyls](#earthlyls)
|
- [earthlyls](#earthlyls)
|
||||||
- [ecsact](#ecsact)
|
- [ecsact](#ecsact)
|
||||||
- [efm](#efm)
|
- [efm](#efm)
|
||||||
@ -3135,6 +3136,45 @@ Default config:
|
|||||||
- `single_file_support` : `true`
|
- `single_file_support` : `true`
|
||||||
|
|
||||||
|
|
||||||
|
## dts_lsp
|
||||||
|
|
||||||
|
`dts-lsp` is an LSP for Devicetree files built on top of tree-sitter-devicetree grammar.
|
||||||
|
Language servers can be used in many editors, such as Visual Studio Code, Emacs
|
||||||
|
or Vim
|
||||||
|
|
||||||
|
Install `dts-lsp` from https://github.com/igor-prusov/dts-lsp and add it to path
|
||||||
|
|
||||||
|
`dts-lsp` doesn't require any configuration.
|
||||||
|
|
||||||
|
More about Devicetree:
|
||||||
|
https://www.devicetree.org/
|
||||||
|
https://docs.zephyrproject.org/latest/build/dts/index.html
|
||||||
|
|
||||||
|
Snippet to enable the language server:
|
||||||
|
```lua
|
||||||
|
require'lspconfig'.dts_lsp.setup{}
|
||||||
|
```
|
||||||
|
|
||||||
|
Default config:
|
||||||
|
- `cmd` :
|
||||||
|
```lua
|
||||||
|
{ "dts-lsp" }
|
||||||
|
```
|
||||||
|
- `filetypes` :
|
||||||
|
```lua
|
||||||
|
{ "dts", "dtsi", "overlay" }
|
||||||
|
```
|
||||||
|
- `name` :
|
||||||
|
```lua
|
||||||
|
"dts_lsp"
|
||||||
|
```
|
||||||
|
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/dts_lsp.lua:2](../lua/lspconfig/configs/dts_lsp.lua#L2)
|
||||||
|
- `settings` :
|
||||||
|
```lua
|
||||||
|
{}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## earthlyls
|
## earthlyls
|
||||||
|
|
||||||
https://github.com/glehmann/earthlyls
|
https://github.com/glehmann/earthlyls
|
||||||
|
@ -86,6 +86,7 @@ Nvim by running `:help lspconfig-all`.
|
|||||||
- [dprint](#dprint)
|
- [dprint](#dprint)
|
||||||
- [drools_lsp](#drools_lsp)
|
- [drools_lsp](#drools_lsp)
|
||||||
- [ds_pinyin_lsp](#ds_pinyin_lsp)
|
- [ds_pinyin_lsp](#ds_pinyin_lsp)
|
||||||
|
- [dts_lsp](#dts_lsp)
|
||||||
- [earthlyls](#earthlyls)
|
- [earthlyls](#earthlyls)
|
||||||
- [ecsact](#ecsact)
|
- [ecsact](#ecsact)
|
||||||
- [efm](#efm)
|
- [efm](#efm)
|
||||||
@ -3135,6 +3136,45 @@ Default config:
|
|||||||
- `single_file_support` : `true`
|
- `single_file_support` : `true`
|
||||||
|
|
||||||
|
|
||||||
|
## dts_lsp
|
||||||
|
|
||||||
|
`dts-lsp` is an LSP for Devicetree files built on top of tree-sitter-devicetree grammar.
|
||||||
|
Language servers can be used in many editors, such as Visual Studio Code, Emacs
|
||||||
|
or Vim
|
||||||
|
|
||||||
|
Install `dts-lsp` from https://github.com/igor-prusov/dts-lsp and add it to path
|
||||||
|
|
||||||
|
`dts-lsp` doesn't require any configuration.
|
||||||
|
|
||||||
|
More about Devicetree:
|
||||||
|
https://www.devicetree.org/
|
||||||
|
https://docs.zephyrproject.org/latest/build/dts/index.html
|
||||||
|
|
||||||
|
Snippet to enable the language server:
|
||||||
|
```lua
|
||||||
|
require'lspconfig'.dts_lsp.setup{}
|
||||||
|
```
|
||||||
|
|
||||||
|
Default config:
|
||||||
|
- `cmd` :
|
||||||
|
```lua
|
||||||
|
{ "dts-lsp" }
|
||||||
|
```
|
||||||
|
- `filetypes` :
|
||||||
|
```lua
|
||||||
|
{ "dts", "dtsi", "overlay" }
|
||||||
|
```
|
||||||
|
- `name` :
|
||||||
|
```lua
|
||||||
|
"dts_lsp"
|
||||||
|
```
|
||||||
|
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/dts_lsp.lua:2](../lua/lspconfig/configs/dts_lsp.lua#L2)
|
||||||
|
- `settings` :
|
||||||
|
```lua
|
||||||
|
{}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## earthlyls
|
## earthlyls
|
||||||
|
|
||||||
https://github.com/glehmann/earthlyls
|
https://github.com/glehmann/earthlyls
|
||||||
|
Loading…
Reference in New Issue
Block a user