programming-treesitter.el (1225B)
1 ;;; programming-treesitter.el --- -*- lexical-binding: t; -*- 2 ;;; Commentary: 3 ;;; Treesitter configuration 4 ;;; Code: 5 6 (use-package treesit-auto 7 :config 8 (setq treesit-auto-install 'prompt) 9 (global-treesit-auto-mode)) 10 11 ;; (unless (package-installed-p 'combobulate) 12 ;; (package-vc-install '(combobulate :url "https://github.com/mickeynp/combobulate" 13 ;; :branch "development"))) 14 15 ;; (use-package combobulate 16 ;; :load-path "~/.config/emacs/elpa/combobulate" 17 ;; :config 18 ;; ;; You can customize Combobulate's key prefix here. 19 ;; ;; Note that you may have to restart Emacs for this to take effect! 20 ;; (setq combobulate-key-prefix "C-c o") 21 ;; 22 ;; ;; Optional, but recommended. 23 ;; ;; 24 ;; ;; You can manually enable Combobulate with `M-x 25 ;; ;; combobulate-mode'. 26 ;; :hook 27 ;; (python-ts-mode . combobulate-mode) 28 ;; (js-ts-mode . combobulate-mode) 29 ;; (html-ts-mode . combobulate-mode) 30 ;; (css-ts-mode . combobulate-mode) 31 ;; (yaml-ts-mode . combobulate-mode) 32 ;; (typescript-ts-mode . combobulate-mode) 33 ;; (json-ts-mode . combobulate-mode) 34 ;; (tsx-ts-mode . combobulate-mode) 35 ;; (go-ts-mode . combobulate-mode)) 36 37 (provide 'programming-treesitter) 38 ;;; programming-treesitter.el ends here