iamcco / iamcco/coc-angular

coc-angular does not support 'htmlangular' filetype

Open
#78 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
144
Forks
20
PR merge metrics
No merged PRs in 30d

Description

## Result from CocInfo
## versions

vim version: NVIM v0.11.0-dev
node version: v22.9.0
coc.nvim version: 0.0.82-aacbbcad 2024-11-23 13:34:02 +0800
coc.nvim directory: /home/joeri/.local/share/nvim/lazy/coc.nvim
term: xterm-kitty
platform: linux

## Log of coc.nvim

2024-11-25T10:49:38.862 INFO (pid:199579) [plugin] - coc.nvim initialized with node: v22.9.0 after 235
2024-11-25T10:49:39.001 INFO (pid:199579) [core-watchman] - watchman watching project: /home/joeri/Projects/lab/my-angular-app

## Describe the bug

As indicated [here](https://github.com/dlvandenberg/tree-sitter-angular?tab=readme-ov-file#filetype) Neovim is now detecting file-types for angular and sets a filetype of `htmlangular`. Currently coc-angular looks for `html` or `typescript`, hence the plugins is not activated.

## Reproduce the bug
- Use "the nightly neovim built (or release 0.11.x)"
- Open an angular project
- Attempt to use the coc-angular functionalities in a component template
- Notice the functionality does not work in the template, but works in the typescript code

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.