Pug Language Features for coc.nvim
MIT License
fork from a vscode-pug
Pug Language Features for coc.nvim
CocInstall:
:CocInstall @yaegassy/coc-pug
e.g. vim-plug:
Plug 'yaegassy/coc-pug', {'do': 'yarn install --frozen-lockfile'}
The "filetype" must be pug
for this extension to work.
Install "pug" related plugin. (e.g. vim-pug or nvim-treesitter).
You need to map the filetype pug
to the languageId jade
, set g:coc_filetype_map
in .vimrc/init.vim
.
let g:coc_filetype_map = {
\ 'pug': 'jade',
\ }
pug.enable
: Enable coc-pug extension, default: true
pug.trace.server
: Traces the communication between coc.nvim and the language server, valid option: ["off", "messages", "verbose"]
, default: "off"
pug.dev.serverPath
: (For develop and check) Custom path to pug server module, ~
and $HOME
, etc. can also be used. If there is no setting, the built-in module will be used, default: ""
MIT
This extension is built with create-coc-extension