Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yerlaser committed Sep 29, 2023
1 parent 569db68 commit 1e2f9a2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
13 changes: 8 additions & 5 deletions configs/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
theme = 'catppuccin_mocha'
[editor]
line-number = "relative"
cursorline = true
auto-format = false
color-modes = true
cursorline = true
line-number = "relative"

# [editor.smart-tab]
# supersede-menu = false
[editor.smart-tab]
enable = false
supersede-menu = false

[editor.indent-guides]
render = true
Expand Down Expand Up @@ -90,8 +92,9 @@ select = "underline"
"," = "command_palette"
"/" = "global_search"
"a" = "code_action"
"f" = "select_references_to_symbol_under_cursor"
"f" = ":format"
"r" = "rename_symbol"
"s" = "select_references_to_symbol_under_cursor"
"y" = "yank_joined_to_clipboard"
"Y" = "yank_main_selection_to_clipboard"

Expand Down
9 changes: 6 additions & 3 deletions configs/nushell/env.nu
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# if 'ITERM_PROFILE' in $env and $env.ITERM_PROFILE == 'Light' {
# $env.THEME = 'Light'
# }
if 'ITERM_PROFILE' in $env and $env.ITERM_PROFILE == 'Light' {
$env.THEME = 'Light'
if ("~/werkstatt/configs/env.nu" | path exists) {
source "~/werkstatt/configs/env.nu"
}
}

if 'TERM_PROGRAM' in $env and $env.TERM_PROGRAM == 'WezTerm' {
$env.THEME = 'Light'
Expand Down

0 comments on commit 1e2f9a2

Please sign in to comment.