equal
deleted
inserted
replaced
3370 |
3370 |
3371 (setq sh-basic-offset 2) |
3371 (setq sh-basic-offset 2) |
3372 |
3372 |
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 () |
|
3376 (make-local-variable 'company-backends) |
|
3377 (setq company-backends '((company-capf company-files))) |
|
3378 (company-mode 1)) |
|
3379 |
|
3380 (when (featurep 'company) |
|
3381 (add-hook 'sh-mode-hook #'my/sh-company-setup)) |
|
3382 |
3375 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3383 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3376 (message "pg, Proof General") |
3384 (message "pg, Proof General") |
3377 |
3385 |
3378 (eval-when 'compile (require 'proof nil t)) |
3386 (eval-when 'compile (require 'proof nil t)) |
3379 |
3387 |