Skip to content

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

Merged
lervag merged 1 commit intolervag:masterfrom
aignas:patch-1
Jul 18, 2021
Merged

Support default 'date' on nvim 0.5 on OSX#173
lervag merged 1 commit intolervag:masterfrom
aignas:patch-1

Conversation

@aignas
Copy link
Copy Markdown
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
Copy Markdown
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