configs/emacs: de-dupe go stuff, use vc-got from nixpkgs

- remove pin for overlay
This commit is contained in:
Aaron Bieber 2024-05-21 09:05:24 -06:00
parent 62d6929acb
commit e71e3a3be8
No known key found for this signature in database
3 changed files with 11 additions and 16 deletions

View File

@ -1017,9 +1017,7 @@ Elpher is a nice little gemini / gopher client.
This lets one select a ~struct~ or similar and auto add the ~`json:"NAME"`~ bits.
#+begin_src emacs-lisp
(use-package go-add-tags
:bind
("C-c t" . go-add-tags))
(use-package go-add-tags)
#+end_src
*** go-mode
@ -1419,12 +1417,10 @@ Custom agenda commands for various things.
** GOT
#+begin_src emacs-lisp
(setq vc-got-dir (expand-file-name "~/.emacs.d/site-lisp/vc-got-1.0"))
(if (file-directory-p vc-got-dir)
(use-package vc-got
:load-path vc-got-dir
:defer t
:init
(add-to-list 'vc-handled-backends 'Got)
(add-to-list 'vc-directory-exclusion-list ".got")))
(use-package vc-got
:load-path vc-got-dir
:defer t
:init
(add-to-list 'vc-handled-backends 'Got)
(add-to-list 'vc-directory-exclusion-list ".got"))
#+end_src

7
flake.lock generated
View File

@ -67,17 +67,16 @@
]
},
"locked": {
"lastModified": 1707411167,
"narHash": "sha256-0JViztrDcglHQnStH2jjFV2O0NEFx7a/CmPzgTXpzaM=",
"lastModified": 1716256173,
"narHash": "sha256-aJo8V/pEvCiF0Cu+PLPnK0FU63yNAELwSiClnaj3swc=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "64a633659fab447f12c898a32c451f88b5c3c048",
"rev": "00193d839cb752bccc8f6508e54afd2dab60c7c9",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "64a633659fab447f12c898a32c451f88b5c3c048",
"type": "github"
}
},

View File

@ -25,7 +25,7 @@
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay/64a633659fab447f12c898a32c451f88b5c3c048";
url = "github:nix-community/emacs-overlay";
inputs = {
nixpkgs.follows = "unstable";
nixpkgs-stable.follows = "stable";