@@ -12,7 +12,7 @@ M["*"] = function(char, item, bufnr, commit_character)
1212 local char_before, char_after = utils.text_cusor_line(line, col, 1, 1, false)
1313
1414 if char == '' or char_before == char or char_after == char
15− or (item.data and item.data.funcParensDisabled)
15+ or (item.data and type(item.data) == 'table' and item.data.funcParensDisabled)
1616 or (item.textEdit and item.textEdit.newText and item.textEdit.newText:match "[%(%[%$]")
1717 or (item.insertText and item.insertText:match "[%(%[%$]")
1818 or char == commit_character