From b66b3cf439a0bc1c970085231d1e55e2e64f2ccc Mon Sep 17 00:00:00 2001 From: Smirnov Alexander Date: Sat, 2 Apr 2022 18:02:26 +0300 Subject: [PATCH] added config for helix & updated vscode config --- config/helix/config.toml | 18 ++++++++++++++++++ config/helix/languages.toml | 4 ++++ vscode/settings.json | 7 +++---- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 config/helix/config.toml create mode 100644 config/helix/languages.toml diff --git a/config/helix/config.toml b/config/helix/config.toml new file mode 100644 index 0000000..a782a27 --- /dev/null +++ b/config/helix/config.toml @@ -0,0 +1,18 @@ +theme = "onedark" + +[editor] +line-number = "relative" +scrolloff = 8 +true-color = true + +[editor.cursor-shape] +insert = "bar" + +[editor.lsp] +display-messages = true + +[keys.normal] +C-s = ":w" + +[keys.insert] +j = { k = "normal_mode" } \ No newline at end of file diff --git a/config/helix/languages.toml b/config/helix/languages.toml new file mode 100644 index 0000000..408d402 --- /dev/null +++ b/config/helix/languages.toml @@ -0,0 +1,4 @@ +[[language]] +name = "python" +roots = ["pyproject.toml"] +language-server = { command = "$HOME/.local/share/nvim/lap_servers/python/node_modeules/.bin/pyrigut-langserver", args = ["--stdio"] } \ No newline at end of file diff --git a/vscode/settings.json b/vscode/settings.json index 475d0da..9631fb6 100644 --- a/vscode/settings.json +++ b/vscode/settings.json @@ -1,9 +1,9 @@ { - "workbench.colorTheme": "Nord", + "workbench.colorTheme": "Tokyo Storm Gogh", "workbench.iconTheme": "material-icon-theme", "workbench.sideBar.location": "left", "workbench.startupEditor": "none", - "workbench.activityBar.visible": true, + "workbench.activityBar.visible": false, "window.menuBarVisibility": "toggle", "update.showReleaseNotes": false, // Font @@ -61,7 +61,6 @@ "go.formatTool": "gofumpt", "python.formatting.provider": "black", "python.analysis.autoImportCompletions": true, - "python.formatting.blackPath": "~/.local/bin/black", "javascript.suggestionActions.enabled": false, "typescript.suggestionActions.enabled": false, "[go]": { @@ -86,4 +85,4 @@ "liveServer.settings.donotVerifyTags": true, "diffEditor.ignoreTrimWhitespace": false, "gitlens.hovers.currentLine.over": "line" -} +} \ No newline at end of file