diff --git a/nvim/lua/lsp.lua b/nvim/lua/lsp.lua index b866101..4a61b35 100644 --- a/nvim/lua/lsp.lua +++ b/nvim/lua/lsp.lua @@ -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" } diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 4f47ee3..910df03 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -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 diff --git a/scripts/uzui/monitor_connect b/scripts/uzui/monitor_connect index f01a96c..7e60fb8 100755 --- a/scripts/uzui/monitor_connect +++ b/scripts/uzui/monitor_connect @@ -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 diff --git a/zsh/zshrc b/zsh/zshrc index 89efe8d..c44bfde 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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