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/hls.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lua/lspconfig/hls.lua') diff --git a/lua/lspconfig/hls.lua b/lua/lspconfig/hls.lua index 2a6ce5ee..b0df2fa0 100644 --- a/lua/lspconfig/hls.lua +++ b/lua/lspconfig/hls.lua @@ -1,22 +1,22 @@ -local configs = require "lspconfig/configs" -local util = require "lspconfig/util" +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' configs.hls = { default_config = { - cmd = { "haskell-language-server-wrapper", "--lsp" }, - filetypes = { "haskell", "lhaskell" }, - root_dir = util.root_pattern("*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"), + cmd = { 'haskell-language-server-wrapper', '--lsp' }, + filetypes = { 'haskell', 'lhaskell' }, + root_dir = util.root_pattern('*.cabal', 'stack.yaml', 'cabal.project', 'package.yaml', 'hie.yaml'), settings = { languageServerHaskell = { - formattingProvider = "ormolu", + formattingProvider = 'ormolu', }, }, lspinfo = function(cfg) -- return "specific" if cfg.settings.languageServerHaskell.logFile or false then - return "logfile: " .. cfg.settings.languageServerHaskell.logFile + return 'logfile: ' .. cfg.settings.languageServerHaskell.logFile end - return "" + return '' end, }, -- cgit v1.2.3-70-g09d2