Omochice / tataku-processor-eta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tataku-processor-eta

The processor module using eta template engine.

CURRENTLY THIS PLUGIN IS EXPERIMENTAL

Contents

Dependencies

This plugin needs:

Options

This module has some options.

Predefined variales

When render template string, this module provide some predefined variables.

They are able to be used as it object.

  • content

    String that processed before this module.

  • fletype

    Filetype string of buffer that executed tataku.

  • mode

    Current vim type, "vim" or "nvim".

Samples

let g:tataku_recipes = #{
  \   sample: #{
  \     processor: #{
  \       name: 'eta',
  \       options: #{
  \         type: 'direct',
  \         template: '<%= it.content %> <%= it.filetype =>',
  \       },
  \     }
  \   }
  \ }

About


Languages

Language:TypeScript 100.0%