72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"coc.preferences.formatOnSaveFiletypes": ["elixir", "ex", "exs", "typescript", "css", "markdown", "sh", "bash"],
|
|
"languageserver": {
|
|
"nim": {
|
|
"command": "nimlsp",
|
|
"filetypes": ["nim"]
|
|
},
|
|
"zls": {
|
|
"command": "~/zls/zls",
|
|
"filetypes": ["zig"]
|
|
},
|
|
"godot": {
|
|
"host": "127.0.0.1",
|
|
"filetypes": ["gd", "gdscript3"],
|
|
"port": 6008
|
|
}
|
|
},
|
|
"elixir.pathToElixirLS": "~/.elixir-ls/release/language_server.sh",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
|