No auto-complete on HTML and CSS files in VIM (YouCompleteMe)

前端 未结 3 629
青春惊慌失措
青春惊慌失措 2021-02-12 10:23

For some reason, I get no autocomplete on html and css files. All works well with other languages, for example JS, Ruby or Python. I\'ve spent close to 2h today trying to fix it

3条回答
  •  北恋
    北恋 (楼主)
    2021-02-12 10:56

    Check the value of the paste setting

    :verbose set paste? 
    

    will show you the current value for this buffer as well as which plugin set it last.

    In my experience, completion doesn't happen if paste is set. Disable with

    :set nopaste
    

提交回复
热议问题