-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use cache for outdated rocks and trigger on more events
- Loading branch information
Showing
8 changed files
with
96 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
---@mod rocks-edit.config rocks-edit.nvim configuration | ||
--- | ||
---@brief [[ | ||
---You can configure rocks-edit.nvim using a `[edit]` table in your rocks.toml. | ||
--- | ||
---Example: | ||
--->toml | ||
--- [edit.builtin_sources] | ||
--- unsynced = true | ||
--- updated = true | ||
--- | ||
--- [edit] | ||
--- events = [ "TextChanged", "BufWritePost" ] | ||
---< | ||
--- | ||
---@brief ]] | ||
|
||
---@class rocks-edit.Config | ||
--- | ||
---A list of module paths to invoke that act as sources for `rocks-edit.nvim`. | ||
---@field builtin_sources table<builtin_source, boolean> | ||
--- | ||
---@alias builtin_source | ||
---| "unsynced" | ||
---| "updates" | ||
--- | ||
---A list of events that trigger a refresh. | ||
---@field events string[] | ||
|
||
error("Cannot require a meta module") | ||
|
||
local M = {} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters