From cd1ccf056be9cbcc3d5cbefff08135276bc476ed Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Tue, 13 Jul 2021 10:41:39 -0700 Subject: chore: change stylua to single quotes (#1068) --- lua/lspconfig/solargraph.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lua/lspconfig/solargraph.lua') diff --git a/lua/lspconfig/solargraph.lua b/lua/lspconfig/solargraph.lua index 82b04065..399c87e8 100644 --- a/lua/lspconfig/solargraph.lua +++ b/lua/lspconfig/solargraph.lua @@ -1,24 +1,24 @@ -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" +local bin_name = 'solargraph' +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, }, }, init_options = { formatting = true }, - filetypes = { "ruby" }, - root_dir = util.root_pattern("Gemfile", ".git"), + 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/ -- cgit v1.2.3-70-g09d2