Search code examples
prettierneovim

Set singlequotes Coc-prettier in neovim


Im new using neovim and Coc-prettier. I would like to know how I can configure it so that single quotes are placed when formatting the document. Thanks.


Solution

  • In coc-settings.json you can set prettier with:

    {
        "prettier.singleQuote":true
    }