Some vim scripts for use with the Robot framework.
Vim script
Switch branches/tags
Nothing to show
Clone or download
mfukar Merge pull request #22 from feiyuw/master
add dict and env variable hightlight
Latest commit 75d5b37 Apr 14, 2017

Vim plugins for development with Robot framework


  • {rtp}/after/syntax/robot.vim - Robot syntax plugin for text, space-delimited files.
  • {rtp}/ftdetect/robot.vim - Robot filetype recognition plugin for text, space-delimited files.


Quickly install by:

  • git clone git://
  • cd robotframework-vim && cp -R * ~/.vim/


  • To enable syntax highlighting in vim, you may add this line at the beginning of a Robot Framework file(s):

    # -*- coding: robot -*-

  • Alternatively, set the g:robot_syntax_for_txt global variable to treat .txt files as Robot files.

  • Or to enable the syntax highlighting for just a specific file you can issue the following command from vim:

    :setf robot