Skip to content

Commit 039cc0a

Browse files
Add table frame, grid, and stripes to inline completion (#950)
resolves #949
1 parent d9b169e commit 039cc0a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/features/builtinDocumentAttribute.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,26 @@
204204
"insertText": "table-caption: ${1:any}",
205205
"description": "Text of label prefixed to table titles. Default: Table"
206206
},
207+
"table-frame": {
208+
"label": ":table-frame:",
209+
"insertText": "table-stripes: ${1|all,ends,none,sides|}",
210+
"description": "Draws a border around the table. Default: all"
211+
},
212+
"table-grid": {
213+
"label": ":table-grid:",
214+
"insertText": "table-grid: ${1|all,cols,rows,none|}",
215+
"description": "Draws boundary lines between rows and columns. Default: all"
216+
},
207217
"table-number": {
208218
"label": ":table-number:",
209219
"insertText": "table-number: ${1:number}",
210220
"description": "Sets the seed value for the table number sequence. Implied: 0"
211221
},
222+
"table-stripes": {
223+
"label": ":table-stripes:",
224+
"insertText": "table-stripes: ${1|none,even,odd,all,hover|}",
225+
"description": "Controls row shading (via background color). Default: none"
226+
},
212227
"tip-caption": {
213228
"label": ":tip-caption:",
214229
"insertText": "tip-caption: ${1:any}",
@@ -694,4 +709,4 @@
694709
"insertText": "manmanual: ${1:any}",
695710
"description": "Manual name displayed in the man page footer."
696711
}
697-
}
712+
}

0 commit comments

Comments
 (0)