|
@@ -1,7 +1,12 @@
|
|
{
|
|
{
|
|
-
|
|
|
|
// suggestions
|
|
// suggestions
|
|
// "suggest.echodocSupport": true,
|
|
// "suggest.echodocSupport": true,
|
|
|
|
+ // TODO add more labels and give them cool glyphs
|
|
|
|
+ "suggest.completionItemKindLabels": {
|
|
|
|
+ "text": "t",
|
|
|
|
+ "method": "m",
|
|
|
|
+ "function": "f"
|
|
|
|
+ },
|
|
|
|
|
|
// diagnostics
|
|
// diagnostics
|
|
"diagnostic.errorSign": "✗",
|
|
"diagnostic.errorSign": "✗",
|
|
@@ -18,7 +23,16 @@
|
|
"list.selectedSignText": " ",
|
|
"list.selectedSignText": " ",
|
|
|
|
|
|
// autoformat
|
|
// autoformat
|
|
- "coc.preferences.formatOnSaveFiletypes": ["css", "markdown", "javascript", "graphql", "html", "yaml", "json", "python"],
|
|
|
|
|
|
+ "coc.preferences.formatOnSaveFiletypes": [
|
|
|
|
+ "css",
|
|
|
|
+ "markdown",
|
|
|
|
+ "javascript",
|
|
|
|
+ "graphql",
|
|
|
|
+ "html",
|
|
|
|
+ "yaml",
|
|
|
|
+ "json",
|
|
|
|
+ "python"
|
|
|
|
+ ],
|
|
"coc.preferences.hoverTarget": "float",
|
|
"coc.preferences.hoverTarget": "float",
|
|
|
|
|
|
// python config
|
|
// python config
|
|
@@ -26,23 +40,19 @@
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.pylintEnabled": true,
|
|
|
|
|
|
// snippets
|
|
// snippets
|
|
- "snippets.ultisnips.directories":
|
|
|
|
- [
|
|
|
|
- "UltiSnips",
|
|
|
|
- "~/.config/nvim/utils/snips"
|
|
|
|
- ],
|
|
|
|
|
|
+ "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/utils/snips"],
|
|
|
|
|
|
// explorer
|
|
// explorer
|
|
"explorer.width": 30,
|
|
"explorer.width": 30,
|
|
"explorer.icon.enableNerdfont": true,
|
|
"explorer.icon.enableNerdfont": true,
|
|
"explorer.previewAction.onHover": false,
|
|
"explorer.previewAction.onHover": false,
|
|
- "explorer.icon.enableVimDevicons": true,
|
|
|
|
|
|
+ "explorer.icon.enableVimDevicons": false,
|
|
"explorer.keyMappings": {
|
|
"explorer.keyMappings": {
|
|
"<cr>": ["expandable?", "expand", "open"],
|
|
"<cr>": ["expandable?", "expand", "open"],
|
|
"v": "open:vsplit"
|
|
"v": "open:vsplit"
|
|
},
|
|
},
|
|
|
|
|
|
- "languageserver":{
|
|
|
|
|
|
+ "languageserver": {
|
|
"bash": {
|
|
"bash": {
|
|
"command": "bash-language-server",
|
|
"command": "bash-language-server",
|
|
"args": ["start"],
|
|
"args": ["start"],
|