From c53f5b03d368d887bd4e1b74a0acd24db5b4172a Mon Sep 17 00:00:00 2001 From: Sean Baildon Date: Tue, 8 Mar 2022 11:32:12 -0600 Subject: feat: add please support (#1734) --- lua/lspconfig/server_configurations/please.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/lspconfig/server_configurations/please.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/please.lua b/lua/lspconfig/server_configurations/please.lua new file mode 100644 index 00000000..085d1e70 --- /dev/null +++ b/lua/lspconfig/server_configurations/please.lua @@ -0,0 +1,19 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'plz', 'tool', 'lps' }, + filetypes = { 'bzl' }, + root_dir = util.root_pattern '.plzconfig', + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/thought-machine/please + +High-performance extensible build system for reproducible multi-language builds. + +The `plz` binary will automatically install the LSP for you on first run +]], + }, +} -- cgit v1.2.3-70-g09d2