From ce354185e86eaae06bfbf6cf27a10af2b2ddf036 Mon Sep 17 00:00:00 2001 From: aciceri Date: Mon, 4 Oct 2021 12:27:57 +0200 Subject: [PATCH] Testing magit --- README.org | 12 ++++++++---- users/profiles/emacs/emacs.d/config/config-lsp.el | 7 +------ users/profiles/emacs/emacs.d/config/config-org.el | 5 +++++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 users/profiles/emacs/emacs.d/config/config-org.el diff --git a/README.org b/README.org index 73d2616..31e9fe4 100644 --- a/README.org +++ b/README.org @@ -48,9 +48,13 @@ Using ~deploy-rs~ I guess, still finding out how to do. ** Github Actions *** Check and build -At every commit pushed on ~master~ a Github actions which ~nix flake check~ the flake is executed and then every system is build. -Currently this workflow will skip ~aarch64~ hosts since the runner is ~x86_64~ and I didn't find a way to make it cross compile. +At every commit pushed on ~master~ a Github actions which ~nix flake +check~ the flake is executed and then every system is build. +Currently this workflow will skip ~aarch64~ hosts since the runner is +~x86_64~ and I didn't find a way to make it cross compile. *** Release -At every commit tagget with a ~v~ character a process that release all the bootstrap ISOs for the systems is started. -Here I've the same problem with ~aarch64~ hosts so the runner will skip them. +At every tagged commit whose tag name starts with ~release-~ a process +that release all the bootstrap ISOs for the systems is started. Here +I've the same problem with ~aarch64~ hosts so the runner will skip +them. diff --git a/users/profiles/emacs/emacs.d/config/config-lsp.el b/users/profiles/emacs/emacs.d/config/config-lsp.el index 5297d0a..580053e 100644 --- a/users/profiles/emacs/emacs.d/config/config-lsp.el +++ b/users/profiles/emacs/emacs.d/config/config-lsp.el @@ -1,8 +1,3 @@ -(defun my-lsp-format-buffer () - (if (eq major-mode 'nix-mode) - (lsp-format-buffer))) - - (use-package lsp-mode :init ;; set prefix for lsp-command-keymap (few alternatives - "C-l", "C-c l") @@ -11,7 +6,7 @@ (nix-mode . lsp) ;; if you want which-key integration (lsp-mode . lsp-enable-which-key-integration)) - (before-save . my-lsp-format-buffer) + (before-save . lsp-format-buffer) :commands lsp) ;; optionally diff --git a/users/profiles/emacs/emacs.d/config/config-org.el b/users/profiles/emacs/emacs.d/config/config-org.el new file mode 100644 index 0000000..c4d6413 --- /dev/null +++ b/users/profiles/emacs/emacs.d/config/config-org.el @@ -0,0 +1,5 @@ +(use-package org + :init (setq fill-column 80) + :hook (org-mode . refill-mode)) + +(provide 'config-org)