// Installed extensions are:
////////////////////////////
// coc-calc
// coc-css
// coc-eslint
// coc-html
// coc-json
// coc-markdownlint
// coc-pairs
// coc-phpls
// coc-snippets
// coc-stylelintplus
// coc-tsserver
// coc-yaml
// coc-yank

{
  "coc.preferences.formatOnSaveFiletypes": [
    "javascriptreact",
    "javascript",
    "scss",
    "css",
    "json",
    "yaml"
  ],

  // autofixing via linters
  "eslint.autoFixOnSave": true,
  "stylelintplus.autoFixOnSave": true,

  // we use eslint instaed
  "javascript.format.enabled": false,
  "javascript.validate.enable": false,
  "typescript.suggest.enabled": false,
  "typescript.validate.enable": false,
  "typescript.format.enabled": false,
  "tsserver.disableAutomaticTypeAcquisition": true,

  "suggest.minTriggerInputLength": 3,
  "suggest.noselect": false,
  "suggest.enablePreselect": true,
  "suggest.maxCompleteItemCount": 20,

  "snippets.snipmate.enable": false,
  "snippets.ultisnips.directories": ["~/.config/nvim/snippets"],
  "snippets.extends": {
    "php": ["html"],
    "scss": ["css"],
    "jsx": ["javascript"],
    "javascriptreact": ["javascript"],
    "typescript": ["javascript"]
  }
}
