Uses yasnippet-licenses through straight
This commit is contained in:
36
.emacs
36
.emacs
@@ -69,16 +69,24 @@
|
|||||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
||||||
("gnu" . "https://elpa.gnu.org/packages/")))
|
("gnu" . "https://elpa.gnu.org/packages/")))
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
(eval-when-compile
|
|
||||||
(unless (package-installed-p 'use-package)
|
|
||||||
(unless package-archive-contents
|
|
||||||
(package-refresh-contents))
|
|
||||||
(package-install 'use-package)
|
|
||||||
)
|
|
||||||
(require 'use-package)
|
|
||||||
)
|
|
||||||
|
|
||||||
(require 'use-package)
|
(defvar bootstrap-version)
|
||||||
|
(let ((bootstrap-file
|
||||||
|
(expand-file-name
|
||||||
|
"straight/repos/straight.el/bootstrap.el"
|
||||||
|
(or (bound-and-true-p straight-base-dir)
|
||||||
|
user-emacs-directory)))
|
||||||
|
(bootstrap-version 7))
|
||||||
|
(unless (file-exists-p bootstrap-file)
|
||||||
|
(with-current-buffer
|
||||||
|
(url-retrieve-synchronously
|
||||||
|
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||||
|
'silent 'inhibit-cookies)
|
||||||
|
(goto-char (point-max))
|
||||||
|
(eval-print-last-sexp)))
|
||||||
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
|
(straight-use-package 'use-package)
|
||||||
(require 'use-package-ensure)
|
(require 'use-package-ensure)
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
|
||||||
@@ -540,6 +548,16 @@
|
|||||||
:after yasnippet
|
:after yasnippet
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package yasnippet-licenses
|
||||||
|
:straight (yasnippet-licenses
|
||||||
|
:type git
|
||||||
|
:host github
|
||||||
|
:repo "atuleu/yasnippet-licenses"
|
||||||
|
:files (:defaults "*.el" "snippets")
|
||||||
|
)
|
||||||
|
:after yasnippet
|
||||||
|
)
|
||||||
|
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:bind ( :map projectile-mode-map
|
:bind ( :map projectile-mode-map
|
||||||
( "C-c p" . 'projectile-command-map)
|
( "C-c p" . 'projectile-command-map)
|
||||||
|
|||||||
Reference in New Issue
Block a user