dag / vim-fish

Vim support for editing fish scripts
MIT License
432 stars 59 forks source link

Use `shiftwidth()` instead of `&shiftwidth` #23

Closed ghost closed 6 years ago

ghost commented 10 years ago

The shiftwidth option can be set to 0, in which case the value of tabstop is used instead. In order to always set the correct value for shiftwidth, the Vim docs advise the use of the shiftwidth() function.