neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c67248988b8685a894128cfcd8c3629cc7ff1886
parent c78e276881eb94aae749a6832c39bbc3622e4440
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 20 Feb 2026 09:17:54 +0800

vim-patch:342ae5f: runtime(progress): Use setlocal for expandtab

The Progress syntax file gained `set expandtab` in 4c3f536f4 (updated
for version 7.0d01, 2006-04-11). The Progress language itself doesn't
distinguish between tabs and spaces for indentation, so this seems like
something that should be left to user preference; but the setting is
accompanied by the comment "The Progress editor doesn't cope with tabs
very well", so there may be reason to keep it.

However, using `set` means that any new buffers created after editing a
Progress file will also have `expandtab` turned on, which is likely
contrary to a user's expectations. We should use `setlocal` instead to
avoid this.

closes: vim/vim#19458

https://github.com/vim/vim/commit/342ae5f8aa612179f9390c21a8129a393a995b1a

Co-authored-by: Daniel Smith <daniel@rdnlsmith.com>

Diffstat:
Mruntime/syntax/progress.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/syntax/progress.vim b/runtime/syntax/progress.vim @@ -9,7 +9,7 @@ " Chris Ruprecht <chrisSPAXY@ruprecht.org> " Mikhail Kuperblum <mikhailSPAXY@whasup.com> " John Florian <jflorianSPAXY@voyager.net> -" Last Change: Jul 23 2024 +" Last Change: Feb 18 2026 " quit when a syntax file was already loaded if exists("b:current_syntax") @@ -22,7 +22,7 @@ set cpo&vim setlocal iskeyword=@,48-57,_,-,!,#,$,% " The Progress editor doesn't cope with tabs very well. -set expandtab +setlocal expandtab syn case ignore