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

Inserting a date in body of lowest headline does not work #303

Closed
Maltimore opened this issue May 25, 2022 · 2 comments
Closed

Inserting a date in body of lowest headline does not work #303

Maltimore opened this issue May 25, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Maltimore
Copy link
Contributor

Describe the bug

Inserting a date in body of lowest headline does not work.

Steps to reproduce

  1. Open an org file with the following content, put cursor at the pipe symbol |:
* a
  |
  1. Insert a date with <leader>oi. or <leader>ois
  2. Observe error: [orgmode] ...k/packer/start/orgmode.nvim/lua/orgmode/org/mappings.lua:824: attempt to index local 'item' (a nil value)

Expected behavior

Date added

Emacs functionality

Date added

Minimal init.lua

Used official minimal_init.lua.

Screenshots and recordings

No response

OS / Distro

ubuntu 20.04, alacritty

Neovim version/commit

0.7+ (master)

Additional context

No response

@Maltimore Maltimore added the bug Something isn't working label May 25, 2022
@kristijanhusak
Copy link
Member

Last line that is empty was not properly parsed. Should be fixed now.

@Maltimore
Copy link
Contributor Author

perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants