mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-22 00:37:12 +09:00
Add some more actions
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user