Syntax highlight for Sass is not working in Vim

淺唱寂寞╮ 提交于 2019-12-04 12:16:37

I don't know an easy fix, but try checking some vim settings with the following commands:

  • Does enabling syntax explicitly fix your problem? :syntax enable
  • Is filetype detection on? :filetype
  • Does vim recognize this as a sass file? :set filetype?
  • Check to make sure your script directories are in the runtime path :set runtimepath?
  • Does manually loading the syntax file change anything? :runtime! vimfiles/syntax/sass.vim
  • Also check if syntax highlighting works for other filetypes.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!