Setting for Vue syntax

A vim editor doesn’t have vue syntax.
In this article, I’m ganna write about setting for vue syntax on vim.

First one, please install this plugin.
vim-vue

This is syntaxHighlighter plugin for Vue.js

init.vim

" for dein
call dein#add('posva/vim-vue')

And then, It dependents on npm package.
So please global install bellow packages.

$ sudo npm install -g esctags eslint eslint-plugin-vue

Please open your vue file with vim.

関連記事