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 improvement/Quesion: How the ‘custom tag’ supposed to work? #45

Closed
jaandrle opened this issue Nov 23, 2021 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@jaandrle
Copy link

Hi,
I’m trying to register custom elements tags. My naive approach was to create coc-settings.json in projects root folder with this content

{
    "html.experimental.custom.tags": [
        "build/source/core/docs/globalComponents.json"
    ]
}

…so my root folder looks like:

build/
coc-settings.json
…

I have also tried to add this in ~/.vim/coc-settings.json and different path formats (full path, …). But, nothing seems to work.

tech. specs.:

@chemzqm chemzqm added the enhancement New feature or request label Dec 21, 2021
@chemzqm
Copy link
Member

chemzqm commented Dec 21, 2021

Seems your data is used for html.customData.desc which not supported by coc-html by now.

@chemzqm
Copy link
Member

chemzqm commented Dec 22, 2021

Fixed by b5f4aea, use html.customData configuration instead and the filepath should be relative to your workspace folder.

@chemzqm chemzqm closed this as completed Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants