Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(README): Updates the readme with information on the lsp.cmd option #390

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ require("flutter-tools").setup {
virtual_text = true, -- show the highlight using virtual text
virtual_text_str = "■", -- the virtual text character to highlight
},
cmd = {"command", "to", "run", "lsp"}, -- The command to run the dart lsp (e.g. { "/custom/dart/path", "language-server", "--protocol=lsp" })
on_attach = my_custom_on_attach,
capabilities = my_custom_capabilities, -- e.g. lsp_status capabilities
--- OR you can specify a function to deactivate or change or control how the config is created
Expand Down
3 changes: 2 additions & 1 deletion doc/flutter-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ These two keys are two ways of solving the same problem so will conflict if
both are set.

>lua

-- alternatively you can override the default configs
require("flutter-tools").setup {
ui = {
Expand Down Expand Up @@ -308,6 +308,7 @@ both are set.
virtual_text = true, -- show the highlight using virtual text
virtual_text_str = "■", -- the virtual text character to highlight
},
cmd = {"command", "to", "run", "lsp"}, -- The command to run the dart lsp binary (e.g. { "/custom/dart/path", "language-server", "--protocol=lsp" })
on_attach = my_custom_on_attach,
capabilities = my_custom_capabilities, -- e.g. lsp_status capabilities
--- OR you can specify a function to deactivate or change or control how the config is created
Expand Down