igankevich / mesonic

Mesonic: A Vim plugin for Meson build system
48 stars 7 forks source link

Use shiftwidth() instead of &shiftwidth if available #9

Closed tbodt closed 5 years ago

tbodt commented 5 years ago

&shiftwidth can be zero which means &tabstop should be used instead. Newer versions of vim include a shiftwidth() function that will automatically calculate this.

igankevich commented 5 years ago

Thanks! Did not know about that feature.