view runtime/syntax/svg.vim @ 25676:0385bd4411b7 v8.2.3374

patch 8.2.3374: Pyret files are not recognized Commit: https://github.com/vim/vim/commit/eb05d05f8a049b32ba1b992074534ca4763e46b3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 25 17:10:39 2021 +0200 patch 8.2.3374: Pyret files are not recognized Problem: Pyret files are not recognized. Solution: Recognize .arr files as Pyret. (Doug Kearns)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Aug 2021 17:15:05 +0200
parents b9e314fe473f
children
line wrap: on
line source

" Vim syntax file
" Language:	SVG (Scalable Vector Graphics)
" Maintainer:	Vincent Berthoux <twinside@gmail.com>
" File Types:	.svg (used in Web and vector programs)
"
" Directly call the xml syntax, because SVG is an XML
" dialect. But as some plugins base their effect on filetype,
" providing a distinct filetype from xml is better.

if exists("b:current_syntax")
  finish
endif

runtime! syntax/xml.vim
let b:current_syntax = "svg"