diff --git a/lua/weeheavy/plugins/smear-cursor.lua b/lua/weeheavy/plugins/smear-cursor.lua index 048ef41..ca1549e 100644 --- a/lua/weeheavy/plugins/smear-cursor.lua +++ b/lua/weeheavy/plugins/smear-cursor.lua @@ -1,23 +1,24 @@ return { - "sphamba/smear-cursor.nvim", + "sphamba/smear-cursor.nvim", + enabled = false, - opts = { - -- Smear cursor when switching buffers or windows. - smear_between_buffers = true, + opts = { + -- Smear cursor when switching buffers or windows. + smear_between_buffers = true, - -- Smear cursor when moving within line or to neighbor lines. - -- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control - smear_between_neighbor_lines = true, + -- Smear cursor when moving within line or to neighbor lines. + -- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control + smear_between_neighbor_lines = true, - -- Draw the smear in buffer space instead of screen space when scrolling - scroll_buffer_space = true, + -- Draw the smear in buffer space instead of screen space when scrolling + scroll_buffer_space = true, - -- Set to `true` if your font supports legacy computing symbols (block unicode symbols). - -- Smears will blend better on all backgrounds. - legacy_computing_symbols_support = false, + -- Set to `true` if your font supports legacy computing symbols (block unicode symbols). + -- Smears will blend better on all backgrounds. + legacy_computing_symbols_support = false, - -- Smear cursor in insert mode. - -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. - smear_insert_mode = true, - }, + -- Smear cursor in insert mode. + -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. + smear_insert_mode = true, + }, } diff --git a/lua/weeheavy/plugins/snipe.lua b/lua/weeheavy/plugins/snipe.lua index bb83c61..f1a7515 100644 --- a/lua/weeheavy/plugins/snipe.lua +++ b/lua/weeheavy/plugins/snipe.lua @@ -22,13 +22,18 @@ return { }, ui = { position = "topright", + -- position = "cursor", + open_win_override = { + -- title = "i can haz file?", + border = "rounded", + }, + preselect_current = true, }, navigate = { cancel_snipe = "q", - -- Close the buffer under the cursor - -- PR not merged yet: https://github.com/leath-dub/snipe.nvim/pull/13 - -- NOTE: Make sure you don't use the character below on your dictionary close_buffer = "d", + open_vsplit = "V", + open_split = "X", }, }) end, diff --git a/lua/weeheavy/plugins/treesitter.lua b/lua/weeheavy/plugins/treesitter.lua index b136623..8246fe4 100644 --- a/lua/weeheavy/plugins/treesitter.lua +++ b/lua/weeheavy/plugins/treesitter.lua @@ -48,6 +48,9 @@ return { "editorconfig", "http", "make", + "toml", + "latex", + "sql", }, incremental_selection = { enable = true,