Compare commits

..

No commits in common. "02b1a96717ee2b9246d87cf9602fee5d85fe3581" and "984ff21c0c8e02b7de0c05ee0b0b5c57a505bbf0" have entirely different histories.

11
init.el
View File

@ -127,7 +127,6 @@
(yaml "https://github.com/ikatyang/tree-sitter-yaml") (yaml "https://github.com/ikatyang/tree-sitter-yaml")
(css "https://github.com/tree-sitter/tree-sitter-css") (css "https://github.com/tree-sitter/tree-sitter-css")
(go "https://github.com/tree-sitter/tree-sitter-go") (go "https://github.com/tree-sitter/tree-sitter-go")
(gomod "https://github.com/camdencheek/tree-sitter-go-mod")
(js "https://github.com/tree-sitter/tree-sitter-javascript") (js "https://github.com/tree-sitter/tree-sitter-javascript")
(bash "https://github.com/tree-sitter/tree-sitter-bash") (bash "https://github.com/tree-sitter/tree-sitter-bash")
(cmake "https://github.com/uyha/tree-sitter-cmake") (cmake "https://github.com/uyha/tree-sitter-cmake")
@ -766,16 +765,6 @@ COMMAND and COMINT are like `compile'."
:innermodes '(my/poly-php-innermode)) :innermodes '(my/poly-php-innermode))
(add-to-list 'auto-mode-alist '("\\.php\\|\\.phtml\\'" . my/poly-web-mode))) (add-to-list 'auto-mode-alist '("\\.php\\|\\.phtml\\'" . my/poly-web-mode)))
;; go mode
(use-package go-mode)
(use-package go-ts-mode
:ensure nil
:hook ((go-ts-mode . eglot-ensure)
(go-ts-mode . my/-setup-go-ts-mode))
:init
(defun my/-setup-go-ts-mode ()
(setq-local indent-line-function #'go-mode-indent-line)))
;; rust ;; rust
(use-package rust-mode) (use-package rust-mode)
(use-package rust-ts-mode (use-package rust-ts-mode