Mercurial > vim
view runtime/syntax/vue.vim @ 30023:87063bfe81cd v9.0.0349
patch 9.0.0349: filetype of *.sil files not well detected
Commit: https://github.com/vim/vim/commit/be807d582499acbe314ead3891481cba6ca136df
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 1 15:01:25 2022 +0100
patch 9.0.0349: filetype of *.sil files not well detected
Problem: Filetype of *.sil files not well detected.
Solution: Inspect the file contents to guess the filetype.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 01 Sep 2022 16:15:03 +0200 |
parents | 95c23e180022 |
children |
line wrap: on
line source
" Vim syntax file " Language: Vue.js Single File Component " Maintainer: Ralph Giles <giles@thaumas.net> " URL: https://vuejs.org/v2/guide/single-file-components.html " Last Change: 2019 Jul 8 " Quit if a syntax file was already loaded. if exists("b:current_syntax") finish endif " We have a collection of html, css and javascript wrapped in " tags. The default HTML syntax highlight works well enough. runtime! syntax/html.vim