diff options
| -rw-r--r-- | lua/lspconfig/configs/bqls.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/bqls.lua b/lua/lspconfig/configs/bqls.lua new file mode 100644 index 00000000..c0ce9509 --- /dev/null +++ b/lua/lspconfig/configs/bqls.lua @@ -0,0 +1,22 @@ +return { + default_config = { + cmd = { 'bqls' }, + filetypes = { 'sql' }, + root_dir = function(fname) + return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) + end, + single_file_support = true, + 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 +``` + ]], + }, +} |
