tsserver, trick mason.nvim

This commit is contained in:
Jozef Steinhübl 2023-08-17 09:40:27 +02:00
parent 30620d5b2c
commit 843069b691
4 changed files with 10 additions and 2 deletions

View file

@ -3,6 +3,7 @@ local lsp = require("lsp-zero")
lsp.preset("recommended") lsp.preset("recommended")
lsp.ensure_installed({ lsp.ensure_installed({
"tsserver",
"zls", "zls",
"lua_ls", "lua_ls",
"cmake", "cmake",

2
.local/bin/npm Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
pnpm $@

7
.zshrc
View file

@ -1,5 +1,5 @@
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
export PATH=$HOME/.local/bin:$PATH export PATH="$HOME/.local/bin:$PATH"
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
@ -109,3 +109,8 @@ function pacman {
command pacman "$@" command pacman "$@"
fi fi
} }
# pnpm
export PNPM_HOME="/home/hyro/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end

View file

@ -1,7 +1,7 @@
GRUB_DEFAULT="0" GRUB_DEFAULT="0"
GRUB_TIMEOUT="0" GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="Artix" GRUB_DISTRIBUTOR="Artix"
GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX_DEFAULT="quiet nvidia_drm.modeset=1"
GRUB_CMDLINE_LINUX="net.ifnames=0" GRUB_CMDLINE_LINUX="net.ifnames=0"
# Preload both GPT and MBR modules so that they are not missed # Preload both GPT and MBR modules so that they are not missed