Skip to content

Commit

Permalink
Merge branch '3266_puppet_syntax'
Browse files Browse the repository at this point in the history
* 3266_puppet_syntax:
  Ticket 3266: Add puppet manifest syntax support - use .pp extension (was used for Pascal highlighting)
  • Loading branch information
slavaz committed Jan 12, 2015
2 parents 6347de2 + 17dddbb commit 4011bfe
Show file tree
Hide file tree
Showing 3 changed files with 522 additions and 1 deletion.
1 change: 1 addition & 0 deletions misc/syntax/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ SYNTAXFILES = \
povray.syntax \
procmail.syntax \
properties.syntax \
puppet.syntax \
python.syntax \
cython.syntax \
ruby.syntax \
Expand Down
5 changes: 4 additions & 1 deletion misc/syntax/Syntax.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ include makefile.syntax
file (CMakeLists.txt|.\*.cmake)$ CMake
include cmake.syntax

file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
file ..\*\\.(pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
include pascal.syntax

file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram
Expand Down Expand Up @@ -256,5 +256,8 @@ include jal.syntax
file ..\*\\.([lL][kK][rR])$ PIC\slinker\sscript\sfile
include lkr.syntax

file .\*\\.pp$ Puppet\smanifest\sfile
include puppet.syntax

file .\* unknown
include unknown.syntax
Loading

0 comments on commit 4011bfe

Please sign in to comment.