Skip to content

Commit

Permalink
feat(prog): make cov obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 9, 2023
1 parent 7841b94 commit 4516c9b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 15 deletions.
15 changes: 0 additions & 15 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -194,21 +194,6 @@ the children of class at point."
:hook (prog-mode . eldoc-box-hover-at-point-mode)
:hook (eglot-managed-mode . eldoc-box-hover-at-point-mode))

(use-package cov
:straight (:host github :repo "abougouffa/cov" :branch "feat/gcov-cmake")
:custom
(cov-highlight-lines t)
:config
(defun +cov-coverage-mode ()
(interactive)
(if cov-coverage-mode
(progn
(setq cov-coverage-mode nil)
(message "Disabled coverage mode, showing how often lines are executed."))
(setq cov-coverage-mode t)
(message "Enabled coverage mode."))
(cov-update)))

(use-package compile-multi
:straight t
:commands +project-compile-multi
Expand Down
40 changes: 40 additions & 0 deletions modules/obsolete/me-cov.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
;;; me-cov.el --- Code coverage -*- lexical-binding: t; -*-
;;
;; Filename: me-cov.el
;; Description:
;; Author: Abdelhak Bougouffa (concat "abougouffa" "@" "fedora" "project" "." "org")
;; Created: Sun Jul 9 23:26:43 2023 (+0200)
;; Version:
;; Last-Updated:
;; Update #: 0
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Commentary:
;;
;;
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Code:

(use-package cov
:straight (:host github :repo "abougouffa/cov" :branch "feat/gcov-cmake")
:custom
(cov-highlight-lines t)
:config
(defun +cov-coverage-mode ()
(interactive)
(if cov-coverage-mode
(progn
(setq cov-coverage-mode nil)
(message "Disabled coverage mode, showing how often lines are executed."))
(setq cov-coverage-mode t)
(message "Enabled coverage mode."))
(cov-update)))


(provide 'obsolete/me-cov)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; me-cov.el ends here

0 comments on commit 4516c9b

Please sign in to comment.