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

Add dart lsp config and queries #1250

Merged
merged 4 commits into from
Dec 18, 2021
Merged

Conversation

flukejones
Copy link
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"

@flukejones
Copy link
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
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

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
@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