How to detect filetypes in Vue single-file components?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • vim-jsdoc

    Generate JSDoc to your JavaScript code.

    Fair question. Ultimately, I'd like to use something like vim-jsdoc to generate JSDoc comments for the script section of my Vue SFC's. This won't work in this case, because the filetype is not correct. I can of course change that using this approach, but this will not cover the other sections of the file appropriately (namely the template should be html and styles should be css).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • vim-vue

    Syntax Highlight for Vue.js components

    I've been using posva/vim-vue for as long as I can remember and been working great for me.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What do you use to write?

    2 projects | /r/writing | 15 May 2023
  • Can't get syntax highlighting to work correctly.

    3 projects | /r/neovim | 25 Feb 2023
  • Is there a way to fix the markdown renderer in docs/signature_help? it seems to render incorrectly? (Or I don't know how markdown works 😅 )

    1 project | /r/neovim | 15 May 2022
  • coc-tsserver errors on all Vue files on Nuxt project

    1 project | /r/neovim | 2 Jan 2022
  • Some front-end developers here?

    19 projects | /r/vim | 11 Jan 2021