summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/custom/config/language-servers.lua10
-rwxr-xr-xscripts/tmux-session-setup9
2 files changed, 17 insertions, 2 deletions
diff --git a/.config/nvim/lua/custom/config/language-servers.lua b/.config/nvim/lua/custom/config/language-servers.lua
index 29571dc..ddbaae9 100644
--- a/.config/nvim/lua/custom/config/language-servers.lua
+++ b/.config/nvim/lua/custom/config/language-servers.lua
@@ -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
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup
index c86665a..cc8217f 100755
--- a/scripts/tmux-session-setup
+++ b/scripts/tmux-session-setup
@@ -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