Fix indent char styling

Closes #598
This commit is contained in:
Zachary Yedidia 2017-03-27 11:45:24 -04:00
parent 2e6cbcb362
commit 47fd1475b5
3 changed files with 11 additions and 4 deletions

View file

@ -136,6 +136,13 @@ func (c *CellView) Draw(buf *Buffer, top, height, left, width int) {
if viewCol >= 0 {
c.lines[viewLine][viewCol].drawChar = indentchar
c.lines[viewLine][viewCol].width = width
indentStyle := curStyle
if group, ok := colorscheme["indent-char"]; ok {
indentStyle = group
}
c.lines[viewLine][viewCol].style = indentStyle
}
for i := 1; i < width; i++ {

View file

@ -800,7 +800,7 @@ func runtimeColorschemesSolarizedTcMicro() (*asset, error) {
return a, nil
}
var _runtimeColorschemesSolarizedMicro = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x92\x51\x8e\xf3\x20\x0c\x84\xdf\xff\x53\x20\x9e\x9b\xde\xc9\xc0\x34\x45\x21\x26\x32\x46\xfd\x73\xfb\x15\x4a\xb7\xbb\x34\xa8\xfb\x86\x34\x9f\x67\x60\xb0\xcf\x29\xcb\x94\x22\x2f\xc6\xe7\x75\x05\xab\xb1\x2e\xa7\x60\x9c\xc4\xf9\xae\xb3\x00\x6c\xff\x75\x14\x17\xa5\x86\xf9\x9d\x7a\x29\x06\xb0\xc6\x5b\x84\x18\xeb\x52\x45\x27\x16\x25\xc5\xe1\x7f\x36\x2d\xfb\xea\x72\x1a\x29\x9b\x60\x93\xec\xbb\x4b\x09\x42\xc7\xe8\xbe\xc1\xd8\x1d\x29\xe5\x47\x6f\xbb\xc1\x47\x4a\xc6\xbe\x4f\x54\x0e\x90\x14\x19\xc1\xd8\x95\x66\xb0\x52\xa7\x43\x24\xcb\xe7\xcc\x1c\xf2\x13\x18\x19\xb4\xd7\xd6\xd2\x12\x5a\x15\xe4\x97\xcb\x61\x73\xaa\x45\xc9\x39\x92\x3f\xa0\xc8\xad\xd9\xc9\xdf\x5f\x64\x27\xb7\x98\x89\xeb\xea\x20\xe7\xcf\xbb\x9c\x79\x5f\x45\x9a\xdf\xe7\xb9\x80\x1b\xd5\xa4\xdd\xe4\x5c\x55\x21\xd3\x77\x3d\xbf\xee\xfc\xde\xcf\x93\x7c\x90\x70\xe4\xd9\xd8\x17\x35\xf4\xf5\x55\xca\x71\xc6\xe8\x81\xc7\xd1\xe7\x54\x57\x1e\xe9\x6d\x01\xae\xf8\xaf\xe0\xd0\x7e\x74\x94\x70\x6c\xd8\xd5\x09\xf9\x05\x5a\x7e\xa0\xaf\x00\x00\x00\xff\xff\x9a\x48\xf4\x3c\x01\x03\x00\x00")
var _runtimeColorschemesSolarizedMicro = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x92\x51\x6e\xc3\x20\x10\x44\xff\x7b\x0a\xe4\xef\x38\x77\x5a\x60\xe2\xa0\xc0\x62\x2d\x8b\x52\xdf\xbe\x42\xa4\x55\xa8\x51\xfb\x87\x34\x8f\x99\x65\x16\x97\x63\x96\x35\x06\x7e\x18\x97\x53\x02\xab\x59\x6c\x8e\xde\x58\x09\xdb\x5d\x37\x01\x78\xf9\x18\x28\x2e\x4a\x0d\x73\x07\x8d\x52\xf0\x60\x0d\xb7\x00\x31\x8b\x8d\x15\x83\x58\x94\x14\xdd\xff\x6c\x5a\x8e\x64\x73\x9c\x29\xbb\x60\x97\xec\xcc\xd2\xe7\x11\xf8\x41\xd6\x63\x87\x59\x0e\xc4\x98\x9f\xa3\xe3\x0e\x17\x28\x4e\x06\xa9\xec\x21\x31\x30\xbc\x59\x12\x6d\x60\xa5\x41\x87\x48\x96\xa1\x84\x53\x68\xf6\xf9\x05\xcc\x0c\xda\x4b\x6b\x69\x09\x2d\x9d\xdc\xe3\xd2\x6d\x4e\x93\x28\x59\x4b\xf2\x0f\x14\xb8\xb5\xba\xba\xfb\x0f\x39\xc8\x2d\x66\xe5\x9a\x2c\xe4\xbc\xb8\xcb\x99\x77\x55\xa4\xf9\xfd\x7d\xcf\xe3\x46\x35\xea\x70\x73\xab\xaa\x90\xf5\xbb\x9e\xb7\x99\x7f\xf7\xf3\x22\x9f\x24\x1c\x78\x7b\x5b\xdd\xd4\xd7\x55\x29\xfd\x8c\xd9\x03\xfb\xd1\xe5\x58\x13\xcf\xf4\xf6\x03\xae\xf8\x54\xb0\x6f\x1b\x9d\x25\xf4\xdf\x75\xb5\x42\xee\x01\x2d\x6f\xd0\x57\x00\x00\x00\xff\xff\x77\x50\xdb\xd4\xfe\x02\x00\x00")
func runtimeColorschemesSolarizedMicroBytes() ([]byte, error) {
return bindataRead(

View file

@ -3,9 +3,9 @@ color-link constant "cyan"
color-link identifier "blue"
color-link statement "green"
color-link symbol "green"
color-link preproc "bold brightred"
color-link preproc "brightred"
color-link type "yellow"
color-link special "red"
color-link special "blue"
color-link underlined "magenta"
color-link error "bold brightred"
color-link todo "bold magenta"