Added auctex and yasnippets

This commit is contained in:
TuDatTr
2017-12-21 17:29:29 +01:00
parent 2c6b54e8cc
commit 6cf4b23ee2
1717 changed files with 140403 additions and 9 deletions

View File

@@ -0,0 +1,16 @@
;;; .yas-setup.el --- Yasnippet helper functions for PHP snippets
;;; Commentary:
;;; Code:
(require 'yasnippet)
(defun yas-php-get-class-name-by-file-name ()
"Return name of class-like construct by `file-name'.
\"class-like\" contains class, trait and interface."
(file-name-nondirectory
(file-name-sans-extension (or (buffer-file-name)
(buffer-name (current-buffer))))))
;;; .yas-setup.el ends here