Skip to content

Add dart lsp config and queries - #1250

Merged
archseer merged 4 commits into
helix-editor:masterfrom
flukejones:master
Dec 18, 2021
Merged

Add dart lsp config and queries#1250
archseer merged 4 commits into
helix-editor:masterfrom
flukejones:master

Conversation

@flukejones

Copy link
Copy Markdown
Contributor

Add basic LSP config for dart. The queries are from:
https://github.com/theHamsta/nvim-treesitter/blob/master/queries/dart/highlights.scm

The setup requires that dart be in the users path, such as:

export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH"

Comment thread runtime/queries/dart/highlights.scm Outdated
@flukejones

Copy link
Copy Markdown
Contributor Author

I think it's nearly there. I'm a bit clueless about some of the lisp though.

@flukejones
flukejones force-pushed the master branch 2 times, most recently from 4c1d9a0 to 56050d1 Compare December 12, 2021 08:06
@flukejones

Copy link
Copy Markdown
Contributor Author

This is probably the best I can get it. I'll work on indents and other things as soon as I figure out how they work and submit a new PR (for those changes. This current PR can be merged).

Screenshot from 2021-12-12 21-03-44

Screenshot from 2021-12-12 21-07-15

Comment thread runtime/queries/dart/highlights.scm
Comment thread runtime/queries/dart/locals.scm
The setup requires that dart be in the users path, such as:
```
export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH"
```

Refactor the dart highlights
Comment thread runtime/queries/dart/locals.scm
Comment thread languages.toml
@archseer
archseer merged commit edf3c70 into helix-editor:master Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants