2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-15 12:12:58 +00:00
steffen-dotfiles/nvim/coc-settings.json
2021-03-20 21:38:43 +01:00

54 lines
1.1 KiB
JSON

// 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"]
}
}