decreaseIndentPattern 无效

decreaseIndentPattern has no effect

我正在尝试为一种新语言创建 TextMate 包,但遇到了 decreaseIndentPattern 的问题。它似乎没有任何效果,即使是一个微不足道的例子:

increaseIndentPattern = 'start';
decreaseIndentPattern = 'end';

我已正确设置范围,同一文件中的其他设置也有效(包括 increaseIndentPattern)。我错过了什么吗?

发现要对基于文本的文件启用缩进校正(我的范围以 text 开头),还需要以下内容:

disableIndentCorrections = :false;