Created
April 13, 2024 17:15
-
-
Save n-ce/0c603c42f234b1873e43efdce9665abe to your computer and use it in GitHub Desktop.
Helix Config & LSP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme = "onedarker" | |
[editor] | |
auto-save = true | |
[editor.gutters] | |
layout = ["line-numbers", "diff"] | |
[editor.gutters.line-numbers] | |
min-width = 0 | |
[editor.soft-wrap] | |
enable = true | |
wrap-indicator = "⌉" | |
[editor.statusline] | |
left = ["mode","diagnostics","spinner", "file-name", "read-only-indicator", "file-modification-indicator"] | |
right = ["selections", "register", "position", "file-encoding"] | |
mode.normal = 'N' | |
mode.insert = 'I' | |
mode.select = 'S' | |
[keys.insert] | |
C-s = ":w" | |
C-f = "file_picker" | |
[keys.normal] | |
r = ":w" | |
f = "file_picker" | |
F = "file_picker_in_current_directory" | |
Y = "yank_main_selection_to_clipboard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[language]] | |
name = "jsx" | |
auto-format = true | |
[[language]] | |
name = "tsx" | |
auto-format = true | |
[[language]] | |
name = "javascript" | |
auto-format = true | |
[[language]] | |
name = "typescript" | |
auto-format = true | |
[[language]] | |
name = "html" | |
auto-format = true | |
[[language]] | |
name = "css" | |
auto-format = true | |
[[language]] | |
name = "python" | |
auto-format = true | |
language-servers = [ "pyright" ] | |
formatter = { command = "black", args = ["--quiet", "-"] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment