【问题标题】:(neo)vim coc - go-to-definition for html css(neo)vim coc - html css 的定义
【发布时间】:2020-12-01 10:27:33
【问题描述】:

我一直在寻找解决方案,但从未找到好的解决方案。有没有人将 COC 用于 html css。如何从 html 文件中的类或 ID 转到 css 文件中的定义?感谢您的帮助!

【问题讨论】:

  • 尝试 css peek 扩展 marketplace.visualstudio.com/…
  • 谢谢,我实际上使用了那个扩展。但仅适用于 VS Code。 Vim (neovim) 我需要同样的东西。
  • 关于 Vim 的问题也可以考虑 Vi and Vim Stack Exchange。

标签: html css vim neovim go-to-definition


【解决方案1】:

"------- 网页 html ------------

if count(g:bundle_groups, 'html')

    "Plugin 'othree/html5.vim'
    " html css
    Plugin 'mattn/emmet-vim'

endif

"------- 网页 CSS ------------

if count(g:bundle_groups, 'css')

endif

【讨论】:

    猜你喜欢
    • 2021-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-24
    • 2020-09-07
    • 2018-03-16
    • 1970-01-01
    相关资源
    最近更新 更多