* autocomplete for partially typed month names, relative dates
* supported formats:
* `now`
* `yesterday`, `today`, `tomorrow` with optional time
* days of week (Monday -> Sunday), with optional `last`/`next` modifier and time
* full dates: month, day, optional year, optional time
* time: am/pm, or 24h format
At Splitgraph we integrated tree-sitter [0] (in WASM) into our Console query editor [1] to introspect the pgSQL query and display the referenced tables in the sidebar for easier comprehension. We have written an article detailing how we got it done, where we evaluated a few existing pgSQL parsers, and talked about the parser features that are vital when using it in a code editor.
I was the lead engineer working on this feature and I'm here to talk more about this feature and answer any related questions you may have.
Hey everyone! In the article [0] I share my approach to using `Either` and `Option` fp-ts containers in React code. I focus on the risks associated with using these values in hook dependency arrays and present workarounds.
I'm curious to learn if/how you use fp-ts in your React code
As for `.map`, I was referring the monadic `.map`, not `Array.prototype.map`. Either way, I agree `.map` is not for side-effects. The article says nothing about side-effects, so I'm not sure where this remark is coming from.
I built it because I missed this feature after moving from Notion to Obsidian[2] and writing my notes in Neovim.
Repository link: https://github.com/Gelio/cmp-natdat/
## Examples
* `@now` -> `2023-10-13 12:38`
* `@tomorrow` -> `2023-10-14`
* `@last Friday 2pm` -> `2023-10-06 14:00`
* `@Oct 8 2021` -> `2021-10-08`
* `@today 14:20` -> `2023-10-13 14:20`
## Features
* autocomplete for partially typed month names, relative dates
* supported formats:
## Installation and setupDescribed in the README[3].
---
[0]: https://github.com/Gelio/cmp-natdat
[1]: https://github.com/hrsh7th/nvim-cmp
[2]: https://obsidian.md/
[3]: https://github.com/Gelio/cmp-natdat/#setup