                  ))
 (require 'auto-complete-config)
 (setq-default ac-sources
-              '(ac-source-yasnippet
+              '(
+                ;ac-source-yasnippet
                 ac-source-dictionary
                 ac-source-words-in-same-mode-buffers
                 ac-source-filename

                             yas-dropdown-prompt
                             yas-no-prompt
                             ))
;; to disable TAB key to activate a snippet:
;; (define-key yas-minor-mode-map (kbd "<tab>") nil)
;; (define-key yas-minor-mode-map (kbd "TAB") nil)
;; add our own keybindings
(define-key yas-minor-mode-map "\C-cse" 'yas-expand)
(define-key yas-minor-mode-map "\C-csi" 'yas-insert-snippet)

;; integrate with auto-complete (shows only snippets)
(defun my/expand-yasnippet() (interactive)
       (auto-complete '(ac-source-yasnippet)))
(global-set-key [backtab] 'yas-expand)
(global-set-key [(shift tab)] 'yas-expand)
(setq yas-fallback-behavior '(apply my/expand-yasnippet))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; flycheck ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq-default flycheck-emacs-lisp-load-path 'inherit)
