Merge remote-tracking branch 'TheDaemoness/patch-1'

This commit is contained in:
Maxime Coste 2021-09-04 09:38:01 +10:00
commit 253dcde976

View File

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