diff options
author | pommicket <pommicket@gmail.com> | 2023-08-04 23:07:27 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-04 23:07:27 -0400 |
commit | fa4c4fcb7f215dd2d63318c3aef6dd0794a44548 (patch) | |
tree | 92c10f429f83af03157c1a426e72de3e2229655a /ted.h | |
parent | 49ab483be3e7af88a3932a43f222aa42cacd3515 (diff) |
cache buffer settings index
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -413,8 +413,9 @@ typedef struct { u32 nlines; /// capacity of \ref lines u32 lines_capacity; - /// cached tab width, updated every frame - u8 tab_width; + + /// cached settings index (into ted->all_settings), or -1 if has not been computed yet + i32 settings_idx; /// which LSP this document is open in LSPID lsp_opened_in; |