summaryrefslogtreecommitdiff
path: root/.config/new_neovim/coc-settings.json
diff options
context:
space:
mode:
Diffstat (limited to '.config/new_neovim/coc-settings.json')
-rw-r--r--.config/new_neovim/coc-settings.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/.config/new_neovim/coc-settings.json b/.config/new_neovim/coc-settings.json
new file mode 100644
index 0000000..a11d575
--- /dev/null
+++ b/.config/new_neovim/coc-settings.json
@@ -0,0 +1,73 @@
+{
+ // suggestions
+ // "suggest.echodocSupport": true,
+ // TODO add more labels and give them cool glyphs
+ "suggest.completionItemKindLabels": {
+ "text": "t",
+ "method": "m",
+ "function": "f"
+ },
+
+ // diagnostics
+ "diagnostic.errorSign": "✗",
+ "diagnostic.warningSign": "⚠",
+ "diagnostic.infoSign": "",
+ "diagnostic.hintSign": " ",
+ // "diagnostic.displayByAle": true,
+
+ // codelens TODO what does this get me?
+ // "codeLens.enable": true,
+
+ // list
+ "list.indicator": ">",
+ "list.selectedSignText": " ",
+
+ // autoformat
+ "coc.preferences.formatOnSaveFiletypes": [
+ "css",
+ "markdown",
+ "javascript",
+ "html",
+ "yaml",
+ "json",
+ "python"
+ ],
+ "coc.preferences.hoverTarget": "float",
+
+ // python config
+ "python.linting.enabled": true,
+ "python.linting.pylintEnabled": true,
+
+ // snippets
+ "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/utils/snips"],
+
+ // explorer
+ "explorer.width": 30,
+ "explorer.icon.enableNerdfont": true,
+ "explorer.previewAction.onHover": false,
+ "explorer.icon.enableVimDevicons": false,
+ "explorer.keyMappings": {
+ "<cr>": ["expandable?", "expand", "open"],
+ "v": "open:vsplit"
+ },
+
+ "languageserver": {
+ "bash": {
+ "command": "bash-language-server",
+ "args": ["start"],
+ "filetypes": ["sh"],
+ "ignoredRootPaths": ["~"]
+ },
+ "clangd": {
+ "command": "clangd",
+ "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
+ "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
+ }
+
+ }
+
+ // TODO language servers
+ // TODO g:coc_global_extensions
+ // TODO b:coc_suggest_disable=1 GOYO
+ // TODO add to paths.vim g:coc_node_path
+}