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

Support default 'date' on nvim 0.5 on OSX #173

Merged
merged 1 commit into from
Jul 18, 2021
Merged

Conversation

aignas
Copy link
Contributor

@aignas aignas commented Jul 18, 2021

Currently attempting to create a monthly summary by pressing <leader>wm leads to an error:

Error detected while processing function wiki#journal#freq[16]..wiki#date#format[1]..<SNR>92_date:
line    5:
E766: Insufficient arguments for printf()

This attempts to work around this by passing the format of the date as a parameter to printf such that it is not attempting to interpret the date format as parameters to printf itself.

Currently attempting to create a monthly summary by pressing `<leader>wm` leads
to an error:
```
Error detected while processing function wiki#journal#freq[16]..wiki#date#format[1]..<SNR>92_date:
line    5:
E766: Insufficient arguments for printf()
```

This attempts to work around this by passing the format of the date  as a
parameter to `printf` such that it is not attempting to interpret the date
format as parameters to `printf` itself.
@lervag lervag merged commit 2c4b3bc into lervag:master Jul 18, 2021
@lervag
Copy link
Owner

lervag commented Jul 18, 2021

Thanks!

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.

2 participants