Changed some zig lsp stuff

This commit is contained in:
2025-02-09 20:48:09 +02:00
parent bc92210775
commit ceb2a697c5
2 changed files with 17 additions and 2 deletions

View File

@@ -134,10 +134,16 @@ return {
settings = {
zls = {
enable_build_on_save = true,
build_on_save_args = { '-Doptimize=ReleaseSafe', '-Darch=x86_64' },
build_on_save_args = {},
enable_argument_placeholders = false,
warn_style = true,
inlay_hints_show_variable_type_hints = true,
inlay_hints_show_struct_literal_field_type = true,
inlay_hints_show_parameter_name = true,
inlay_hints_show_builtin = true,
inlay_hints_hide_redundant_param_names = true,
inlay_hints_hide_redundant_param_names_last_token = true,
warn_style = true,
},
},
}, -- zig

View File

@@ -14,6 +14,15 @@ if [ "$dir" = "$HOME" ]; then
tmux send-keys -t $sess:diary.1 "vim" C-m
tmux select-window -t $sess:main
elif [ "$sess" = "raytry" ]; then
tmux rename-window -t $sess:1 editor
tmux send-keys -t $sess:editor.1 "nix develop" C-m
tmux send-keys -t $sess:editor.1 "nvim" C-m
tmux new-window -t $sess -n game -c $dir
tmux send-keys -t $sess:game.1 "nix develop" C-m
tmux select-window -t $sess:editor
elif [ "$sess" = "eko" ]; then
tmux rename-window -t $sess:1 editor
tmux send-keys -t $sess:editor.1 "vim" C-m