https://github.com/derekwyatt/vim-scala 提供了一个选择 看install手册,发现两个命令都是必须的. mkdir -p ~/.vim/{ftdetect,indent,syntax} for d in ftdetect indent syntax do wget --no-check-certificate -O ~/.vim/$d/scala.vim \ https://raw.githubusercontent.com/derekwyatt/vim-
找到设置中的文件设置中的files.associations,增加以下内容(注意一下内容要放在右侧的用户设置中,而不是放在中间的默认设置中): { // Configure file associations to languages (e.g. "*.extension": "html"). These have precedence over the default associations of the languages installed. "f