Skip to content

Upgradeto latest yasnippet #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "extensions/yasnippet"]
path = extensions/yasnippet
url = https://github.com/capitaomorte/yasnippet.git
14 changes: 6 additions & 8 deletions epy-editing.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;; ibuffer by default
0;95;c;; ibuffer by default

(global-set-key (kbd "C-x C-b") 'ibuffer)
;; Ido mode with fuzzy matching
Expand All @@ -25,14 +25,12 @@
(defun epy-django-snippets ()
"Load django snippets"
(interactive)
(yas/load-directory (concat epy-install-dir "snippets/django"))
)
(add-to-list 'yas-snippet-dirs (concat epy-install-dir "snippets/django")))


(yas/initialize)
(yas/load-directory (concat epy-install-dir "extensions/yasnippet/snippets"))
(setq yas/prompt-functions '(yas/dropdown-prompt yas/ido-prompt yas/x-prompt))
(setq yas/wrap-around-region 'cua)
(yas-global-mode 1)
(add-to-list 'yas-snippet-dirs (concat epy-install-dir "extensions/yasnippet/snippets"))
(setq yas-prompt-functions '(yas-dropdown-prompt yas-ido-prompt yas-x-prompt))
(setq yas-wrap-around-region 'cua)

;; Eproject project management with emacs
;; (require 'eproject)
Expand Down
1 change: 1 addition & 0 deletions epy-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
(add-to-list 'load-path epy-install-dir)
(require 'epy-setup)
(require 'epy-python)
(load-file (concat epy-install-dir "epy-completion.el"))
(require 'epy-completion)
(require 'epy-editing)
(require 'epy-nose)
Expand Down
1 change: 1 addition & 0 deletions extensions/yasnippet
Submodule yasnippet added at be2f81
8 changes: 0 additions & 8 deletions extensions/yasnippet/README

This file was deleted.

79 changes: 0 additions & 79 deletions extensions/yasnippet/Rakefile

This file was deleted.

Loading