coc-highlight:文档高亮和文档颜色LSP对coc.nvim的支持

时间:2024-02-22 19:21:23
【文件属性】:

文件名称:coc-highlight:文档高亮和文档颜色LSP对coc.nvim的支持

文件大小:72KB

文件格式:ZIP

更新时间:2024-02-22 19:21:23

vim neovim coc document-highlight highlight-symbol

coc-highlight 为提供默认的突出显示,包括文档突出显示(当前文档符号的突出显示)和颜色突出显示。 安装 在您的vim / neovim中,运行命令: :CocInstall coc-highlight 产品特点 当前缓冲区所有位置中当前位置的突出显示符号(当语言服务器中不存在文档突出显示提供程序时)。 突出显示当前缓冲区的颜色(当语言服务器不提供颜色提供程序时)。 用法 要在CursorHold上突出显示当前符号,请添加: autocmd CursorHold * silent call CocActionAsync ( ' highlight ' ) 到.vimrc 。 要禁用coc提供颜色突出显示,请添加: " coc.preferences.colorSupport " : false , 到您的settings.json 。 要选择其他颜色,请使用命令: :call CocAction('pickColor') 注意:仅适用于Mac或已安装python gtk模块。 要选择其他颜色表示,请使用命令: :call CocAction('colo


【文件预览】:
coc-highlight-master
----.gitignore(4B)
----package.json(2KB)
----server()
--------colors.ts(685B)
--------index.ts(6KB)
--------document.ts(2KB)
--------chars.ts(3KB)
--------matchers.ts(2KB)
--------types.ts(252B)
----src()
--------index.ts(2KB)
----webpack.config.js(716B)
----tsconfig.json(303B)
----Readme.md(2KB)
----tests()
--------example.css(361B)
--------example.jsx(230B)
--------example.stylus(307B)
--------torture.css(64KB)
--------example.sass(308B)
--------example.scss(327B)
--------example.less(327B)
----.npmignore(59B)
----yarn.lock(129KB)

网友评论