blob: 2699e7ed132eff6475ea6b8299bd9bf1da38bf03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
local util = require 'lspconfig/util'
return {
default_config = {
cmd = { 'starpls' },
filetypes = { 'bzl' },
root_dir = util.root_pattern('WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel'),
},
docs = {
description = [[
https://github.com/withered-magic/starpls
`starpls` is an LSP implementation for Starlark. Installation instructions can be found in the project's README.
]],
},
}
|