summaryrefslogtreecommitdiffstats
path: root/syntax/embeddedpuppet.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-03-01 13:44:50 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-03-01 13:44:50 +0100
commitcc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef (patch)
tree260360b1a32ca19635f8c8884b81fcec9ed51168 /syntax/embeddedpuppet.vim
parent4c10562d2cc9b084518284c49a158558da5180a7 (diff)
downloadvim-polyglot-cc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef.tar.gz
vim-polyglot-cc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef.zip
Update
Diffstat (limited to 'syntax/embeddedpuppet.vim')
-rw-r--r--syntax/embeddedpuppet.vim33
1 files changed, 0 insertions, 33 deletions
diff --git a/syntax/embeddedpuppet.vim b/syntax/embeddedpuppet.vim
deleted file mode 100644
index dad9e1fb..00000000
--- a/syntax/embeddedpuppet.vim
+++ /dev/null
@@ -1,33 +0,0 @@
-if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'syntax/embeddedpuppet.vim')
- finish
-endif
-
-" Vim syntax plugin
-" Language: embedded puppet
-" Maintainer: Gabriel Filion <gabster@lelutin.ca>
-" URL: https://github.com/rodjek/vim-puppet
-" Last Change: 2019-09-01
-
-" quit when a syntax file was already loaded {{{1
-if exists("b:current_syntax")
- finish
-endif
-
-runtime! syntax/sh.vim
-unlet! b:current_syntax
-
-syn include @puppetTop syntax/puppet.vim
-
-syn cluster ePuppetRegions contains=ePuppetBlock,ePuppetExpression,ePuppetComment
-
-syn region ePuppetBlock matchgroup=ePuppetDelimiter start="<%%\@!-\=" end="[=-]\=%\@<!%>" contains=@puppetTop containedin=ALLBUT,@ePuppetRegions keepend
-syn region ePuppetExpression matchgroup=ePuppetDelimiter start="<%=\{1,4}" end="[=-]\=%\@<!%>" contains=@puppetTop containedin=ALLBUT,@ePuppetRegions keepend
-syn region ePuppetComment matchgroup=ePuppetDelimiter start="<%-\=#" end="[=-]\=%\@<!%>" contains=puppetTodo,@Spell containedin=ALLBUT,@ePuppetRegions keepend
-
-" Define the default highlighting.
-
-hi def link ePuppetDelimiter PreProc
-hi def link ePuppetComment Comment
-
-let b:current_syntax = "embeddedpuppet"
-