This commit is contained in:
h 2025-07-09 04:26:58 -04:00
parent 98b46ce869
commit 3f2c3f992d
4 changed files with 24 additions and 9 deletions

View File

@ -79,10 +79,11 @@ local lsp_confs = {
},
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
allTargets = false,
},
checkOnSave = true,
-- checkOnSave = {
-- command = "clippy",
-- allTargets = false,
-- },
cargo = {
features = "all",
}
@ -111,6 +112,11 @@ local lsp_confs = {
configfiles = { "astro.config.mjs" }
}),
},
-- nargo = {
-- root_dir = find_repo_root({
-- configfiles = { "Nargo.toml" }
-- }),
-- },
eslint = {
root_dir = find_repo_root({
configfiles = { ".eslintrc", ".eslintrc.js", "package.json" }

View File

@ -21,14 +21,19 @@ return require('packer').startup({
'mustache/vim-mustache-handlebars'
}
use {
'noir-lang/noir-nvim'
}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
config = function()
require("nvim-treesitter.configs").setup({
highlight = { enable = true, disable = { "latex" } },
highlight = { enable = true, disable = { "latex", "ipkg" } },
indent = { enable = true },
ensure_installed = "all",
ensure_installed = {},
ignore_install = { "ipkg" },
})
end

View File

@ -4,6 +4,10 @@ if [[ "$1" == "0x0" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --off
elif [[ "$1" == "mirror" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode 1920x1080 --same-as eDP-1
elif [[ "$1" == "mirror-dp" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --mode 1920x1080 --output DP-2 --off --output DP-3 --off --output HDMI-1 --off --same-as eDP-1
elif [[ "$1" == "mirror-all" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --mode 1920x1080 --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode 1920x1080 --same-as eDP-1
else
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode "$1" --pos 1920x0 --rotate normal
fi

View File

@ -1,6 +1,6 @@
export PATH=$HOME/.config/bin/$(cat /etc/hostname):$HOME/.config/bin:$HOME/.local/bin:$HOME/.local/share/texlive/2024/bin/x86_64-linux:$HOME/.local/share/cargo/bin:/home/emh/.local/share/solana/install/active_release/bin:$HOME/.local/share/npm/bin:$PATH
export MANPATH=$MANPATH:$HOME/.local/share/texlive/2024/texmf-dist/doc/man
export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2024/texmf-dist/doc/info
export PATH=$HOME/.config/bin/$(cat /etc/hostname):$HOME/.config/bin:$HOME/.local/bin:$HOME/.local/share/texlive/2025/bin/x86_64-linux:$HOME/.local/share/cargo/bin:/home/emh/.local/share/solana/install/active_release/bin:$HOME/.local/share/npm/bin:$HOME/.nargo:$PATH
export MANPATH=$MANPATH:$HOME/.local/share/texlive/2025/texmf-dist/doc/man
export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2025/texmf-dist/doc/info
. "$HOME"/.cache/theme/colors.sh
. "$HOME"/.cache/theme/variables.sh