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

Coc-html doesn't work in htmldjango filetypes #604

Closed
monkoose opened this issue Mar 27, 2019 · 3 comments
Closed

Coc-html doesn't work in htmldjango filetypes #604

monkoose opened this issue Mar 27, 2019 · 3 comments

Comments

@monkoose
Copy link
Contributor

Result from CocInfo

versions

vim version: NVIM v0.3.4
node version: v8.9.0
coc.nvim version: 0.0.62
term: xterm-termite
platform: linux

Error messages

Output channel: snippets

[Error 21:51:20] Convert regex error for: (^|(?<=\W)).$
[Error 21:51:21] Convert regex error for: li(st)? (?\d+)$
[Error 21:51:21] Convert regex error for: ol(st)? (?\d+)$

Describe the bug
Seems like coc-html doesn't work in htmldjano filetypes.
I added this to my CocConfig, but nothing happens.

{
  "html.filetypes": [
    "html",
    "htmldjango",
    "handlebars",
    "razor"
  ],
}

Am i doing something wrong or it is bug?

@chemzqm
Copy link
Member

chemzqm commented Mar 27, 2019

You have to use filetype map, checkout g:coc_filetype_map

@chemzqm chemzqm closed this as completed Mar 27, 2019
@monkoose
Copy link
Contributor Author

This actually made coc-html work, but at the same time removed DJANGO TEMPLATES snippets from the completion list.

@chemzqm
Copy link
Member

chemzqm commented Mar 27, 2019

Need fix with cco-snippets.

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

2 participants