aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2019-11-17 18:03:15 +0000
committerGithub Actions <actions@github>2019-11-17 18:03:15 +0000
commitb9a203ef2afde521f08f2207c388eb7e21aa1e2f (patch)
treead7dad2538dc0af62546769323d9bfe0db830d98
parentAdd support flow language server (#18) (diff)
downloadnvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar.gz
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar.bz2
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar.lz
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar.xz
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.tar.zst
nvim-lspconfig-b9a203ef2afde521f08f2207c388eb7e21aa1e2f.zip
[docgen] Update README.md
skip-checks: true
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index aa79ad5c..1347ea6f 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ Implemented language servers:
- [ccls](https://github.com/neovim/nvim-lsp#ccls)
- [clangd](https://github.com/neovim/nvim-lsp#clangd)
- [elmls](https://github.com/neovim/nvim-lsp#elmls)
+- [flow](https://github.com/neovim/nvim-lsp#flow)
- [gopls](https://github.com/neovim/nvim-lsp#gopls)
- [pyls](https://github.com/neovim/nvim-lsp#pyls)
- [rls](https://github.com/neovim/nvim-lsp#rls)
@@ -274,6 +275,33 @@ nvim_lsp#setup("elmls", {config})
settings = {}
```
+## flow
+
+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
+npm run flow lsp -- --help
+```
+
+
+```lua
+nvim_lsp.flow.setup({config})
+nvim_lsp#setup("flow", {config})
+
+ Default Values:
+ cmd = { "npm", "run", "flow", "lsp" }
+ filetypes = { "javascript", "javascriptreact", "javascript.jsx" }
+ log_level = 2
+ root_dir = root_pattern(".flowconfig")
+ settings = {}
+```
+
## gopls
https://github.com/golang/tools/tree/master/gopls