Skip to content

Commit

Permalink
fix code check reports
Browse files Browse the repository at this point in the history
  • Loading branch information
codepuncher committed May 20, 2024
1 parent 7e75253 commit 609bf26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/lsp/servers/volar.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local _M = {}

_M.setup = function(on_attach, capabilities)
local typescript_path = vim.env.HOME..'/.config/yarn/global/node_modules/typescript/lib'
local typescript_path = vim.env.HOME .. '/.config/yarn/global/node_modules/typescript/lib'
require('lspconfig').volar.setup({
on_attach = on_attach,
capabilities = capabilities,
Expand Down
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ install_packages() {
fi

if grep --quiet 'ID=manjaro' /etc/os-release; then
# shellcheck disable=2119
install_arch_packages
post_install_packages
setup_arch_services
post_setup_arch_services
elif grep --quiet --ignore-case microsoft /proc/sys/kernel/osrelease; then
install_wsl_packages
fi
# shellcheck disable=2119
install_go_packages
}

Expand Down
1 change: 1 addition & 0 deletions shell/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ php_switch_version() {
# WSL
alias op='op.exe'
settitle() {
# shellcheck disable=SC2154
export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
echo -ne '\033]0;'"$1"'\a'
}
Expand Down
1 change: 1 addition & 0 deletions shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ install_rustup() {
}

install_mailpit() {
# shellcheck disable=2024
if ! sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh); then
echo 'Failed to install Mailpit' >&2
return 1
Expand Down

0 comments on commit 609bf26

Please sign in to comment.