       '1':
         'name': 'keyword.functions.data.stata'
     'comment': 'miscellaneous to deal with later',
-    'match': '\\b(tostring|note|label|drop|keep|format)\\b'
+    'match': '\\b(sa(v|ve)|saveold|destring|tostring|note(s)?|format)\\b'
   }
   # Start manual functions:
+  # Prefixes: 
+  # # prefix commands: by (bysort) statsby rolling bootstrap jackknife permute simulate svy "mi estimate" nestreg stepwise xi fp mfp capture noisily quietly version 
   {
     'match': '\\b(g(e|en|ene|erer|enera|enerat|enerate)?)\\s+((byte|int|long|float|double|str[1-9]?[0-9]?[0-9]?[0-9]?|strL)?\\s+)?([A-Za-z_][A-Za-z0-9_]{0,31})'
     'captures':

        'name': 'keyword.operator.logical.stata'
      }
      {
        'match': '(?:<=|>=|<|>|:=|==|!=|~=|=)'
        'name': 'keyword.operator.comparison.stata'
      }
      {
        'match': '(##|#)'
        'name': 'keyword.operator.factor-variables.stata'

  'macro-local':
    'patterns': [
      {
        'begin': '`(?!")'
        'beginCaptures':
          '0':
            'name': 'punctuation.definition.string.begin.stata'
