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/flow.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lua/lspconfig/flow.lua') diff --git a/lua/lspconfig/flow.lua b/lua/lspconfig/flow.lua index 5e0abab3..de2b7984 100644 --- a/lua/lspconfig/flow.lua +++ b/lua/lspconfig/flow.lua @@ -1,14 +1,14 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' +local configs = require "lspconfig/configs" +local util = require "lspconfig/util" configs.flow = { default_config = { - cmd = {"npx", "--no-install", "flow","lsp"}; - filetypes = {"javascript", "javascriptreact", "javascript.jsx"}; - root_dir = util.root_pattern(".flowconfig"); - }; + cmd = { "npx", "--no-install", "flow", "lsp" }, + filetypes = { "javascript", "javascriptreact", "javascript.jsx" }, + root_dir = util.root_pattern ".flowconfig", + }, docs = { - package_json = "https://raw.githubusercontent.com/flowtype/flow-for-vscode/master/package.json"; + package_json = "https://raw.githubusercontent.com/flowtype/flow-for-vscode/master/package.json", description = [[ https://flow.org/ https://github.com/facebook/flow @@ -21,10 +21,10 @@ See below for lsp command options. ```sh npx flow lsp --help ``` - ]]; + ]], default_config = { - root_dir = [[root_pattern(".flowconfig")]]; - }; - }; -}; + root_dir = [[root_pattern(".flowconfig")]], + }, + }, +} -- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2