See https://github.com/voldikss/coc-extensions
Last updated Aug 15, 2025
128
Stars
6
Forks
1
Issues
0
Stars/day
Attention Score
21
Language breakdown
No language data available.
โธ Files
click to expand
README
coc-browser
Browser words completion source for coc.nvim

Installation
- Install the browser extension
- Install coc.nvim
- Install coc-browser
:CocInstall coc-browser
Config
browser.shortcut:
"web"
browser.priority:
5
browser.patterns: default:{"*": []}
[] means to enable for whole buffer.
For example, in order to enable completion only if the cursor is in the comment region in javascript file, set this option as follows
"browser.patterns": {
"javascript": [
"^\\s*\\/\\/",
"^\\s\\/\\",
"^\\s\\"
]
}
The in the default value {"": []} means to enable autocomplete for all filetypes.
browser.port:
8888
Port used to transfer words from browser extension to local server
Command
:CocCommand browser.clearCache: Clear completion source cache
License
MIT
๐ More in this category