Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun tab-indent-or-complete ()
- (interactive)
- (if (minibufferp)
- (minibuffer-complete)
- (if (or (not yas-minor-mode)
- (null (do-yas-expand)))
- (if (check-expansion)
- (company-complete-common)
- (indent-for-tab-command)))))
- (global-set-key [backtab] 'tab-indent-or-complete)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement