From 74154f384759bd383273e9311e7e0e05e0f454a9 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Sat, 7 Dec 2024 11:22:05 +1030 Subject: [PATCH] fix: lspconfig node modules path --- .config/nvim/lua/plugins/lspconfig.lua | 3 +-- .local/bin/tmux-sessionizer | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/plugins/lspconfig.lua b/.config/nvim/lua/plugins/lspconfig.lua index d808fc3..956557b 100644 --- a/.config/nvim/lua/plugins/lspconfig.lua +++ b/.config/nvim/lua/plugins/lspconfig.lua @@ -103,8 +103,7 @@ return { return result:lower():gsub("%s+", "") end - -- base_path = "/usr/lib/node_modules" - local base_path = "/usr/local/lib/node_modules" + local base_path = "/usr/lib/node_modules" if get_os() == "darwin" then base_path = "/opt/homebrew/lib/node_modules" end diff --git a/.local/bin/tmux-sessionizer b/.local/bin/tmux-sessionizer index 54afb7e..cbe49c7 100755 --- a/.local/bin/tmux-sessionizer +++ b/.local/bin/tmux-sessionizer @@ -3,7 +3,7 @@ if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/go/src/git.tovijaeschke.xyz/tovi/ ~/ /usr/local/src -mindepth 1 -maxdepth 1 -type d | fzf) + selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/go/src/git.tovijaeschke.xyz/tovi/ ~/ /usr/local/src ~/Projects/codium/ ~/Projects/tsc -mindepth 1 -maxdepth 1 -type d | fzf) fi if [[ -z $selected ]]; then