From 0036590f87ca883f52719dec18afdd373ebe8494 Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Mon, 12 Jul 2021 16:43:06 -0700 Subject: chore: format with stylua (#1065) --- lua/lspconfig/tsserver.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lua/lspconfig/tsserver.lua') diff --git a/lua/lspconfig/tsserver.lua b/lua/lspconfig/tsserver.lua index 8bc11973..8de49d08 100644 --- a/lua/lspconfig/tsserver.lua +++ b/lua/lspconfig/tsserver.lua @@ -12,9 +12,8 @@ configs[server_name] = { cmd = { bin_name, "--stdio" }, filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" }, root_dir = function(fname) - return util.root_pattern "tsconfig.json"(fname) or util.root_pattern("package.json", "jsconfig.json", ".git")( - fname - ) + return util.root_pattern "tsconfig.json"(fname) + or util.root_pattern("package.json", "jsconfig.json", ".git")(fname) end, }, docs = { -- cgit v1.2.3-70-g09d2