blob: e9621b6763d42367d524c995b2a394dcafeab5e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---@brief
---
--- https://github.com/microsoft/gnls
---
--- Microsoft's language server for GN build files.
---
--- Assuming there is a `gnls` script somewhere in your `$PATH`, containing
--- for example:
---
--- ```shell
--- GNLS_SRC_DIR=</path/to/gnls>
---
--- exec node ${GNLS_SRC_DIR}/build/server.js $@
--- ```
---@type vim.lsp.Config
return {
cmd = { 'gnls', '--stdio' },
filetypes = { 'gn' },
root_markers = { '.gn', '.git' },
}
|