Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
| ;; My auto-complete.el settings. | |
| ;; Auto-complete source for CSS property names, from | |
| ;; https://github.com/fxbois/web-mode/issues/116#issuecomment-46450381 | |
| (defvar ac-source-css-property-names | |
| '((candidates . (loop for property in ac-css-property-alist | |
| collect (car property))))) | |
| (setq ac-initialized nil) | |
| (defun auto-complete-init () | |
| "My basic configuration for autocomplete.el." | |
| (interactive) | |
| (require 'auto-complete) | |
| (require 'auto-complete-config) | |
| ;; (ac-config-default) | |
| (if (not ac-initialized) | |
| (progn | |
| (ac-flyspell-workaround) | |
| (setq ac-auto-start nil) | |
| (custom-set-variables | |
| '(ac-trigger-key "TAB")) | |
| ;; Those vim keybinds work their hooks deep into your soul after a | |
| ;; while. | |
| (define-key ac-completing-map "\C-j" 'ac-next) | |
| (define-key ac-completing-map "\C-k" 'ac-previous) | |
| (setq ac-dwim t) | |
| (setq ac-initialized t)))) |