Skip to content
Discussion options

You must be logged in to vote

The easiest way is:

{{ "{{" }} ... {{ "}}" }}

but you can put more inside the quotes, for example:

merge:
  - command: nvim
    args:
      - -d
      - "{{ "{{ .Source }}" }}"
      - "{{ "{{ .Destination }}" }}"
      - "{{ "{{ .Target }}" }}"

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@budimanjojo
Comment options

@okletzmayr
Comment options

@sandipb
Comment options

@jvtrigueros
Comment options

@twpayne
Comment options

Answer selected by budimanjojo
Comment options

You must be logged in to vote
1 reply
@sandipb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants