Browse Source

added some stuff

Chris 5 years ago
parent
commit
126c904c95
2 changed files with 12 additions and 7 deletions
  1. 11 6
      coc-settings.json
  2. 1 1
      plug-config/coc.vim

+ 11 - 6
coc-settings.json

@@ -5,14 +5,16 @@
   "suggest.completionItemKindLabels": {
   "suggest.completionItemKindLabels": {
     "text": "t",
     "text": "t",
     "method": "m",
     "method": "m",
-    "function": "f"
+    "function": ""
   },
   },
 
 
   // diagnostics
   // diagnostics
-  "diagnostic.errorSign": "",
-  "diagnostic.warningSign": "",
+  "diagnostic.errorSign": "",
+  "diagnostic.warningSign": "",
   "diagnostic.infoSign": "",
   "diagnostic.infoSign": "",
   "diagnostic.hintSign": " ",
   "diagnostic.hintSign": " ",
+  "diagnostic.virtualText": true, // this won't work with codelens when error on same line
+
   // "diagnostic.displayByAle": true,
   // "diagnostic.displayByAle": true,
 
 
   // codelens TODO what does this get me?
   // codelens TODO what does this get me?
@@ -38,7 +40,12 @@
   // python config
   // python config
   "python.linting.enabled": true,
   "python.linting.enabled": true,
   "python.linting.pylintEnabled": true,
   "python.linting.pylintEnabled": true,
-  // "python.linting.pylintPath": "~/.local/bin/pylint",
+  "python.formatting.provider": "black",
+  "python.formatting.blackPath": "~/.miniconda/envs/neovim/bin/black",
+  // "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
+  "python.condaPath": "~/.miniconda/bin/conda",
+  "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
+  "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
 
 
   // snippets
   // snippets
   "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
   "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
@@ -69,8 +76,6 @@
     }
     }
   }
   }
 
 
-  // TODO language servers
-  // TODO g:coc_global_extensions
   // TODO b:coc_suggest_disable=1 GOYO
   // TODO b:coc_suggest_disable=1 GOYO
   // TODO add to paths.vim g:coc_node_path
   // TODO add to paths.vim g:coc_node_path
 }
 }

+ 1 - 1
plug-config/coc.vim

@@ -17,7 +17,7 @@
     \ 'coc-xml',
     \ 'coc-xml',
     \ 'coc-yank',
     \ 'coc-yank',
     \ 'coc-json',
     \ 'coc-json',
-    \ 'coc-vimtex',
+    \ 'coc-marketplace',
     \ ]
     \ ]
 
 
 " Use tab for trigger completion with characters ahead and navigate.
 " Use tab for trigger completion with characters ahead and navigate.