Added YAS Snippet setup
This commit is contained in:
parent
8a3381ca79
commit
5c70c6e6ea
|
@ -5,6 +5,8 @@ EMACSD := ~/.emacs.d
|
|||
# Doom Config
|
||||
DOOMD := ~/.doom.d
|
||||
DOOM_URL := https://github.com/doomemacs/doomemacs
|
||||
YASD := ~/.doom.d/snippets
|
||||
YAS_URL := https://github.com/doomemacs/snippets
|
||||
|
||||
include ../lib/shared.mk
|
||||
|
||||
|
@ -33,6 +35,7 @@ setup:
|
|||
$(report) header "emacs init"
|
||||
$(mk_link) $(SRC_DIR) $(DOOMD)
|
||||
$(MAKE) -C $(SRC_DIR) doom_init
|
||||
$(MAKE) -C $(SRC_DIR) yas_init
|
||||
fi
|
||||
|
||||
doom_init:
|
||||
|
@ -45,3 +48,11 @@ doom_init:
|
|||
else
|
||||
$(report) debug "emacsd already exists. Skipping"
|
||||
fi
|
||||
|
||||
|
||||
yas_init:
|
||||
if [ ! -e $(YASD) ] ; then
|
||||
git clone $(YAS_URL) $(YASD) ; $(report) "YAS setup"
|
||||
else
|
||||
$(report) debug "YASD already exists. Skipping"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user