From 55d2e7e529600dbfdae5fa328bbfabc1cdf68b3a Mon Sep 17 00:00:00 2001 From: Josh Bode Date: Mon, 2 Dec 2024 08:52:19 +1100 Subject: [PATCH] feat(bqls): add bqls support --- lua/lspconfig/configs/bqls.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/lspconfig/configs/bqls.lua diff --git a/lua/lspconfig/configs/bqls.lua b/lua/lspconfig/configs/bqls.lua new file mode 100644 index 0000000000..5061f9312d --- /dev/null +++ b/lua/lspconfig/configs/bqls.lua @@ -0,0 +1,21 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'bqls' }, + filetypes = { 'sql' }, + root_dir = util.find_git_ancestor, + settings = {}, + }, + docs = { + description = [[ +https://github.com/kitagry/bqls + +The `bqls` BigQuery language server can be installed by running: + +```sh +$ go install github.com/kitagry/bqls@latest +``` + ]], + }, +}