Stop editorconfig.kak from setting aligntab

This commit is contained in:
TheDaemoness 2021-08-29 11:55:33 -07:00
parent 03c59fd5d3
commit 330515154d

View File

@ -31,11 +31,9 @@ define-command editorconfig-load -params ..1 -docstring "editorconfig-load [file
END {
if (indent_style == "tab") {
print "set-option buffer indentwidth 0"
print "set-option buffer aligntab true"
}
if (indent_style == "space") {
print "set-option buffer indentwidth " indent_size
print "set-option buffer aligntab false"
}
if (indent_size || tab_width) {
print "set-option buffer tabstop " (tab_width ? tab_width : indent_size)