Skip to content

Commit

Permalink
api: update ClearAutocmdsOpts for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Sep 30, 2023
1 parent 11fa6b2 commit 7a8b68e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions crates/oxi-api/src/opts/clear_autocmds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::Buffer;
use crate::StringOrInt;

/// Options passed to [`clear_autocmds()`](crate::clear_autocmds).
#[cfg(not(feature = "neovim-nightly"))]
#[derive(Clone, Debug, Default)]
#[repr(C)]
pub struct ClearAutocmdsOpts {
Expand All @@ -14,17 +13,6 @@ pub struct ClearAutocmdsOpts {
pattern: Object,
}

/// Options passed to [`clear_autocmds()`](crate::clear_autocmds).
#[cfg(feature = "neovim-nightly")]
#[derive(Clone, Debug, Default)]
#[repr(C)]
pub struct ClearAutocmdsOpts {
buffer: Object,
event: Object,
group: Object,
pattern: Object,
}

impl ClearAutocmdsOpts {
/// Creates a new [`ClearAutocmdsOptsBuilder`].
#[inline(always)]
Expand Down

0 comments on commit 7a8b68e

Please sign in to comment.