Skip to content

incorrect cursor position with custom template. #94

@evolify

Description

@evolify

Are you using "tree-sitter" branch?

No

Describe the bug

When I use the template '* TODO %? %u', the cursor in the end of the line, not between TODO and date as expected.

Steps to reproduce

  1. set agenda template: T = { description = 'Todo', template = '* TODO %? %u', target = '~/org/todo.org' },
  2. type leaderoc > T

Expected behavior

Cursor between TODO and date

Emacs functionality

No response

Screenshots and recordings

No response

OS / Distro

macOS 11.0.1

Neovim version/commit

0.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions