The Github:https://github.com/scala/scala-tool-support project collects the configuration that the editor supports for Scala.
1. The following Scala code is to get the vim configuration under Scala-tool-support.
The Code of the blog shows that there is a pit, can be viewed here: https://code.csdn.net/snippets/753103 Source, the map here.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/B5/wKiom1Wl0AaQRJCtAAP7LaTHDNs561.jpg "title=" Scala-vim.png "width=" "height=" 566 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:900px;height:566px; "alt=" Wkiom1wl0aaqrjctaap7lathdns561.jpg "/>
Description
The Root:root directory needs to be modified to its own environment, such as:/home/dev/.vim/
2. After configuring your root directory, execute the above Scala script, then enable syntax highlighting in ~/.VIMRC: syntax on, effect:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/B2/wKioL1Wlz3jAF-RWAABBCVGErlI808.jpg "title=" Hello-scala.png "alt=" Wkiol1wlz3jaf-rwaabbcvgerli808.jpg "/>
3. Note that the directory structure on GitHub is subject to change, and you can view the directory information for the project https://github.com/scala/scala-tool-support/before executing it. Modify the URL and file in the code to get the files in the corresponding directory.
This article is from the "Red Horse Red" blog, please be sure to keep this source http://aiilive.blog.51cto.com/1925756/1674823
Get the VIM configuration of Scala-tool-support on GitHub with Scala