 (setq save-abbrevs t)
 (if (file-exists-p abbrev-file-name)
     (quietly-read-abbrev-file))
-(setq default-abbrev-mode t)
+(setq abbrev-mode t)
 
 (provide 'setup-autocomplete)
 ;;; setup-autocomplete.el ends here

;; auto completion

;; snippets
(setup "yasnippet"
  (setq yas-snippet-dirs "~/.emacs.d/snippets")
  (define-key yas-minor-mode-map (kbd "C-t") 'yas-next-field-or-maybe-expand)
  (define-key yas-minor-mode-map (kbd "M-t") 'yas-prev-field)
  (yas-global-mode 1))

;; auto-yasnippet
(setup-after "yasnippet"

  (setup-expecting "go-mode"
    (setup "go-autocomplete")))



;; disabling Yasnippet completion
(setup-after "auto-complete" "yasnippet"
  (defun yasnippet-snips-from-table (table)
