diff options
Diffstat (limited to '')
-rw-r--r-- | emacs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -168,7 +168,6 @@ (add-hook 'Info-mode-hook 'variable-pitch-mode) (add-hook 'woman-mode-hook 'variable-pitch-mode) - (setq flymake-fringe-indicator-position 'left-fringe diff-hl-side 'right) @@ -285,6 +284,7 @@ (javascript "https://github.com/tree-sitter/tree-sitter-javascript" "master" "src") (json "https://github.com/tree-sitter/tree-sitter-json") (make "https://github.com/alemuller/tree-sitter-make") + (ocaml "https://github.com/alemuller/tree-sitter-ocaml") (markdown "https://github.com/ikatyang/tree-sitter-markdown") (python "https://github.com/tree-sitter/tree-sitter-python") (toml "https://github.com/tree-sitter/tree-sitter-toml") @@ -346,7 +346,7 @@ (unless (package-installed-p 'typescript-mode) (package-install 'typescript-mode)) -(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-mode)) +(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode)) (add-to-list 'auto-mode-alist '("\\.tsx\\'" . tsx-ts-mode)) (add-to-list 'auto-mode-alist '("\\.tf\\'" . terraform-mode)) (add-to-list 'auto-mode-alist '("\\.json\\'" . json-mode)) @@ -383,9 +383,9 @@ (unless (package-installed-p 'smartparens) (package-install 'smartparens)) -(add-hook 'typescript-mode-hook 'prettier-js-mode) +(add-hook 'typescript-ts-mode-hook 'prettier-js-mode) (add-hook 'tsx-ts-mode 'prettier-js-mode) -(add-hook 'typescript-mode-hook #'smartparens-mode) +(add-hook 'typescript-ts-mode-hook #'smartparens-mode) (add-hook 'json-ts-mode-hook #'smartparens-mode) (add-hook 'tuareg-mode-hook #'smartparens-mode) (add-hook 'terraform-mode-hook #'smartparens-mode) |