Add some more actions

This commit is contained in:
Zachary Yedidia
2018-09-03 16:54:56 -04:00
parent 47c899ae46
commit cd229c1f5b
4 changed files with 62 additions and 2 deletions

View File

@@ -391,3 +391,10 @@ func (b *Buffer) UpdateRules() {
}
}
}
func (b *Buffer) IndentString(tabsize int) string {
if b.Settings["tabstospaces"].(bool) {
return Spaces(tabsize)
}
return "\t"
}