fix: fixes projections improperly saving window size

Also removed fzf-lua-projections.
main
Sofus Albert Høgsbro Rose 2025-02-19 11:59:22 +01:00
parent d0f06687d1
commit 7afef542c2
Signed by: so-rose
GPG Key ID: AD901CB0F3701434
3 changed files with 12 additions and 18 deletions

View File

@ -5,16 +5,11 @@
"conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" }, "conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" },
"flatten.nvim": { "branch": "main", "commit": "b17a3e65c2e4e2ecd1345a2d08435e80f982c4a6" }, "flatten.nvim": { "branch": "main", "commit": "b17a3e65c2e4e2ecd1345a2d08435e80f982c4a6" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"fzf-lua": { "branch": "main", "commit": "e3fefd97875827e47dc4bbf1074ee464b2d8e6a8" },
"fzf-lua-projections.nvim": { "branch": "main", "commit": "411672ab6f7c38d3a4a51916fda1a01c1618ae04" },
"gitsigns.nvim": { "branch": "main", "commit": "9b36d497495436c135659902054ee637e0ba6021" }, "gitsigns.nvim": { "branch": "main", "commit": "9b36d497495436c135659902054ee637e0ba6021" },
"hererocks": { "branch": "master", "commit": "c9c5444dea1e07e005484014a8231aa667be30b6" },
"image.nvim": { "branch": "master", "commit": "7704e1d03d952393774dc7d00a98d8e127086ba4" },
"img-clip.nvim": { "branch": "main", "commit": "5ded6f468d633ccfb315905fe8901d6c95ae8f29" }, "img-clip.nvim": { "branch": "main", "commit": "5ded6f468d633ccfb315905fe8901d6c95ae8f29" },
"lazy.nvim": { "branch": "main", "commit": "f15a93907ddad3d9139aea465ae18336d87f5ce6" }, "lazy.nvim": { "branch": "main", "commit": "f15a93907ddad3d9139aea465ae18336d87f5ce6" },
"lsp_lines.nvim": { "branch": "main", "commit": "a92c755f182b89ea91bd8a6a2227208026f27b4d" }, "lsp_lines.nvim": { "branch": "main", "commit": "a92c755f182b89ea91bd8a6a2227208026f27b4d" },
"mdmath.nvim": { "branch": "main", "commit": "699acb27fd34bfdf92a43ce0abdd17f0c7a948fe" }, "mdmath.nvim": { "branch": "main", "commit": "699acb27fd34bfdf92a43ce0abdd17f0c7a948fe" },
"mini.files": { "branch": "main", "commit": "0db8f49088bcefff23c5cb8498a6c94e46a45a8e" },
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" }, "molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
"nabla.nvim": { "branch": "master", "commit": "27a6ea9ed7452bb9e0b19eb0942b5bcf7d051b2f" }, "nabla.nvim": { "branch": "master", "commit": "27a6ea9ed7452bb9e0b19eb0942b5bcf7d051b2f" },
"neotest": { "branch": "master", "commit": "d66cf4e05a116957f0d3a7755a24291c7d1e1f72" }, "neotest": { "branch": "master", "commit": "d66cf4e05a116957f0d3a7755a24291c7d1e1f72" },

View File

@ -1,15 +1,21 @@
-- See https://neovide.dev/configuration.html -- See https://neovide.dev/configuration.html
vim.o.guifont = 'Hack Nerd Font Mono FC Ligatured:h14' vim.o.guifont = 'Hack Nerd Font Mono:h14'
vim.g.neovide_theme = 'auto' vim.g.neovide_theme = 'auto'
vim.g.neovide_transparency = 0.93 vim.g.neovide_transparency = 0.94
vim.g.neovide_scroll_animation_length = 0.1 vim.g.neovide_scroll_animation_length = 0.1
vim.g.neovide_scroll_animation_far_lines = 1 vim.g.neovide_scroll_animation_far_lines = 1
vim.g.neovide_hide_mouse_when_typing = true vim.g.neovide_hide_mouse_when_typing = true
vim.g.neovide_cursor_animation_length = 0.08 vim.g.neovide_cursor_animation_length = 0.06
vim.g.neovide_cursor_vfx_mode = 'wireframe' vim.g.neovide_cursor_vfx_mode = 'wireframe'
vim.g.neovide_cursor_trail_size = 0.15 vim.g.neovide_cursor_trail_size = 0.1
vim.g.neovide_scale_factor = 0.8
--vim.g.neovide_unlink_border_highlights = true --vim.g.neovide_unlink_border_highlights = true
--vim.g.neovide_refresh_rate = 40 --vim.g.neovide_refresh_rate = 40
--vim.g.neovide_refresh_rate_idle = 5 --Doesn't seem to have wayland support --vim.g.neovide_refresh_rate_idle = 5 --Doesn't seem to have wayland support
vim.keymap.set({'i', 'c'}, '<C-S-V>', '<c-r>+')
vim.g.neovide_remember_window_size = true

View File

@ -35,13 +35,6 @@ return {
commit = '889914169fa1f5c00fb8659653b5a8330fb223e6', commit = '889914169fa1f5c00fb8659653b5a8330fb223e6',
lazy = true, lazy = true,
--dependencies = {
-- {
-- 'nyngwang/fzf-lua-projections.nvim',
-- commit = '411672ab6f7c38d3a4a51916fda1a01c1618ae04',
-- },
--},
keys = { keys = {
{ {
'<leader>sp', '<leader>sp',
@ -72,7 +65,7 @@ return {
}, },
init = function() init = function()
vim.opt.sessionoptions = 'blank,buffers,folds,globals,help,localoptions,resize,tabpages,terminal' vim.opt.sessionoptions = 'blank,buffers,folds,globals,help,localoptions,tabpages,terminal'
--#################### --####################
--# - Store Session on Close Vim --# - Store Session on Close Vim
@ -82,7 +75,7 @@ return {
}) })
--#################### --####################
--# - Store Session on Timer --# - Store Session when Saving Any Buffer
--#################### --####################
vim.api.nvim_create_autocmd({ 'BufWritePre' }, { vim.api.nvim_create_autocmd({ 'BufWritePre' }, {
callback = store_session, callback = store_session,