cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
996 stars 46 forks source link

Space rules break abbreviations #27

Closed noahfrederick closed 8 years ago

noahfrederick commented 8 years ago

Since https://github.com/cohama/lexima.vim/commit/5498cff8ebc449600d510cc3d77f6256188938dc insert-mode abbreviations are no longer expanded when typing <Space>. Abbreviations expand as expected by reverting to the previous commit or setting g:lexima_enable_space_rules = 0.

Example

:iabbrev test testxxx
itest foo<Esc>

Result with g:lexima_enable_space_rules = 0:

testxxx foo

Result with g:lexima_enable_space_rules = 1:

test foo
cohama commented 8 years ago

Now I have fixed this issue. Please try.

noahfrederick commented 8 years ago

Confirmed fixed. Thanks.