This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/neovim/coc-settings.json

72 lines
1.7 KiB
JSON
Raw Normal View History

2021-07-08 09:39:31 -05:00
{
"coc.preferences.formatOnSaveFiletypes": ["elixir", "ex", "exs", "typescript", "css", "markdown", "sh", "bash"],
2021-09-24 13:06:43 -05:00
"languageserver": {
2021-11-08 23:41:55 -06:00
"nim": {
"command": "nimlsp",
"filetypes": ["nim"]
},
2021-12-09 10:55:52 -06:00
"zls": {
"command": "~/zls/zls",
"filetypes": ["zig"]
},
"godot": {
"host": "127.0.0.1",
"filetypes": ["gd", "gdscript3"],
"port": 6008
2021-09-24 13:06:43 -05:00
}
},
2021-07-08 09:39:31 -05:00
"elixir.pathToElixirLS": "~/.elixir-ls/release/language_server.sh",
2021-11-11 11:44:26 -06:00
"rust-analyzer.checkOnSave.command": "clippy",
"diagnostic-languageserver": {
"enable": true,
"mergeConfig": true,
"linters": {
"shellcheck": {
"command": "shellcheck",
"debounce": 100,
"args": [
"-x",
"--format",
"json1",
"-"
],
"sourceName": "shellcheck",
"parseJson": {
"errorsRoot": "comments",
"line": "line",
"column": "column",
"endLine": "endLine",
"endColumn": "endColumn",
"message": "${message} [${code}]",
"security": "level"
},
"securities": {
"error": "error",
"warning": "warning",
"info": "info",
"style": "hint"
}
}
},
"filetypes": {
"elixir": ["mix_credo", "mix_credo_compile"],
"eelixir": ["mix_credo", "mix_credo_compile"],
"sh": "shellcheck",
"bash": "shellcheck"
},
"formatters": {
"shfmt": {
"command": "shfmt",
"args": ["-i", "2", "-bn", "-ci", "-sr", "-kp"]
}
},
"formatFiletypes": {
"elixir": "mix_format",
"eelixir": "mix_format",
"sh": "shfmt",
"bash": "shfmt"
}
2021-07-08 09:39:31 -05:00
}
}