On 27 May 2015 at 19:05, Kenneth Graunke <kenn...@whitecape.org> wrote:
> If you're using vim, this will give you the correct settings for Mesa:
>
> if has("autocmd")
>     au BufNewFile,BufRead */mesa/* set expandtab tabstop=8 softtabstop=3 
> shiftwidth=3
> endif
>
setlocal is more appropriate than set for this kind of thing (because
it only applies to the current buffer), although I suppose it doesn't
matter that much in practice.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to