summaryrefslogtreecommitdiff
path: root/.config/nvim/coc-settings.json
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/coc-settings.json')
-rw-r--r--.config/nvim/coc-settings.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
new file mode 100644
index 0000000..aabee92
--- /dev/null
+++ b/.config/nvim/coc-settings.json
@@ -0,0 +1,31 @@
+{
+ "coc.preferences.formatOnSaveFiletypes": [
+ "css",
+ "markdown",
+ "javascript",
+ "graphql",
+ "html",
+ "yaml",
+ "json",
+ "python"
+ ],
+ // python config
+ "python.linting.enabled": true,
+ "python.linting.pylintEnabled": true,
+ "snippets.ultisnips.directories": [
+ "UltiSnips",
+ "~/.config/nvim/utils/snips"
+ ],
+ // explorer
+ "explorer.width": 30,
+ "explorer.icon.enableNerdfont": true,
+ "explorer.previewAction.onHover": false,
+ "explorer.keyMappings.global": {
+ "<cr>": [
+ "expandable?",
+ "expand",
+ "open"
+ ],
+ "v": "open:vsplit"
+ }
+}