From 36b21df5ee2f64683bfae7b6aec3a9acb2f89439 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Thu, 4 Nov 2021 17:51:22 +0100 Subject: [PATCH] update --- emacs.el | 32 ++++---------------------------- nix/zig.nix | 2 ++ 2 files changed, 6 insertions(+), 28 deletions(-) diff --git a/emacs.el b/emacs.el index ac4e35c..36237fe 100644 --- a/emacs.el +++ b/emacs.el @@ -62,18 +62,16 @@ (straight-use-package 'smartparens) (straight-use-package 'rainbow-delimiters) (straight-use-package 'hl-todo) -;; (straight-use-package 'counsel) (straight-use-package 'orderless) (straight-use-package 'selectrum) (straight-use-package 'consult) (straight-use-package 'marginalia) (straight-use-package 'company) -;; (straight-use-package 'eglot) (straight-use-package 'lsp-mode) (straight-use-package 'speed-type) (straight-use-package 'magit) (straight-use-package 'restart-emacs) -(straight-use-package 'mingus) +;; (straight-use-package 'mingus) (straight-use-package 'ace-window) ;; (straight-use-package 'projectile) @@ -110,6 +108,9 @@ ;; (use-package promela-mode ;; :mode "\\.pml\\'") +(use-package gcmh + :delight) + (use-package undo-tree :config (global-undo-tree-mode) @@ -142,17 +143,6 @@ (use-package hl-todo-mode :hook prog-mode) -;; (use-package ivy -;; :init -;; (ivy-mode 1) -;; ;; (setq ivy-use-virtual-buffers t) -;; (counsel-mode 1) -;; :bind (("C-c i" . counsel-imenu) -;; ("C-x M-r" . counsel-rg) -;; ("C-x M-f" . counsel-fzf) -;; ("C-x C-r" . counsel-recentf) -;; ("C-c C-r" . ivy-resume))) - (use-package orderless :custom (completion-styles '(orderless))) @@ -174,20 +164,6 @@ (global-company-mode) :bind (("C-." . company-complete))) -;; (use-package eglot -;; :commands (eglot) -;; :config -;; (add-to-list 'eglot-server-programs '(zig-mode . ("~/src/zls/zig-cache/bin/zls")))) - -;; (use-package lsp -;; :config -;; (add-to-list 'lsp-language-id-configuration '(zig-mode . "zig")) -;; (lsp-register-client -;; (make-lsp-client -;; :new-connection (lsp-stdio-connection "~/src/zls/zig-out/bin/zls") -;; :major-modes '(zig-mode) -;; :server-id 'zls))) - (use-package ace-window :config (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)) diff --git a/nix/zig.nix b/nix/zig.nix index b015de2..f4fd935 100644 --- a/nix/zig.nix +++ b/nix/zig.nix @@ -10,4 +10,6 @@ pkgs.mkShell { libxml2 zlib ]; + + hardeningDisable = [ "all" ]; }