Browse Source

fix: lspconfig node modules path

master
Tovi Jaeschke-Rogers 3 weeks ago
parent
commit
74154f3847
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      .config/nvim/lua/plugins/lspconfig.lua
  2. +1
    -1
      .local/bin/tmux-sessionizer

+ 1
- 2
.config/nvim/lua/plugins/lspconfig.lua View File

@ -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


+ 1
- 1
.local/bin/tmux-sessionizer View File

@ -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


Loading…
Cancel
Save