yasnippet bug fixed

This commit is contained in:
Sameer Rahmani 2015-07-09 16:59:28 +04:30
parent dbdc7715b0
commit 3ab903d23e
1 changed files with 6 additions and 2 deletions

View File

@ -43,8 +43,12 @@
(ability yas ()
"Snippet configuration."
(let ((snippet_home (concat fg42-home "/lib/snippets")))
(setq yas-snippet-dirs (list snippet_home)))
(let ((snippet_home (concat (file-name-directory
(locate-library "yasnippet")) "snippets"))
(my_snippet (concat fg42-home "/lib/snippets")))
(setq yas-snippet-dirs (list my_snippet snippet_home)))
(yas-global-mode 1))
(ability project-management ()