🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@yaegassy/coc-pug

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yaegassy/coc-pug

Pug Language Features for coc.nvim

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

coc-pug

fork from a vscode-pug

Pug Language Features for coc.nvim

Install

CocInstall:

:CocInstall @yaegassy/coc-pug

e.g. vim-plug:

Plug 'yaegassy/coc-pug', {'do': 'yarn install --frozen-lockfile'}

Note

  • 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',
      \ }
    

Configuration options

  • 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: ""

Thanks

License

MIT

This extension is built with create-coc-extension

Keywords

coc.nvim

FAQs

Package last updated on 08 Jul 2023

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