dots/.vim/coc-settings.json

103 lines
2.6 KiB
JSON
Raw Normal View History

2020-05-07 02:23:37 +02:00
{
2022-09-24 11:29:07 +02:00
"prettier.requireConfig": false,
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"svelte"
],
2020-05-07 02:23:37 +02:00
"eslint.autoFixOnSave": true,
2022-09-24 11:29:07 +02:00
"eslint.format.enable": true,
2021-12-31 15:43:27 +01:00
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"],
2020-05-07 02:23:37 +02:00
"prettier.semi": false,
"prettier.tabWidth": 2,
"prettier.singleQuote": true,
"prettier.arrowParens": "avoid",
2021-12-31 15:43:27 +01:00
"prettier.printWidth": 120,
2020-05-07 02:23:37 +02:00
"coc.preferences.formatOnType": true,
"coc.preferences.formatOnTypeFiletypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
2020-07-02 15:51:01 +02:00
"css",
2022-09-24 11:28:19 +02:00
"svelte",
"haskell"
2020-05-07 02:23:37 +02:00
],
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
2020-07-02 15:51:01 +02:00
"css",
2022-09-24 11:28:19 +02:00
"svelte",
"haskell"
2020-05-07 02:23:37 +02:00
],
2021-12-31 15:43:27 +01:00
"languageserver": {
2022-09-24 11:28:19 +02:00
// "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"
]
2021-12-31 15:43:27 +01:00
}
},
"diagnostic.messageTarget": "echo",
"signature.target": "echo",
"diagnostic.errorSign": "⚠",
"diagnostic.warningSign": "⚠ ",
"diagnostic.infoSign": "🛈",
2021-12-31 15:43:27 +01:00
"suggest.autoTrigger": "trigger",
2020-05-13 19:10:30 +02:00
"emmet.includeLanguages": { "javascript": "javascriptreact" },
2021-12-31 15:43:27 +01:00
"javascript.suggestionActions.enabled": true,
"typescript.suggestionActions.enabled": true,
"svelte.plugin.typescript.diagnostics.enable": true,
"snippets.userSnippetsDirectory": "~/.vim/snips/",
"coc.source.file.triggerCharacters": ["/"]
2020-05-07 02:23:37 +02:00
}