For example, https://github.com/vim/vim/blob/b8b7df29c418b93fa3d8607ae22f10701fa168d6/runtime/syntax/progress.vim#L25 should be setlocal expandtab.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
This should ideally go via the syntax file maintainer please.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
This should ideally go via the syntax file maintainer please.
How? E-mail to the maintainer? Isn't it easier to just change the file in this repo, or someone "assigns" to the maintainer?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yes, that is the intended flow: https://github.com/vim/vim/blob/master/CONTRIBUTING.md#syntax-indent-and-other-runtime-files
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Ok. @rdnlsmith Please fix this.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@agguser The expandtab setting is always local to the buffer. You can see this in the help files, next to the setting: :help 'expandtab'. You can also try it yourself. Setting expandtab in one buffer does not set it in other buffers.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Setting expandtab in one buffer does not set it in other buffers.
That's true if the other buffer is already open, but if I run :set expandtab in one buffer and then open a new buffer, the new buffer will have expandtab turned on as well. If I use :setlocal expandtab, then the new buffer has noexpandtab.
I can see how that could be annoying. I think I should have time to send a patch this evening.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
That's surprising to me, it looks like "expandtab" is working like a global-local option, but it's documented to be "local to buffer" instead of "global or local to buffer" (e.g. :help 'findfunc')? Or maybe there's some other mechanism I don't know about.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
fixed as of 342ae5f
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()