fix(startup): fix multi-splash, remove stale session manager
This commit is contained in:
parent
3b78c4b65d
commit
e6be670294
12
.nvimlog
12
.nvimlog
|
|
@ -1,12 +0,0 @@
|
|||
WRN 2026-02-08T10:26:22.500 ?.251198 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.251198.0
|
||||
WRN 2026-02-08T10:27:17.510 ?.252159 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.252159.0
|
||||
WRN 2026-02-08T10:27:27.437 ?.252367 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.252367.0
|
||||
WRN 2026-02-08T12:08:26.579 ?.359867 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.359867.0
|
||||
WRN 2026-02-08T12:10:44.180 ?.364737 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.364737.0
|
||||
ERR 2026-02-08T12:10:44.218 ?.364737 pty_proc_spawn:186: forkpty failed: Permission denied
|
||||
WRN 2026-02-08T12:18:41.628 ?.381522 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.381522.0
|
||||
WRN 2026-02-08T16:12:49.348 ?.515879 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.515879.0
|
||||
WRN 2026-02-08T16:33:59.951 ?.543624 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.543624.0
|
||||
WRN 2026-02-08T16:57:38.954 ?.571806 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.571806.0
|
||||
WRN 2026-02-08T19:51:48.962 ?.702813 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.702813.0
|
||||
WRN 2026-02-08T19:51:48.968 ?.702844 server_start:199: Failed to start server: operation not permitted: /run/user/1000/nvim.702844.0
|
||||
8
init.lua
8
init.lua
|
|
@ -117,10 +117,10 @@ vim.schedule(function()
|
|||
vim.o.clipboard = 'unnamedplus'
|
||||
end)
|
||||
|
||||
-- Default to 4-space indentation unless overridden by filetype/plugins
|
||||
vim.o.tabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.softtabstop = 4
|
||||
-- Default to 2-space indentation unless overridden by filetype/plugins
|
||||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.expandtab = true
|
||||
|
||||
-- Save undo history
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ return {
|
|||
vim.g.mkdp_auto_start = 0
|
||||
vim.g.mkdp_auto_close = 1
|
||||
vim.g.mkdp_refresh_slow = 0
|
||||
vim.g.mkdp_browser = 'google-chrome-stable'
|
||||
vim.g.mkdp_filetypes = { 'markdown' }
|
||||
end,
|
||||
keys = {
|
||||
|
|
|
|||
|
|
@ -27,22 +27,4 @@ return {
|
|||
desc = '[W]orkspace [D]isable session save',
|
||||
},
|
||||
},
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd('VimEnter', {
|
||||
group = vim.api.nvim_create_augroup('persistence-auto-restore', { clear = true }),
|
||||
callback = function()
|
||||
if vim.fn.argc(-1) > 0 then
|
||||
return
|
||||
end
|
||||
|
||||
local ignored = { gitcommit = true, gitrebase = true }
|
||||
if ignored[vim.bo.filetype] then
|
||||
return
|
||||
end
|
||||
|
||||
require('persistence').load()
|
||||
end,
|
||||
nested = true,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue