Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.69 KB | None | 0 0
  1. {
  2.   "languageserver": {
  3.     "cquery": {
  4.       "command": "/usr/bin/cquery-language-server",
  5.       "args": ["--log-file=/tmp/cq.log"],
  6.       "filetypes": ["c", "cpp"],
  7.       "rootPatterns": [".buckconfig", "compile_flags.txt", "compile_commands.json", ".vim/", ".git/", ".hg/"],
  8.       "initializationOptions": {
  9.         "cacheDirectory": "/tmp/cquery",
  10.         "index": {
  11.           "blacklist": [".*/buck-out/.*", ".*/third-party-buck/.*", ".*/_build.*/.*"]
  12.         },
  13.         "completion":{
  14.           "includeBlacklist": [".*/buck-out/.*", ".*/third-party-buck/.*", ".*/_build.*/.*"]
  15.         },
  16.         "diagnostics": {
  17.            "blacklist": [".*/buck-out/.*", ".*/third-party-buck/.*", ".*/_build.*/.*"]
  18.         },
  19.         "discoverSystemIncludes": false,
  20.         "showDocumentLinksOnIncludes": false,
  21.         "codeLens": {
  22.            "localVariables": false
  23.         }
  24.       }
  25.     },
  26.   "python": {
  27.     "command": "/usr/local/bin/pyls-language-server",
  28.     "args": [
  29.       "--log-file",
  30.       "/tmp/lsp_python.log"
  31.     ],
  32.     "trace.server": "verbose",
  33.     "filetypes": [
  34.       "python"
  35.     ],
  36.     "settings": {
  37.       "pyls": {
  38.         "enable": true,
  39.         "trace": {
  40.           "server": "verbose"
  41.         },
  42.         "commandPath": "",
  43.         "configurationSources": [
  44.           "pycodestyle"
  45.         ],
  46.         "plugins": {
  47.           "jedi_completion": {
  48.             "enabled": true
  49.           },
  50.           "jedi_hover": {
  51.             "enabled": true
  52.           },
  53.           "jedi_references": {
  54.             "enabled": true
  55.           },
  56.           "jedi_signature_help": {
  57.             "enabled": true
  58.           },
  59.           "jedi_symbols": {
  60.             "enabled": true,
  61.             "all_scopes": true
  62.           },
  63.           "mccabe": {
  64.             "enabled": true,
  65.             "threshold": 15
  66.           },
  67.           "preload": {
  68.             "enabled": true
  69.           },
  70.           "pycodestyle": {
  71.             "enabled": true
  72.           },
  73.           "pydocstyle": {
  74.             "enabled": false,
  75.             "match": "(?!test_).*\\.py",
  76.             "matchDir": "[^\\.].*"
  77.           },
  78.           "pyflakes": {
  79.             "enabled": true
  80.           },
  81.           "rope_completion": {
  82.             "enabled": true
  83.           },
  84.           "yapf": {
  85.             "enabled": true
  86.           }
  87.         }
  88.       }
  89.     }
  90.    }
  91.   },
  92.   "suggest.triggerAfterInsertEnter": true,
  93.   "suggest.minTriggerInputLength": 2,
  94.   "suggest.acceptSuggestionOnCommitCharacter": true,
  95.   "suggest.timeout": 500,
  96.   "suggest.noselect": false,
  97.   "coc.preferences.diagnostic.displayByAle": true,
  98.   "suggest.disableMenuShortcut": true,
  99.   "coc.preferences.currentFunctionSymbolAutoUpdate": true
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement