]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/puppet.micro
Update yaml header
[micro.git] / runtime / syntax / puppet.micro
index 1b29e0e99e273364a74e89bda21b15d815d41390..022c1fc27746a999064c96d56227df9c08960924 100644 (file)
@@ -1,6 +1,6 @@
 ## Nano syntax highlighting for Puppet.
 ##
-syntax "Puppet" "\.pp$"
+syntax "puppet" "\.pp$"
 
 #This goes first, so the normal builtins will override in some classes
 ## Paramerers
@@ -8,14 +8,14 @@ color brightwhite "^[[:space:]]([a-z][a-z0-9_]+)"
 color brightgreen "\$[a-z:][a-z0-9_:]+"
 
 ## List of built in types, also catches defines
-color yellow "\b(augeas|computer|cron|exec|file|filebucket|group|host|interface|k5login|macauthorization|mailalias|maillist|mcx|mount|nagios_command|nagios_contact|nagios_contactgroup|nagios_host|nagios_hostdependency|nagios_hostescalation|nagios_hostextinfo|nagios_hostgroup|nagios_service|nagios_servicedependency|nagios_serviceescalation|nagios_serviceextinfo|nagios_servicegroup|nagios_timeperiod|notify|package|resources|router|schedule|scheduled_task|selboolean|selmodule|service|ssh_authorized_key|sshkey|stage|tidy|user|vlan|yumrepo|zfs|zone|zpool|anchor)\b"
-color yellow "\b(class|define|if|else|undef|inherits)\b"
+color yellow "\<(augeas|computer|cron|exec|file|filebucket|group|host|interface|k5login|macauthorization|mailalias|maillist|mcx|mount|nagios_command|nagios_contact|nagios_contactgroup|nagios_host|nagios_hostdependency|nagios_hostescalation|nagios_hostextinfo|nagios_hostgroup|nagios_service|nagios_servicedependency|nagios_serviceescalation|nagios_serviceextinfo|nagios_servicegroup|nagios_timeperiod|notify|package|resources|router|schedule|scheduled_task|selboolean|selmodule|service|ssh_authorized_key|sshkey|stage|tidy|user|vlan|yumrepo|zfs|zone|zpool|anchor)\>"
+color yellow "\<(class|define|if|else|undef|inherits)\>"
 color red "(=|-|~|>)"
 
 ## Constants
-color brightblue "(\$|@|@@)?\b[A-Z]+[0-9A-Z_a-z]*"
+color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
 ## Ruby "symbols"
-color magenta "([      ]|^):[0-9A-Z_]+\b"
+color magenta "([      ]|^):[0-9A-Z_]+\>"
 ## Regular expressions
 color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
 ## Shell command expansion is in `backticks` or like %x{this}.  These are