Properly enable clang-format and disable animations in gtk

This commit is contained in:
Konstantin Nazarov 2023-08-04 21:18:56 +01:00
parent b22651296f
commit 55cff4b52b
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
3 changed files with 19 additions and 15 deletions

View file

@ -326,8 +326,10 @@ in
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-enable-animations = "false";
gtk-enable-animations = "0";
};
gtk4.extraConfig = {
gtk-enable-animations = "0";
};
};

View file

@ -896,7 +896,7 @@ window, unless BACKGROUND (prefix-argument) is non-nil.
(use-package cmake-mode)
;; C++
;; C/C++
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs
@ -907,7 +907,9 @@ window, unless BACKGROUND (prefix-argument) is non-nil.
(use-package clang-format)
(use-package clang-format+)
(add-hook 'c-mode-hook 'clang-format+-mode)
(add-hook 'c-ts-mode-hook 'clang-format+-mode)
(add-hook 'c++-mode-hook 'clang-format+-mode)
(setq clang-format+-context 'buffer)
;; Zig

View file

@ -9,11 +9,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1690655028,
"narHash": "sha256-6ApYk2XOiyDFKDus5Ysmiw591AgxJpxK4/5rWtRWYfU=",
"lastModified": 1691144360,
"narHash": "sha256-DPaalQfXWXbyiuSqbk0dWKusniMWQSzAu0e36xU6rbA=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "2a52d78c85ee0608938670c7db79ffaba6f7b31d",
"rev": "4ba15d6f4310459e6da08dcd4d3df7f4d102bdf0",
"type": "github"
},
"original": {
@ -47,11 +47,11 @@
]
},
"locked": {
"lastModified": 1690652600,
"narHash": "sha256-Dy09g7mezToVwtFPyY25fAx1hzqNXv73/QmY5/qyR44=",
"lastModified": 1691143977,
"narHash": "sha256-zXHmmghQdDLecVxFedRxSny4FtVH9lig1/BKObsHwfg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f58889c07efa8e1328fdf93dc1796ec2a5c47f38",
"rev": "15043a65915bcc16ad207d65b202659e4988066b",
"type": "github"
},
"original": {
@ -82,11 +82,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1690659494,
"narHash": "sha256-aW5Iupj/GQ3ghbZJHxdLhwOrmMRkaVcpwBR/Qf7/Uwg=",
"lastModified": 1691167809,
"narHash": "sha256-f4JQE3ULUPsDxsoGMbtQlXDP9hLlDhoE8imqNLgPW2o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d63df5a32b6292679c95af0e41272ae0dcbb0186",
"rev": "ed02e79bbe031a7ce9cf863660f10d3ef70b8636",
"type": "github"
},
"original": {
@ -97,11 +97,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1690558459,
"narHash": "sha256-5W7y1l2cLYPkpJGNlAja7XW2X2o9rjf0O1mo9nxS9jQ=",
"lastModified": 1690927903,
"narHash": "sha256-D5gCaCROnjEKDOel//8TO/pOP87pAEtT0uT8X+0Bj/U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "48e82fe1b1c863ee26a33ce9bd39621d2ada0a33",
"rev": "bd836ac5e5a7358dea73cb74a013ca32864ccb86",
"type": "github"
},
"original": {