Skip to content

Commit

Permalink
syntax: update keywords, functions and types. mark deprecations
Browse files Browse the repository at this point in the history
puppet 8 has some new things and some things have disappeared. This
change updates the list of keywords, functions (core and stdlib) and
types, to reflect more modern versions of puppet and stdlib

I've also reworked some of the syntax group -> highlight group links to
have a richer context. For some examples:

* class, node, define and plan are marked as a "Structure" instead of
  "Keyword".
* contain, create_resources, include, hiera_include are marked as
  "Include" directives since they pull in more code
* a new syntax group puppetDeprecated now exists to remove highlighting
  from the deprecated resource types and functions. it should help to
  spot what needs to be changed.

Finally, I've also added the types and functions specific to puppet Bolt
  • Loading branch information
lelutin committed Sep 8, 2024
1 parent df254d0 commit c19c60c
Showing 1 changed file with 202 additions and 118 deletions.
Loading

0 comments on commit c19c60c

Please sign in to comment.