Skip to content

Commit

Permalink
fix git and company case
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnendubiswas committed Jan 9, 2017
1 parent 1d7ff34 commit e6e4fb1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
25 changes: 19 additions & 6 deletions extras/abbrev_defs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@

(define-abbrev-table 'ag-mode-abbrev-table '())

(define-abbrev-table 'awk-mode-abbrev-table '())
(define-abbrev-table 'awk-mode-abbrev-table
'(
))

(define-abbrev-table 'biblio-selection-mode-abbrev-table '())

Expand All @@ -63,9 +65,13 @@

(define-abbrev-table 'bsh-script-mode-abbrev-table '())

(define-abbrev-table 'c++-mode-abbrev-table '())
(define-abbrev-table 'c++-mode-abbrev-table
'(
))

(define-abbrev-table 'c-mode-abbrev-table '())
(define-abbrev-table 'c-mode-abbrev-table
'(
))

(define-abbrev-table 'calendar-mode-abbrev-table '())

Expand Down Expand Up @@ -536,6 +542,7 @@
("embarass" "embarrass" nil 0)
("emigre" "emigre" nil 0)
("enahancements" "enhancements" nil 0)
("enegery" "energy" nil 1)
("enforece" "enforce" nil 1)
("english" "English" nil 0)
("engouh" "enough" nil 1)
Expand Down Expand Up @@ -1318,7 +1325,9 @@

(define-abbrev-table 'ivy-occur-mode-abbrev-table '())

(define-abbrev-table 'java-mode-abbrev-table '())
(define-abbrev-table 'java-mode-abbrev-table
'(
))

(define-abbrev-table 'jdee-mode-abbrev-table
'(
Expand Down Expand Up @@ -1360,7 +1369,9 @@

(define-abbrev-table 'messages-buffer-mode-abbrev-table '())

(define-abbrev-table 'objc-mode-abbrev-table '())
(define-abbrev-table 'objc-mode-abbrev-table
'(
))

(define-abbrev-table 'occur-edit-mode-abbrev-table '())

Expand All @@ -1382,7 +1393,9 @@

(define-abbrev-table 'pdf-occur-buffer-mode-abbrev-table '())

(define-abbrev-table 'pike-mode-abbrev-table '())
(define-abbrev-table 'pike-mode-abbrev-table
'(
))

(define-abbrev-table 'plain-tex-mode-abbrev-table '())

Expand Down
5 changes: 3 additions & 2 deletions modules/company-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
company-tooltip-align-annotations t
company-tooltip-limit 20
company-selection-wrap-around t
;; company-dabbrev-downcase nil ; Do not downcase the returned candidates
;; company-dabbrev-code-everywhere t ; Offer completions in comments and strings
company-dabbrev-downcase nil ; Do not downcase the returned candidates
company-dabbrev-ignore-case t
company-dabbrev-code-everywhere t ; Offer completions in comments and strings
;; ;; https://github.com/company-mode/company-mode/wiki/Switching-from-AC
;; company-begin-commands '(self-insert-command)
;; https://github.com/company-mode/company-mode/issues/123
Expand Down
3 changes: 2 additions & 1 deletion modules/git-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

(use-package magit
:ensure t
:if (unless (string-equal (system-name) "consensus.ices.utexas.edu")) ; Magit needs git >=1.9.4
:if (and (eq system-type 'gnu/linux) (unless (string-equal (system-name) "consensus.ices.utexas.edu"))) ; Magit needs
; git >=1.9.4
:config
(setq magit-auto-revert-mode nil
magit-item-highlight-face 'bold)
Expand Down

0 comments on commit e6e4fb1

Please sign in to comment.