|
|
|
@ -27,7 +27,8 @@ pub struct CursorSettings {
|
|
|
|
|
vfx_opacity: f32,
|
|
|
|
|
vfx_particle_lifetime: f32,
|
|
|
|
|
vfx_particle_density: f32,
|
|
|
|
|
}
|
|
|
|
|
vfx_particle_speed: f32,
|
|
|
|
|
vfx_particle_phase: f32, }
|
|
|
|
|
|
|
|
|
|
pub fn initialize_settings() {
|
|
|
|
|
|
|
|
|
@ -38,6 +39,8 @@ pub fn initialize_settings() {
|
|
|
|
|
vfx_opacity: 200.0,
|
|
|
|
|
vfx_particle_lifetime: 1.2,
|
|
|
|
|
vfx_particle_density: 7.0,
|
|
|
|
|
vfx_particle_speed: 10.0,
|
|
|
|
|
vfx_particle_phase: 1.5,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
register_nvim_setting!("cursor_animation_length", CursorSettings::animation_length);
|
|
|
|
@ -46,6 +49,8 @@ pub fn initialize_settings() {
|
|
|
|
|
register_nvim_setting!("cursor_vfx_opacity", CursorSettings::vfx_opacity);
|
|
|
|
|
register_nvim_setting!("cursor_vfx_particle_lifetime", CursorSettings::vfx_particle_lifetime);
|
|
|
|
|
register_nvim_setting!("cursor_vfx_particle_density", CursorSettings::vfx_particle_density);
|
|
|
|
|
register_nvim_setting!("cursor_vfx_particle_speed", CursorSettings::vfx_particle_speed);
|
|
|
|
|
register_nvim_setting!("cursor_vfx_particle_phase", CursorSettings::vfx_particle_phase);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|