Skip to content

Commit

Permalink
Updated the TypeScript lsp name
Browse files Browse the repository at this point in the history
See williamboman/mason-lspconfig.nvim#458 for
futher information.
  • Loading branch information
Dari-OS committed Sep 27, 2024
1 parent 30d3965 commit 1182e25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .config/nvim/lua/dari-os/plugins/lsp/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ return {
mason_lspconfig.setup({
-- list of servers for mason to install
ensure_installed = {
"tsserver",
"ts_ls",
"html",
"cssls",
"tailwindcss",
Expand Down
17 changes: 15 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,24 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

if [ -z "$TMUX" ]; then
#if [ -z "$TMUX" ]; then
#tmux attach -t main || tmux new-session -s main
#fi

tmux attach -t main || tmux new-session -s main
session_name="main"

tmux has-session -t $session_name 2>/dev/null
if [[ $? -ne 0 ]]; then
TMUX='' tmux new-session -d -s "$session_name"
fi

if [[ -z "$TMUX" ]]; then
tmux attach -t "$session_name"
else
tmux switch-client -t "$session_name"
fi

fastfetch
echo ""
echo ""
echo ""

0 comments on commit 1182e25

Please sign in to comment.