From b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a Mon Sep 17 00:00:00 2001 From: anand Date: Wed, 17 Dec 2025 15:57:55 +0530 Subject: Nixos --- nvim/lsp/flow.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 nvim/lsp/flow.lua (limited to 'nvim/lsp/flow.lua') diff --git a/nvim/lsp/flow.lua b/nvim/lsp/flow.lua new file mode 100755 index 0000000..bf91c59 --- /dev/null +++ b/nvim/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' }, +} -- cgit v1.2.3