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

View File

@ -21,14 +21,19 @@ return require('packer').startup({
'mustache/vim-mustache-handlebars' 'mustache/vim-mustache-handlebars'
} }
use {
'noir-lang/noir-nvim'
}
use { use {
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate', run = ':TSUpdate',
config = function() config = function()
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
highlight = { enable = true, disable = { "latex" } }, highlight = { enable = true, disable = { "latex", "ipkg" } },
indent = { enable = true }, indent = { enable = true },
ensure_installed = "all", ensure_installed = {},
ignore_install = { "ipkg" },
}) })
end 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 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 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 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 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 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 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 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/2024/texmf-dist/doc/man export MANPATH=$MANPATH:$HOME/.local/share/texlive/2025/texmf-dist/doc/man
export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2024/texmf-dist/doc/info export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2025/texmf-dist/doc/info
. "$HOME"/.cache/theme/colors.sh . "$HOME"/.cache/theme/colors.sh
. "$HOME"/.cache/theme/variables.sh . "$HOME"/.cache/theme/variables.sh