dots/.vim/coc-settings.json

73 lines
2.0 KiB
JSON
Raw Normal View History

2020-05-07 02:23:37 +02:00
{
2023-04-07 22:56:10 +02:00
/**
* Linting & (Auto)formatting
*/
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,
2023-04-07 22:56:10 +02:00
"eslint.format.enable": true,
2020-05-07 02:23:37 +02:00
"coc.preferences.formatOnType": true,
2023-04-07 22:56:10 +02:00
"coc.preferences.formatOnSave": true,
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": ["/"]
2023-03-12 13:09:45 +01:00
// Add BibTex file for coc-bibtex autocompletion
"list.source.bibtex.files": ["~/.wiki/references.bib", "./*.bib"],
"bibtex.silent": true,
2020-05-07 02:23:37 +02:00
}