m4xshen / hardtime.nvim

Establish good command workflow and quit bad habit
MIT License
1.37k stars 26 forks source link

Semi-Freeze on start #108

Closed SteveWolligandt closed 2 weeks ago

SteveWolligandt commented 2 weeks ago

Describe the bug Neovim is frozen after start. When hitting Ctrl+C or : I am getting the following error and I can use neovim as normal.

Error executing  vim.on_key Lua callback: vim/_editor.lua:0: Error executing 'on_key' with ns_ids '12'
    Messages: Vim:E1174: String required for argument 1                                               
stack traceback:                                                                                      
  [C]: in function 'error'                                                                            
  vim/_editor.lua: in function <vim/_editor.lua:0>                                                    

Not sure if it interferes with any other plugin.

Config options Using lazy I have this

return {                                                              
  'm4xshen/hardtime.nvim',
   dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
   opts = {},
 }

To Reproduce Just open neovim.

Expected behavior No freeze :)

Additional context This is the list of plugins I am using

barbar.lua
comment.lua
dashboard-nvim.lua
dressing.lua
gitgraph.lua
gitsigns.lua
glance.lua
hardtime.lua
hop.lua
lazygit.lua
lsp-kind.lua
lualine.lua
luarocks.lua
luasnip.lua
mason.lua
navigator.lua
neodev.lua
neoformat.lua
neotree.lua
noice.lua
notify.lua
numbertoggle.lua
nvim-cmp.lua
nvim-lspconfig.lua
nvim-treesitter.lua
oil.lua
overseer.lua
rainbow_csv.lua
symbols-outline.lua
telescope.lua
todo-comments.lua
toggleterm.lua
tokyonight.lua
undotree.lua
vim-fugitive.lua
vim-illuminate.lua
which-key.lua
m4xshen commented 2 weeks ago

Hi @SteveWolligandt, what's your Neovim version?

SteveWolligandt commented 2 weeks ago
NVIM v0.10.0-dev-2451+g8b4e26915
Build type: RelWithDebInfo
LuaJIT 2.1.1707061634
SteveWolligandt commented 2 weeks ago

I just upgraded to

NVIM v0.11.0-dev-662+gc0a8abf18
Build type: Release
LuaJIT 2.1.1724512491

And now the error is gone