Schoolie440 / ScreepsCoop

Brian, Joe, and Ben's Coop Screeps Repo
0 stars 1 forks source link

Get Vim Keyword highlighting working #9

Closed thebestschoolie closed 5 years ago

thebestschoolie commented 5 years ago

in case either of you wanted to use vim, I placed a screeps.vim syntax file in the /docs folder of our repo. On linux, copy it to ~/.vim/syntax/screeps.vim. You may have to create the .vim/syntax dirs. Then make a file in ~/.vim/ftdetect called screeps-detect.vim. In that file write this line of code and save:

au BufRead,BufNewFile *.js set filetype=screeps

Schoolie440 commented 5 years ago

Closing since we have a solution