A small syntax plugin for screeps in vim.
-
Vundle
Add as a plugin in Vundle
Plugin 'dbaileychess/vim-screeps'
Run
:PluginInstall
Since screep files are plain javascript (.js) this plugin looks at the first line of .js files for the presence of: \screeps
If it finds that keyword, it will automatically apply the syntax screeps.
Copy the screeps.vim into your local .vim/syntax/ directory. Manually set the filetype using:
set filetype=screeps