Skip to content

Instantly share code, notes, and snippets.

@matheusfillipe
Created March 31, 2022 03:11
Show Gist options
  • Select an option

  • Save matheusfillipe/ce175711ff76db109630a526bea68c68 to your computer and use it in GitHub Desktop.

Select an option

Save matheusfillipe/ce175711ff76db109630a526bea68c68 to your computer and use it in GitHub Desktop.
{
"initializationOptions": {
"markupKindPreferred": null,
"jediSettings": {
"autoImportModules": []
},
"completion": {
"disableSnippets": false
},
"diagnostics": {
"enable": true,
"didOpen": true,
"didChange": true,
"didSave": true
},
"workspace": {
"extraPaths": []
}
},
"solargraph.commandPath" : "/home/matheus/.gem/ruby/2.7.0/bin/solargraph",
"signature.preferShownAbove": false,
"signature.target": "float",
//"codeLens.enable": true,
"coc.preferences.formatOnSaveFiletypes": [
"svg", // coc-svg support svg format
"dart", // coc-flutter support dart format */
"elixir" // diagnostic-languageserver support elixir format
],
"flutter.openDevLogSplitCommand": "botright 10split",
"html.autoClosingTags": true,
"pairs.enableCharacters": [
"(",
"[",
"{",
"'",
"\"",
"`"
],
"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
"diagnostic-languageserver.filetypes": {
"python": "flake8",
"vim": "vint",
"email": "languagetool",
"markdown": [ "write-good", "markdownlint" ],
"sh": "shellcheck",
"elixir": ["mix_credo", "mix_credo_compile"],
"eelixir": ["mix_credo", "mix_credo_compile"],
"php": ["phpstan", "psalm"]
},
"diagnostic-languageserver.linters": {
"flake8": {
"sourceName": "flake8",
"command": "flake8",
"debounce": 200,
"rootPatterns": [".git", "pyproject.toml", "setup.py"],
"args": ["--ignore=I100,C101,Q000,D103,E501,E401,C901,W503,W504,E116,E702,C0103,C0114,C0115,C0116,C0103,C0301,W0613,W0102,R0903,R0902,R0914,R0915,R0205,W0703,W0702,W0603,E30", "--format=%(row)d,%(col)d,%(code).1s,%(code)s: %(text)s", "-" ],
"offsetLine": 0,
"offsetColumn": 0,
"formatLines": 1,
"formatPattern": [
"(\\d+),(\\d+),([A-Z]),(.*)(\\r|\\n)*$",
{
"line": 1,
"column": 2,
"security": 3,
"message": 4
}
],
"securities": {
"W": "info",
"E": "info",
"F": "info",
"C": "info",
"N": "hint"
}
}
},
"diagnostic-languageserver.formatFiletypes": {
"python": ["black", "isort", "docformatter"],
"dart": "dartfmt",
"elixir": "mix_format",
"eelixir": "mix_format",
"lua": "lua-format",
"sh": "shfmt",
"blade": "blade-formatter"
},
"diagnostic-languageserver.formatters": {
"black": {
"command": "black",
"args": ["-q", "-"]
},
"isort": {
"command": "isort",
"args": ["-q", "-"]
},
"docformatter": {
"command": "docformatter",
"args": ["-"]
}
},
"coc.preferences.semanticTokensHighlights": false,
"jedi.executable.command": "jedi-language-server"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment