Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add patching of vim.cmd so we can use it in tests * Work around orgmode loading file failing and resolving false instead of an error * Fix missing reject call in database loader's load_file; * Implement variety of utility methods in `spec.utils` * Update ui.select-node to take an optional cancel callback * Fix reference to cursor not using window * Refactor core.ui.select to fix filtered_items type * Add on_ready callback to core.ui.select * Add filtered_choices(), add choose(), add cancel() to core.ui.select * Update origin api to return promises * Add more handlers for origin api resolution * Refactor plugin to be instance instead of global for everything (events, database, api, etc) * Update developer docs * Implement tests across entire suite of plugin * Add RoamDatabaseReset command * Refactor NodeView api into NodeBuffer api, change window -> buffer for node buffer * Update core.ui.buffer to only render when buffer is valid * Update get_buffer_cache from utils to check if buffer valid * Rename roam.evt to roam.events * Update setup to persist database in a blocking fashion when exiting neovim * Add a set_visual_range method to roam.utils * Fix some loader quirks * Expose internal() and internal_sync() on database * Update core.ui.select highlight colors to not have invalid characters * Switch default serialization of database to JSON * Update references to math.huge to use 2^31 instead (was causing serialization issues) * Update all tests using `vim.wait` to leverage configurable setting
- Loading branch information