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/dotls.lua | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'lua/lspconfig/dotls.lua') diff --git a/lua/lspconfig/dotls.lua b/lua/lspconfig/dotls.lua index 0aa198e4..90ddde7e 100644 --- a/lua/lspconfig/dotls.lua +++ b/lua/lspconfig/dotls.lua @@ -1,22 +1,21 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' +local configs = require "lspconfig/configs" +local util = require "lspconfig/util" local server_name = "dotls" local bin_name = "dot-language-server" local root_files = { - '.git', + ".git", } configs[server_name] = { default_config = { - cmd = {bin_name, "--stdio"}; - filetypes = {"dot"}; + cmd = { bin_name, "--stdio" }, + filetypes = { "dot" }, root_dir = function(filename) - return util.root_pattern(unpack(root_files))(filename) or - util.path.dirname(filename) - end; - }; + return util.root_pattern(unpack(root_files))(filename) or util.path.dirname(filename) + end, + }, docs = { description = [[ https://github.com/nikeee/dot-language-server @@ -25,8 +24,8 @@ https://github.com/nikeee/dot-language-server ```sh npm install -g dot-language-server ``` - ]]; - }; -}; + ]], + }, +} -- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2