chore: disable emacs aggressive indent

This commit is contained in:
Leon Schwarzäugl 2024-12-31 21:56:51 +01:00
parent ae9e5a6b5d
commit 6f6ac75754
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 437 additions and 305 deletions

View file

@ -4419,7 +4419,8 @@ A breakdown of each function:
path = "${self}/templates/${name}";
description = "${name} project ";
};
}) names);
})
names);
eachMonitor = _: monitor: {
inherit (monitor) name;
@ -4657,57 +4658,57 @@ Mostly used to install some compilers and lsp's that I want to have available wh
# lsp-related -------------------------------
# nix
# latex
texlab
# texlab
ghostscript_headless
# wireguard
wireguard-tools
# rust
rust-analyzer
clippy
rustfmt
# rust-analyzer
# clippy
# rustfmt
# go
go
gopls
# go
# gopls
# nix
nixd
# zig
zig
zls
# cpp
clang-tools
# clang-tools
# + cuda
cudatoolkit
# cudatoolkit
# ansible
# ansible-lint
# ansible-language-server
# molecule
#lsp-bridge / python
gcc
gdb
# gcc
# gdb
# (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ]))
# (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server]))
# --------------------------------------------
(stdenv.mkDerivation {
name = "oama";
# (stdenv.mkDerivation {
# name = "oama";
src = pkgs.fetchurl {
name = "oama";
url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
};
# src = pkgs.fetchurl {
# name = "oama";
# url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
# sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
# };
phases = [
"unpackPhase"
];
# phases = [
# "unpackPhase"
# ];
unpackPhase = ''
mkdir -p $out/bin
tar xvf $src -C $out/
mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
'';
# unpackPhase = ''
# mkdir -p $out/bin
# tar xvf $src -C $out/
# mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
# '';
})
# })
];
}
@ -12164,8 +12165,8 @@ Lastly, I load the =highlight-indent-guides= package. This adds a neat visual in
(set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40")
(set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50"))
(use-package aggressive-indent)
(global-aggressive-indent-mode 1)
;; (use-package aggressive-indent)
;; (global-aggressive-indent-mode 1)
#+end_src

File diff suppressed because it is too large Load diff

View file

@ -59,57 +59,57 @@
# lsp-related -------------------------------
# nix
# latex
texlab
# texlab
ghostscript_headless
# wireguard
wireguard-tools
# rust
rust-analyzer
clippy
rustfmt
# rust-analyzer
# clippy
# rustfmt
# go
go
gopls
# go
# gopls
# nix
nixd
# zig
zig
zls
# cpp
clang-tools
# clang-tools
# + cuda
cudatoolkit
# cudatoolkit
# ansible
# ansible-lint
# ansible-language-server
# molecule
#lsp-bridge / python
gcc
gdb
# gcc
# gdb
# (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ]))
# (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server]))
# --------------------------------------------
(stdenv.mkDerivation {
name = "oama";
# (stdenv.mkDerivation {
# name = "oama";
src = pkgs.fetchurl {
name = "oama";
url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
};
# src = pkgs.fetchurl {
# name = "oama";
# url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
# sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
# };
phases = [
"unpackPhase"
];
# phases = [
# "unpackPhase"
# ];
unpackPhase = ''
mkdir -p $out/bin
tar xvf $src -C $out/
mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
'';
# unpackPhase = ''
# mkdir -p $out/bin
# tar xvf $src -C $out/
# mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
# '';
})
# })
];
}

View file

@ -503,8 +503,8 @@ create a new one."
(set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40")
(set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50"))
(use-package aggressive-indent)
(global-aggressive-indent-mode 1)
;; (use-package aggressive-indent)
;; (global-aggressive-indent-mode 1)
(setq mouse-wheel-scroll-amount
'(1