               ]
             }
             {
-              begin: '\\b(lua_(?:exec|opdef))[ \\t]*(\\{\\{)'
+              begin: '\\b(lua_exec)[ \\t]*(\\{\\{)'
               beginCaptures:
                 1:
                   name: 'support.function.csound'

        range = displayBuffer.bufferRangeForScopeAtPosition 'entity.name.function.opcode.csound', event.oldRange.start

        if range
          index = userDefinedOpcodes.indexOf(editor.getTextInBufferRange range)
          if index >= 0
            userDefinedOpcodes.splice index, 1
            displayBuffer.tokenizedBuffer.invalidateRow row for row in [0...editor.getLineCount()] when !editor.isBufferRowCommented row

              patterns: [
                {
                  include: 'source.lua'
                }
              ]
            }
            {
              begin: '\\blua_opdef'
              beginCaptures:
                0:
                  name: 'support.function.csound'
              end: '\\}\\}'
              endCaptures:
                0:
                  name: 'string.braced.csound'
              patterns: [
                {
                  include: '#quotedStrings'
                }
                {
                  begin: '\\{\\{'
                  beginCaptures:
                    0:
                      name: 'string.braced.csound'
                  end: '(?=\\}\\})'
                  patterns: [
                    {
                      include: 'source.lua'
                    }
                  ]
                }
              ]
            }
