From 2b9b97ca70a7eb6121489f5ba2b40ee3077f332b Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Sun, 23 Mar 2025 18:25:59 -0400 Subject: update --- modules/neovim/nvim/lua/config/lsp.lua | 8 ++++---- modules/tmux/default.nix | 13 +++++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/neovim/nvim/lua/config/lsp.lua b/modules/neovim/nvim/lua/config/lsp.lua index 3313fff..be50537 100644 --- a/modules/neovim/nvim/lua/config/lsp.lua +++ b/modules/neovim/nvim/lua/config/lsp.lua @@ -18,7 +18,7 @@ require('blink.cmp').setup({ }, menu = { border = "rounded", - auto_show = true, + auto_show = false, }, documentation = { window = { border = 'rounded' } }, }, @@ -47,9 +47,9 @@ vim.api.nvim_create_autocmd("LspAttach", { callback = function(args) end, { desc = "Goto definition (LSP)" }) vim.keymap.set('n', 'E', 'lua vim.lsp.buf.hover()', { silent = true }) - if client:supports_method(methods.textDocument_inlayHint) then - vim.lsp.inlay_hint.enable() - end + -- if client:supports_method(methods.textDocument_inlayHint) then + -- vim.lsp.inlay_hint.enable() + -- end if client:supports_method(methods.textDocument_formatting) then vim.api.nvim_create_autocmd("BufWritePre", { diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index a74d447..17a03eb 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -22,14 +22,19 @@ in plugin = resurrect; extraConfig = '' set -g @resurrect-strategy-nvim 'session' + set -g @resurrect-processes '"~ssh" lazygit' + ''; + } + { + plugin = continuum; + extraConfig = '' + set -g @continuum-restore 'on' ''; } ]; extraConfig = '' set -g default-terminal "screen-256color" - set -g default-command zsh -# screen-256 ls colors broken, zsh fixed -# screen ls colors fixed, zsh autosuggestions broken + set -g default-command zsh # this fixes colors for some reason set -g renumber-windows on bind R source-file ~/.config/tmux/tmux.conf @@ -91,7 +96,7 @@ in bind \[ swap-pane -U bind \] swap-pane -D - bind v copy-mode-vi + bind v copy-mode bind F resize-pane -Z bind h select-pane -m -- cgit v1.2.3