diff options
Diffstat (limited to 'lsp/flow.lua')
| -rw-r--r-- | lsp/flow.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lsp/flow.lua b/lsp/flow.lua new file mode 100644 index 00000000..3fe5d78f --- /dev/null +++ b/lsp/flow.lua @@ -0,0 +1,18 @@ +---@brief +--- +---https://flow.org/ +-- https://github.com/facebook/flow +-- +-- See below for how to setup Flow itself. +-- https://flow.org/en/docs/install/ +-- +-- See below for lsp command options. +-- +-- ```sh +-- npx flow lsp --help +-- ``` +return { + cmd = { 'npx', '--no-install', 'flow', 'lsp' }, + filetypes = { 'javascript', 'javascriptreact', 'javascript.jsx' }, + root_markers = { '.flowconfig' }, +} |
