Vim syntax highlighting for Vue.js single-file components with support for pre-processors like Pug, SCSS, and TypeScript.
vim-vue is a Vim plugin that provides syntax highlighting for Vue.js single-file components. It enables proper coloring of HTML, JavaScript, and CSS sections within `.vue` files, along with support for embedded pre-processors like Pug, SCSS, and TypeScript. The plugin helps Vue developers maintain code readability and productivity directly in the Vim editor.
Vim users who develop Vue.js applications and work with single-file components, particularly those who use pre-processors or need integrated linting and commenting support.
Developers choose vim-vue for its focused Vue.js support, performance configurability, and compatibility with popular Vim tooling, offering a lightweight alternative to heavier IDEs while maintaining syntax accuracy.
Syntax Highlight for Vue.js components
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides accurate highlighting for HTML, JavaScript, and CSS sections in .vue files, ensuring clean readability as described in the README's focus on Vue components.
Supports embedded languages like Pug, SCSS, and TypeScript, with configurability to whitelist or detect them on file open for optimized performance.
Allows tuning via g:vue_pre_processors to prevent Vim slowdowns, as detailed in the FAQ, enabling users to balance syntax accuracy with speed.
Works seamlessly with commenting plugins like caw.vim for context-aware commenting and supports linting via Syntastic or ALE with ESLint.
The README includes a warning that the project is not actively maintained, recommending vuejs/language-tools instead, which risks outdated support for newer Vue versions.
For plugins like NERDCommenter, users must write custom Vim script hooks, as shown in the FAQ, adding overhead and potential for errors.
Only ESLint is supported via external configuration with eslint-plugin-vue, lacking built-in integration for other linters or tools.
Without configuration, Vim can slow down due to pre-processor detection, forcing users to manually adjust settings to avoid lag.