 
 ;; C coding style
 (setq c-default-style "linux"
-             c-basic-offset 4)
+      c-basic-offset 4)
+(add-hook 'c-mode-hook
+          (lambda ()
+          (add-to-list 'ac-sources 'ac-source-c-headers)
+          (add-to-list 'ac-sources 'ac-source-c-header-symbols t)))
 ;; scrolling
 (setq scroll-preserve-screen-position t)
 (setq mouse-wheel-progressive-speed nil)

 '(ecb-toggle-layout-sequence (quote ("left14" "left15")))
 '(ecb-use-speedbar-instead-native-tree-buffer (quote dir))
 '(ecb-window-width 33)
 '(ido-enable-tramp-completion nil)
 '(matlab-shell-command-switches (quote ("-nodesktop -nosplash")))
 '(safe-local-variable-values nil))

;; Sometimes you have to
(require 'php-mode)

;; javascript
(require 'js2-mode)
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))

;; lua
(require 'lua-mode)
(setq lua-indent-level 2)
