From 481decd28b7940d1dae11fd0ff2dc06143c46ee8 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 17 Feb 2016 07:39:51 +0100 Subject: Add java-mode snippets. Upgrade yasnippet and yaml-mode --- .emacs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index 9dab30b..a962b73 100644 --- a/.emacs +++ b/.emacs @@ -58,19 +58,19 @@ (setq python-indent-guess-indent-offset nil) ;; Enable which-function-mode for C, C++ and Python -;;(setq which-func-modes '(python-mode c-mode c++-mode)) -;;(which-function-mode t) +(setq which-func-modes '(c-mode c++-mode java-mode python-mode)) +(which-function-mode t) ;; Custom plugins (add-to-list 'load-path "~/.emacs.d/lisp/") -;;PHP +;; PHP ;; (autoload 'php-mode "php-mode" "Mode for editing PHP source files") ;; (add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) ;; YAML -;;(require 'yaml-mode) -;;(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) +;; (require 'yaml-mode) +;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) ;; yasnippet (require 'yasnippet) -- cgit v1.3