1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Updated plugins, added extra configs to make Syntastic work with Go

This commit is contained in:
amix
2015-12-17 12:44:42 -03:00
parent 6b48dc598f
commit 3aabd8befd
3 changed files with 17 additions and 3 deletions

View File

@ -78,7 +78,7 @@ def get_comment_format():
def make_box(twidth, bwidth=None):
b, m, e, i = get_comment_format()
b, m, e, i = (s.strip() for s in get_comment_format())
bwidth_inner = bwidth - 3 - max(len(b), len(i + e)) if bwidth else twidth + 2
sline = b + m + bwidth_inner * m[0] + 2 * m[0]
nspaces = (bwidth_inner - twidth) // 2

View File

@ -16,8 +16,8 @@ snippet marginconvention
var ${8:height} = ${9:500} - $1.top - $1.bottom;
var ${10:svg} = d3.select("${11}").append("svg")
.attr("width", $6)
.attr("height", $8)
.attr("width", $6 + $1.left + $1.right)
.attr("height", $8 + $1.top + $1.bottom)
.append("g")
.attr("transform", "translate(" + $1.left + "," + $1.top + ")")
snippet nest