This commit is contained in:
Le_Foucheur committed 2026-01-01 14:48:20 +01:00
1 parent 9eb6226619
commit 06f5b28291
26 files changed

No files matched your search

+95
View File
@@ -0,0 +1,95 @@
theme = "monokai_custom"
[editor]
auto-save.focus-lost = true # default: false
auto-save.after-delay.enable = true # default: false
auto-save.after-delay.timeout = 500 # range: [0; u64::MAX] default: 3000
color-modes = true
bufferline = "multiple"
preview-completion-insert = false
completion-replace = true
[editor.lsp]
display-inlay-hints = true
display-messages = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.file-picker]
hidden = false
[editor.indent-guides]
render = true
[editor.statusline]
left = ["mode", "spinner", "version-control", "spacer", "diagnostics"]
center = ["file-name"]
right = ["position", "total-line-numbers", "separator", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.inline-diagnostics]
cursor-line = "hint"
other-lines = "error"
[keys.normal]
"S-A-e" = ":fmt"
"C-h" = "toggle_comments"
"C-c" = ":clipboard-yank"
"C-x" = [":clipboard-yank", "delete_selection"]
"C-v" = ":clipboard-paste-replace"
# custom movements and key swaps
"n" = "move_char_right"
"s" = "move_char_left"
"h" = "move_visual_line_down"
"l" = "move_visual_line_up"
"j" = "select_regex"
"C-i" = "page_cursor_half_down"
"C-d" = ["search_selection", "select_mode", "extend_search_next", "normal_mode"]
"tab" = "indent"
"S-tab" = "unindent"
A-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
"C-q" = ":quit"
[keys.select]
"S-A-e" = ":fmt"
"C-h" = "toggle_comments"
"C-c" = ":clipboard-yank"
"C-x" = [":clipboard-yank", "delete_selection"]
"C-v" = ":clipboard-paste-replace"
# custom movements and key swaps
"n" = "extend_char_right"
"s" = "extend_char_left"
"h" = "extend_visual_line_down"
"l" = "extend_visual_line_up"
"j" = "select_regex"
"k" = "extend_search_next"
"K" = "extend_search_prev"
"tab" = "indent"
"S-tab" = "unindent"
[keys.insert]
"S-A-e" = ":fmt"
"C-h" = "toggle_comments"
"C-c" = ":clipboard-yank"
"C-x" = [":clipboard-yank", "delete_selection"]
"C-v" = ":clipboard-paste-replace"
"C-space" = "completion"
A-down = ["extend_to_line_bounds", "delete_selection", "paste_after", "move_line_down"]
A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before", "move_line_up"]
+1
View File
@@ -0,0 +1 @@
target/**
+84
View File
@@ -0,0 +1,84 @@
[language-server]
emmet-ls = { command = "emmet-ls", args = [ "--stdio" ]}
[language-server.eslint]
command = "vscode-eslint-language-server"
args = ["--stdio"]
[language-server.eslint.config]
codeActionsOnSave = { mode = "all", "source.fixAll.eslint" = true }
format = { enable = true }
nodePath = ""
quiet = false
rulesCustomizations = []
run = "onType"
validate = "on"
experimental = {}
problems = { shortenToSingleLine = false }
[language-server.eslint.config.codeAction]
disableRuleComment = { enable = true, location = "separateLine" }
showDocumentation = { enable = true }
[language-server.eslint.config.workingDirectory]
mode = "location"
[language-server.vscode-json-language-server.config]
json = { validate = { enable = true }, format = { enable = true } }
provideFormatter = true
[language-server.vscode-css-language-server.config]
css = { validate = { enable = true } }
scss = { validate = { enable = true } }
less = { validate = { enable = true } }
provideFormatter = true
[language-server.cssmodules]
command = "cssmodules-language-server"
args = []
[language-server.rust-analyzer]
config = { cargo = { features = "all" } }
[language-server.gpt]
command = "helix-gpt"
args = ["--handler", "copilot", "--copilotApiKey", "KEY_HERE"]
[[language]]
name = "typescript"
indent = { tab-width = 4, unit = " " }
language-servers = [ "typescript-language-server", "eslint", "emmet-ls" ]
[[language]]
name = "tsx"
indent = { tab-width = 4, unit = " " }
language-servers = [ "typescript-language-server", "eslint", "cssmodules", "emmet-ls" ]
# auto-format = true
[[language]]
name = "rust"
indent = { tab-width = 4, unit = " " }
formatter = { command = "rustfmt" }
auto-format = false
[[language]]
name = "scss"
indent = { tab-width = 4, unit = " " }
language-servers = [ "vscode-css-language-server", "cssmodules" ]
auto-format = true
[[grammar]]
name = "scss"
# source = { path = "/home/julien/code/tree-sitter-scss" }
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-scss", rev = "8f47fa8be72ac299cab4c6aa02668635f2dcd4be" }
[[language]]
name = "toml"
language-servers = [
"gpt",
]
[[language]]
name = "ocaml"
indent = { tab-width = 4, unit = " " }
formatter = { command = "ocamlformat", args=["-", "--impl", "--enable-outside-detected-project"] }
+1
View File
@@ -0,0 +1 @@
/home/jvj/runtime
+32
View File
@@ -0,0 +1,32 @@
inherits = "monokai_pro"
"constant" = "purple"
"variable.builtin" = "base8"
"constant.builtin" = "purple"
"constant.character.escape" = "purple"
"constant.character" = "yellow"
# classes, types, primitives
"type" = "blue"
"type.builtin" = "blue"
"punctuation.embedded.jsx" = "orange"
# Custom
"tag" = "red"
"attribute.jsx" = { fg = "blue", modifiers = ["italic"] }
"ui.virtual.indent-guide" = "base3"
"ui.statusline.select" = { fg = "base4", bg = "red" }
"ui.statusline.separator" = "base6"
"variable.scss" = { fg = "orange", modifiers = ["italic"] }
"variable.scss.ident" = "green"
"classname" = { fg = "green", modifiers = ["italic"] }
"idname" = { fg = "orange", modifiers = ["italic"] }
"punctuation.italic" = { fg = "base6", modifiers = ["italic"] }
"string.delimiter" = "base6"
"punctuation.delimiter.rust" = "red"
"variable.builtin.self" = { fg = "base7", modifiers = ["italic"] }