Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Jul 28, 2019
  3. Jul 19, 2019
  4. Jul 09, 2019
  5. Jun 14, 2019
  6. Jun 03, 2019
  7. May 30, 2019
  8. May 27, 2019
  9. May 25, 2019
  10. May 21, 2019
  11. May 07, 2019
  12. Apr 01, 2019
  13. Mar 28, 2019
  14. Mar 22, 2019
  15. Mar 19, 2019
  16. Feb 27, 2019
    • Giovanni Bussi's avatar
      Removed duplicates keywords · 8ed9697a
      Giovanni Bussi authored
      Can be found with the following python snippet
      
      import re
      plumedDictionary={}
      with open("/opt/local/lib/plumed/vim/syntax/plumed.vim") as fin:
          for line in fin:
              if re.match("^let b:plumedDictionary\[.*$",line):
                  line=re.sub("^let b:","",line)
                  exec(line,{'__builtins__': None},{'plumedDictionary':plumedDictionary})
      for key in plumedDictionary.keys():
          diction={}
          for opt in plumedDictionary[key]:
              if(opt['word'] in diction):
                  print(key,opt['word'])
              diction[opt['word']]=1
      8ed9697a
Loading