Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update keywords #14

Merged
merged 1 commit into from
May 6, 2020
Merged

Update keywords #14

merged 1 commit into from
May 6, 2020

Conversation

jmooring
Copy link
Contributor

Deletions from support.function.builtin.hugo:

  • where (it already exists in keyword.control.hugo)
  • eq (it already exists in support.function.builtin.gotemplate)
  • printf (it already exists in support.function.builtin.gotemplate)

Additions to support.function.builtin.hugo:

  • anchorize
  • append
  • complement
  • cond
  • div
  • errorf
  • fileExists
  • float
  • group
  • hugo.BuildDate
  • hugo.CommitHash
  • hugo.Environment
  • hugo.Generator
  • hugo.IsProduction
  • hugo.Version
  • lang.Merge
  • lang.NumFmt
  • math.Ceil
  • math.Floor
  • math.Log
  • math.Round
  • math.Sqrt
  • merge
  • mod
  • mul
  • os.Stat
  • path.Base
  • path.Dir
  • path.Ext
  • path.Join
  • path.Split
  • reflect.IsMap
  • reflect.IsSlice
  • strings.HasSuffix
  • strings.Repeat
  • strings.RuneCount
  • strings.TrimLeft
  • strings.TrimPrefix
  • strings.TrimRight
  • strings.TrimSuffix
  • sub
  • symdiff
  • templates.Exists
  • transform.Unmarshal
  • uniq
  • urls.Parse
  • warnf

Formatting:

  • Alphabetized items in keyword.control.hugo to simplify list maintenance.
  • Alphabetized items in support.function.builtin.gotemplate to simplify list maintenance.
  • Alphabetized items in support.function.builtin.hugo to simplify list maintenance.

@budparr
Copy link
Member

budparr commented Apr 20, 2020

I think this looks good. @regisphilibert ?

@regisphilibert
Copy link
Member

I'm really not familiar with the way those keywords are identified, but this looks good yes. I don't think the div keyword could overlap with the HTML tag.

@budparr budparr merged commit 3a17302 into theNewDynamic:master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants