 scopeName : 'source.g-code.cncpilot';
-name: 'G-Code - CNCpilot'
+name: 'G-Code - CNCpilot';
 fileTypes: [
-  'ncs', # CNCpilot or ManualPlus
+  'ncs',
+  'nc',
 ]
 
-foldingStartMarker: 'UNIT'
-foldingStopMarker: 'END_OF_UNIT'
-limitLineLength: false
+foldingStartMarker: 'UNIT';
+foldingStopMarker: 'END_OF_UNIT';
+firstLineMatch: '"TURN_V1\\.0"$';
+limitLineLength: true;
 
 patterns: [
     {

      name: 'comment.line.g-code'
    },
    {
      comment: 'comment until the end of the line'
      match: ';(.*)$'
      name: 'comment.line.g-code'
    },
    {
      comment: 'comment'
      match: '(\\(.*\\))$'
      name: 'comment.line.g-code'
    },
    {
        comment: 'commented out line'
        match: '^(/N\\d+)\\s+(.*)$'
        name: 'comment.block.g-code'
    },
    {
        comment: 'program meta info'

        name: 'comment.block.g-code'
    },
    {
        comment: 'program name'
        match: '(%)([\\w\\d_]+\\.[ncsNCS]+)(\\s+".*")?'
        captures:
            1:
                name: 'keyword.control.g-code'
