Skip to content

Commit

Permalink
Update yasnippet configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Barski committed Dec 2, 2013
1 parent ec1bd19 commit b0ef26b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@
[submodule "site-lisp/asciidoc-el"]
path = site-lisp/asciidoc-el
url = ssh://git@github.com/metaperl/asciidoc-el
[submodule "site-lisp/haskell-mode"]
path = site-lisp/haskell-mode
url = ssh://git@github.com/haskell/haskell-mode
2 changes: 1 addition & 1 deletion rc/rc-haskell-mode.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; rc-haskell-mode.el ---
;;(add-to-list 'load-path (concat my-site-lisp-directory "haskell-mode"))
(load (concat my-site-lisp-directory "haskell-mode/haskell-site-file"))
;; (load (concat my-site-lisp-directory "haskell-mode/haskell-site-file"))

(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
;; indentation modules are mutually exclusive. Only one of them can be used.
Expand Down
6 changes: 2 additions & 4 deletions rc/rc-yasnippet.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
;; Requirements:
;; Status: not intended to be distributed yet

(add-to-list 'load-path
(concat my-site-lisp-directory "yasnippet"))
(require 'yasnippet)

;; (eval-after-load 'yasnippet
Expand All @@ -24,8 +22,8 @@
;; ))
;; (add-hook 'after-save-hook 'alexott/update-yasnippets-on-save)

(add-to-list 'yas/snippet-dirs "~/rc/snippets")
(yas/global-mode 1)
(add-to-list 'yas-snippet-dirs "~/rc/snippets")
(yas-global-mode 1)

;;; rc-yasnippet.el ends here

1 change: 0 additions & 1 deletion site-lisp/haskell-mode
Submodule haskell-mode deleted from 850880

0 comments on commit b0ef26b

Please sign in to comment.