From ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Sat, 3 Jul 2021 14:45:08 -0700 Subject: ci: lint and format with stylua --- lua/lspconfig/solargraph.lua | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'lua/lspconfig/solargraph.lua') diff --git a/lua/lspconfig/solargraph.lua b/lua/lspconfig/solargraph.lua index fde1c359..353239ab 100644 --- a/lua/lspconfig/solargraph.lua +++ b/lua/lspconfig/solargraph.lua @@ -1,23 +1,23 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' +local configs = require "lspconfig/configs" +local util = require "lspconfig/util" local bin_name = "solargraph" -if vim.fn.has('win32') == 1 then - bin_name = bin_name..'.bat' +if vim.fn.has "win32" == 1 then + bin_name = bin_name .. ".bat" end configs.solargraph = { default_config = { - cmd = {bin_name, "stdio"}; + cmd = { bin_name, "stdio" }, settings = { solargraph = { - diagnostics = true; - }; - }; - filetypes = {"ruby"}; - root_dir = util.root_pattern("Gemfile", ".git"); - }; + diagnostics = true, + }, + }, + filetypes = { "ruby" }, + root_dir = util.root_pattern("Gemfile", ".git"), + }, docs = { - package_json = "https://raw.githubusercontent.com/castwide/vscode-solargraph/master/package.json"; + package_json = "https://raw.githubusercontent.com/castwide/vscode-solargraph/master/package.json", description = [[ https://solargraph.org/ @@ -28,10 +28,10 @@ You can install solargraph via gem install. ```sh gem install --user-install solargraph ``` - ]]; + ]], default_config = { - root_dir = [[root_pattern("Gemfile", ".git")]]; - }; - }; -}; + root_dir = [[root_pattern("Gemfile", ".git")]], + }, + }, +} -- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2