Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Make the package work with tree-sitter #89

Merged
merged 1 commit into from
Aug 31, 2018
Merged

Conversation

maxbrunsfeld
Copy link
Contributor

Problem

Previously, this package contained a lot of logic that is specific to TextMate scopes: things like finding tag names and attribute names. When we enable Tree-sitter by default, this logic won't work.

Solution

I've added a parallel implementation of the autocomplete provider for Tree-sitter. It shares the logic for finding completions, but has different logic for finding tokens like tag names and attribute tames.

@maxbrunsfeld maxbrunsfeld force-pushed the mb-tree-sitter-compat branch from 8838e30 to 6750fe8 Compare August 31, 2018 21:47
@maxbrunsfeld maxbrunsfeld merged commit 4f03dca into master Aug 31, 2018
@maxbrunsfeld maxbrunsfeld deleted the mb-tree-sitter-compat branch August 31, 2018 22:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant