diff --git a/crates/oxi-api/src/opts/set_extmark.rs b/crates/oxi-api/src/opts/set_extmark.rs index f9e13c7b..28ed6d95 100644 --- a/crates/oxi-api/src/opts/set_extmark.rs +++ b/crates/oxi-api/src/opts/set_extmark.rs @@ -4,7 +4,6 @@ use crate::trait_utils::StringOrListOfStrings; use crate::types::{ExtmarkHlMode, ExtmarkVirtTextPosition}; /// Options passed to [`Buffer::set_extmark()`](crate::Buffer::set_extmark). -#[cfg(not(feature = "neovim-nightly"))] #[derive(Clone, Debug, Default)] #[repr(C)] pub struct SetExtmarkOpts { @@ -38,41 +37,6 @@ pub struct SetExtmarkOpts { cursorline_hl_group: Object, } -/// Options passed to [`set_extmark()`](crate::set_extmark). -#[cfg(feature = "neovim-nightly")] -#[derive(Clone, Debug, Default)] -#[repr(C)] -pub struct SetExtmarkOpts { - id: Object, - /// The docs don't mention this but it's there. - end_line: Object, - end_row: Object, - end_col: Object, - hl_group: Object, - virt_text: Object, - virt_text_pos: Object, - virt_text_win_col: Object, - virt_text_hide: Object, - hl_eol: Object, - hl_mode: Object, - ephemeral: Object, - priority: Object, - right_gravity: Object, - end_right_gravity: Object, - virt_lines: Object, - virt_lines_above: Object, - virt_lines_leftcol: Object, - strict: Object, - sign_text: Object, - sign_hl_group: Object, - number_hl_group: Object, - line_hl_group: Object, - cursorline_hl_group: Object, - conceal: Object, - spell: Object, - ui_watched: Object, -} - #[derive(Clone, Default)] pub struct SetExtmarkOptsBuilder(SetExtmarkOpts);