diff options
| author | Github Actions <actions@github> | 2019-11-17 18:03:15 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2019-11-17 18:03:15 +0000 |
| commit | b9a203ef2afde521f08f2207c388eb7e21aa1e2f (patch) | |
| tree | ad7dad2538dc0af62546769323d9bfe0db830d98 | |
| parent | Add support flow language server (#18) (diff) | |
| download | nvim-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.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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 |
