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

How to select a tree in double tree? #67

Closed
RicardoRamirezR opened this issue Jul 25, 2024 · 3 comments
Closed

How to select a tree in double tree? #67

RicardoRamirezR opened this issue Jul 25, 2024 · 3 comments

Comments

@RicardoRamirezR
Copy link

Hi there,

From #47

<x-settings.nav-link href="{{ route('bookings.stats.by.pet') }}">Speaks</x-settings.nav-link>
____________________________^

The _^ is the cursor position.

Using:

local current_node = ts_utils.get_node_at_cursor()
print(func:type())

prints attribute_value in:

Screenshot 2024-07-25 at 8 22 01 AM

Question: how to use the blade tree instead of html one?

@RicardoRamirezR RicardoRamirezR changed the title Select a tree in double tree [QUESTION] Select a tree in double tree Jul 25, 2024
@RicardoRamirezR RicardoRamirezR changed the title [QUESTION] Select a tree in double tree [QUESTION] How to select a tree in double tree? Jul 25, 2024
@RicardoRamirezR RicardoRamirezR changed the title [QUESTION] How to select a tree in double tree? How to select a tree in double tree? Jul 25, 2024
@EmranMR
Copy link
Owner

EmranMR commented Jul 25, 2024

I am not sure why why that is not working out, it seems to be working for me in Helix. The only issue I have is the Tag Name #62 , which I am yet to tackle, I have some ideas on how to fix it though ;)

image

@calebdw
Copy link
Contributor

calebdw commented Jul 25, 2024

The html is an injected language---whatever api you are using should allow you to get the uninjected vs injected tree

@RicardoRamirezR
Copy link
Author

@calebdw indeed, ignore_injected_langs did the trick

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

No branches or pull requests

3 participants