2

While this answer (How to make auto-completion case sensitive? - ac-ignore-case) works in some cases.

Using evil mode on its own. Adding (setq ac-ignore-case nil) to ~/.emacs doesn't make completion case sensitive. (Pressing Ctrl-N in evil mode).

From looking into it this calls evil-complete-next.

Checked the source but didn't see any options to adjust.

Can this be made to be case sensitive?

ideasman42
  • 8,375
  • 1
  • 28
  • 105
  • Check out `evil-complete-next-func` which `evil-complete-next` documentation points at - this uses `dabbrev` by default. So maybe this: http://emacs.stackexchange.com/questions/7464/case-sensitivity-of-word-completion-using-dabbrev (not tested). – VanLaser Oct 16 '16 at 19:57

1 Answers1

3

Evil mode uses dabbrev, to make autocomplete case sensitive, set this in your emacs config.

(setq dabbrev-case-fold-search nil)

See: case-sensitivity of word completion using dabbrev for details.

thanks to @VanLaser for the hint.

ideasman42
  • 8,375
  • 1
  • 28
  • 105