Replies: 1 comment
-
|
🚧 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Created plugin directory
Added
src/plugins/with:mod.rs(declarespub mod syntax;)src/plugins/syntax/mod.rs(contains the moved syntax highlighting code and tests)This establishes a clean, extensible location for future plugins.
Moved syntax code
Shifted all syntax highlighting logic from
src/interfaces/ui/syntax.rstosrc/plugins/syntax/mod.rs, organizing it as a standalone feature.Updated library exports
Added
pub mod plugins;to the end ofsrc/lib.rs, making plugin modules available to the rest of the codebase.Cleaned up UI module
Removed
pub mod syntax;fromsrc/interfaces/ui/mod.rssince syntax handling now lives underplugins.Fixed UI imports
Updated imports in
src/interfaces/ui/widgets.rs:replacing the previous
super::syntaxreference.Adjusted binary usage
Removed redundant
mod agent;,mod core;, etc. fromsrc/main.rsand switched allcrate::references toharper::(e.g.,harper::core::ApiConfig).This ensures the binary properly consumes the shared library instead of duplicating modules.
repo you are looking at https://github.com/harpertoken/harper | next time!
Beta Was this translation helpful? Give feedback.
All reactions