Skip to main content

CACHED_BUFFER_PATH

Constant CACHED_BUFFER_PATH 

Source
const CACHED_BUFFER_PATH: LocalKey<RefCell<Option<(i32, Option<String>)>>>;
Expand description

Cached (buffer_handle, relative_path) to avoid recomputing the buffer path on every CursorMoved event. Automatically invalidated when the active buffer handle changes (e.g. on BufEnter).