diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-07-03 15:55:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-03 15:55:59 -0700 |
| commit | e1160be89ae6a3ece4664c8e32a82b8637f4b177 (patch) | |
| tree | 77d533dc9606ca7e9b30d1a96baebf3de325d2a8 /lua/lspconfig/solargraph.lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| parent | ci: lint and format with stylua (diff) | |
| download | nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.gz nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.bz2 nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.lz nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.xz nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.zst nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.zip | |
Merge pull request #1029 from mjlbach/ci/format_with_stylua
ci: lint and format with stylua
Diffstat (limited to 'lua/lspconfig/solargraph.lua')
| -rw-r--r-- | lua/lspconfig/solargraph.lua | 34 |
1 files changed, 17 insertions, 17 deletions
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 |
