vim

For discussion on all things (neo)vim.
uosl 2020-02-18T11:13:09.081500Z

anyone using coc.nvim know how to exclude directories like resources from popping up during jump to definition or show references? I often end up editing these files, then being dumbfounded when my changes are ignored

uosl 2020-02-20T17:14:03.084200Z

Thank you so much!!!

uosl 2020-02-20T17:14:27.084400Z

I've been having trouble finding this config variable.

Nir Rubinstein 2020-02-18T11:22:34.082100Z

On that note, if anyone can share his coc config for clojure itโ€™d be helpful. Thanks!

dharrigan 2020-02-18T11:32:12.082500Z

This is mine, it's rather simple, ymmv:

dharrigan 2020-02-18T11:32:15.082700Z

{
  "coc.source.conjure.priority": 999999,
  "diagnostic.virtualText": true,
  "suggest.echodocSupport": false,
  "suggest.maxCompleteItemCount": 15,
  "suggest.noselect": false,
  "suggest.removeDuplicateItems": true,
  "suggest.enablePreview": true,
  "languageserver": {
    "clojure-lsp": {
      "command": "bash",
      "args": ["-c", "clojure-lsp"],
      "filetypes": ["clojure"],
      "disableDiagnostics": true,
      "rootPatterns": ["deps.edn", "project.clj"],
      "additionalSchemes": ["jar", "zipfile"],
      "trace.server": "verbose",
      "initializationOptions": {
        "use-metadata-for-privacy?": true,
      }
    }
  }
}

๐Ÿ‘ 1
Nir Rubinstein 2020-02-18T11:38:17.082900Z

Thanks a lot!!!

dharrigan 2020-02-18T11:44:28.083100Z

you're most welcome