nat-418 / boole.nvim

Neovim plugin for toggling booleans, etc.
BSD Zero Clause License
162 stars 6 forks source link

Last line issue #22

Closed Benson9954029 closed 1 year ago

Benson9954029 commented 1 year ago

I come to fix my bug HA HA so sorry! I judge alpha or number (if string.find(line:sub(current_column+1, current_column+1),"[^][a-zA-Z0-9]") then). It will let neovim freeze in last line with out of number and alpha. ex test" So I copy the check end of line into the condition.