.emacs-my
changeset 1621 95a7aa1e3e60
parent 1620 a20b6c6e82a3
child 1622 954b7c665c1a
equal deleted inserted replaced
1620:a20b6c6e82a3 1621:95a7aa1e3e60
  3344 ;; BUG: all single char comments do not stop highlighting on end of line but
  3344 ;; BUG: all single char comments do not stop highlighting on end of line but
  3345 ;; go to end of buffer. To fix use code:
  3345 ;; go to end of buffer. To fix use code:
  3346 ;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))
  3346 ;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))
  3347 ;; (add-to-list 'auto-mode-alist '("\\.js$" . c++-mode))
  3347 ;; (add-to-list 'auto-mode-alist '("\\.js$" . c++-mode))
  3348 
  3348 
  3349 (when (featurep 'typescript-mode)
  3349 (my--eval-after-load typescript-mode
  3350   (add-to-list 'auto-mode-alist '("\\.tsx?$" . typescript-mode)))
  3350   (add-to-list 'auto-mode-alist '("\\.tsx?$" . typescript-mode)))
  3351 
  3351 
  3352 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3352 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3353 (message "json")
  3353 (message "json")
  3354 
  3354