New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

coc-twitch-highlight

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coc-twitch-highlight

Twitch chat highlight extension

latest
npmnpm
Version
0.5.0
Version published
Weekly downloads
3
-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

coc-twitch-highlight

Twitch code highlight extension for coc.nvim

Description

Allow users from a Twitch chat highlight code lines into current vim buffer.

How to use

Bot handle messages with format:

!line [line number] [comment]

Example

!line 18 What a beautiful color (´• ω •`)

example

Install

:CocInstall coc-twitch-highlight

Commands

  • :CocCommand twitchHighlight.stop: Disconnect twitchHighlight bot from a chat
  • :CocCommand twitchHighlight.start: Connect twitchHighlight bot to a chat
  • :CocCommand twitchHighlight.remove: Remove sign under the cursor
  • :CocCommand twitchHighlight.removeAll: Remove all twitch signs

Keymaps

  • Normal mode: <Plug>(coc-twitch-highlight-start)
  • Normal mode: <Plug>(coc-twitch-highlight-stop)
  • Normal mode: <Plug>(coc-twitch-highlight-remove)
  • Normal mode: <Plug>(coc-twitch-highlight-remove-all)
" example configuration
nmap <leader>tr <Plug>(coc-twitch-highlight-remove)

Configuration

"twitchHighlight.enabled": {
  "type": "boolean",
  "default": true,
  "description": "Enable coc-twitch-highlight extension"
},
"twitchHighlight.sign": {
  "type": "string",
  "default": "👀",
  "description": "Text of Twitch highlight sign"
},
"twitchHighlight.signHi": {
  "type": "string",
  "default": "TwitchBg",
  "description": "Highlight group for sign"
},
"twitchHighlight.numHi": {
  "type": "string",
  "default": "TwitchFg",
  "description": "Highlight group for sign numhl"
},
"twitchHighlight.lineHi": {
  "type": "string",
  "description": "Highlight group for sign linehl"
},
"twitchHighlight.commentHi": {
  "type": "string",
  "default": "TwitchFg",
  "description": "Highlight group for sign comment"
},
"twitchHighlight.commentPrefix": {
  "type": "string",
  "default": "    ",
  "description": "Prefix for comment to display in virtual text"
},
"twitchHighlight.bot.username": {
  "type": "string",
  "description": "Twitch username"
},
"twitchHighlight.bot.oauth": {
  "type": "string",
  "description": "Twitch oauth token"
},
"twitchHighlight.bot.channel": {
  "type": "string",
  "description": "Twitch channel to connect"
}

License

MIT

This extension is created by create-coc-extension

Keywords

coc.nvim

FAQs

Package last updated on 26 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts