mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.43k stars 411 forks source link

Using shiftwidth() #326

Closed ryunix closed 8 years ago

mattn commented 8 years ago

Thank you

ghost commented 8 years ago

Question about this fix. Fairly new to vim and emmet, so may be dumb question, but where is the function shiftwidth()?

, throws an error, mainly saying Unknown function: shiftwidth Attached a quick screenshot. This is my first time trying emmet out, but I reversed this change to what it was before, and that worked no problem. Am I missing something here? ![screen shot 2016-04-25 at 12 38 58 pm](https://cloud.githubusercontent.com/assets/11829420/14793100/1c1d1838-0ae3-11e6-83b6-2f91009e6902.png)
mattn commented 8 years ago

fixed https://github.com/mattn/emmet-vim/commit/b4b21450f2c89b8abf41aa4bd011c2b27d1c241d

ryunix commented 8 years ago

shiftwidth() is builtin function. (from 7.3.694) I did not think old version, sorry.