equal
deleted
inserted
replaced
3373 (add-to-list 'auto-mode-alist '("\\.cygport\\'" . shell-script-mode)) |
3373 (add-to-list 'auto-mode-alist '("\\.cygport\\'" . shell-script-mode)) |
3374 |
3374 |
3375 (defun my/sh-company-setup () |
3375 (defun my/sh-company-setup () |
3376 (make-local-variable 'company-backends) |
3376 (make-local-variable 'company-backends) |
3377 (setq company-backends '((company-capf company-files company-dabbrev-code))) |
3377 (setq company-backends '((company-capf company-files company-dabbrev-code))) |
|
3378 (make-local-variable 'company-dabbrev-code-other-buffers) |
|
3379 (setq company-dabbrev-code-other-buffers t) |
3378 (company-mode 1)) |
3380 (company-mode 1)) |
3379 |
3381 |
3380 (when (featurep 'company) |
3382 (when (featurep 'company) |
3381 (add-hook 'sh-mode-hook #'my/sh-company-setup)) |
3383 (add-hook 'sh-mode-hook #'my/sh-company-setup)) |
3382 |
3384 |