Skip to content

Commit ece540e

Browse files
authored
Update treesit-langs.el
1 parent 298948c commit ece540e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

treesit-langs.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ non-nil."
315315
(dired-omit-mode -1))))
316316
(treesit-langs--rename))))
317317

318-
;; Install only once.
319-
(treesit-langs-install-grammars :skip-if-installed)
320-
321318
;;
322319
;;; Rename
323320

@@ -354,5 +351,8 @@ non-nil."
354351
(treesit-major-mode-setup)
355352
(run-hooks 'treesit-langs-major-mode-setup-hook)))
356353

354+
;; Install only once.
355+
(treesit-langs-install-grammars :skip-if-installed)
356+
357357
(provide 'treesit-langs)
358358
;;; treesit-langs.el ends here

0 commit comments

Comments
 (0)