{ "prettier.requireConfig": false, "eslint.probe": [ "javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue", "markdown", "svelte" ], "eslint.autoFixOnSave": true, "eslint.format.enable": true, "eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"], "prettier.semi": false, "prettier.tabWidth": 2, "prettier.singleQuote": true, "prettier.arrowParens": "avoid", "prettier.printWidth": 120, "coc.preferences.formatOnType": true, "coc.preferences.formatOnTypeFiletypes": [ "javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "html", "json", "Markdown", "css", "svelte", "haskell" ], "coc.preferences.formatOnSaveFiletypes": [ "javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "html", "json", "Markdown", "css", "svelte", "haskell" ], "languageserver": { // "racket": { // "command": "racket", // "args": ["--lib", "racket-langserver"], // "filetypes": ["scheme", "racket"] // } "bash": { "command": "bash-language-server", "args": ["start"], "filetypes": ["sh"] }, "dockerfile": { "command": "docker-langserver", "args": ["--stdio"], "filetypes": ["dockerfile"] }, "haskell": { "command": "haskell-language-server-wrapper", "args": ["--lsp"], "rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"], "filetypes": ["haskell", "lhaskell"], "settings": { "haskell": { "formattingProvider": "stylish-haskell" } } // Run `haskell-language-server-wrapper generate-default-config` for a defult config // "settings": { ... } }, "R": { "enable": true, "command": "/usr/bin/R", "args": [ "--slave", "-e", "languageserver::run()" ], "filetypes": [ "r" ] } }, "diagnostic.messageTarget": "echo", "signature.target": "echo", "diagnostic.errorSign": "⚠", "diagnostic.warningSign": "⚠ ", "diagnostic.infoSign": "🛈", "suggest.autoTrigger": "trigger", "emmet.includeLanguages": { "javascript": "javascriptreact" }, "javascript.suggestionActions.enabled": true, "typescript.suggestionActions.enabled": true, "svelte.plugin.typescript.diagnostics.enable": true, "snippets.userSnippetsDirectory": "~/.vim/snips/", "coc.source.file.triggerCharacters": ["/"] // Add BibTex file for coc-bibtex autocompletion "list.source.bibtex.files": ["~/.wiki/references.bib", "./*.bib"], "bibtex.silent": true, }