cohama / lexima.vim

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

Correctly specify <CR> mapping in lexima#expand example #78

Closed emilyst closed 5 years ago

emilyst commented 5 years ago

There was a typo preventing the given example from working as provided. This would not occur in the plugin's source code, as it uses lexima#string#to_mappable('<cr>') to transform strings to prevent this issue. However, the example does not use this function, so it needs to be updated.

I chose not to use to use lexima#string#to_mappable in the example in case this API was not meant to be public.

cohama commented 5 years ago

Thanks!