Skip to content

coc-angular does not support 'htmlangular' filetype #78

Description

@joerideg

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 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions