UPDATE ALL THE THINGS

:W

:
This commit is contained in:
Antun Krasic
2024-02-12 01:56:18 +00:00
parent 64dd3b79d1
commit c32519087c
2 changed files with 13 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ theme = "monokai_pro"
[editor] [editor]
bufferline = "always" bufferline = "always"
true-color = true
[editor.statusline] [editor.statusline]
left = ["mode", "spinner"] left = ["mode", "spinner"]
@@ -14,10 +15,11 @@ mode.insert = "INSERT"
mode.select = "SELECT" mode.select = "SELECT"
[editor.gutters] [editor.gutters]
layout = ["diff", "diagnostics", "line-numbers", "spacer"] layout = ["line-numbers", "diff", "diagnostics", "spacer"]
[editor.lsp] [editor.lsp]
display-messages = true display-messages = true
display-inlay-hints = true
[editor.indent-guides] [editor.indent-guides]
render = true render = true
@@ -26,3 +28,7 @@ skip-levels = 1
[keys.normal] [keys.normal]
C-g = ":sh tmux popup -d \"#{pane_current_path}\" -xC -yC -w80% -h80% -E lazygit" C-g = ":sh tmux popup -d \"#{pane_current_path}\" -xC -yC -w80% -h80% -E lazygit"
[keys.insert]
C-c = "normal_mode"
A-c = "toggle_comments"

6
languages.toml Normal file
View File

@@ -0,0 +1,6 @@
[[language]]
name = "yaml"
file-types = ["yaml", "yml"]
language-servers = [ "yaml-language-server" ]
auto-format = true
formatter = { command = "prettier", args = ["--parser", "yaml"] }