diff --git a/config.org b/config.org index 0796d9c..0f4c339 100644 --- a/config.org +++ b/config.org @@ -694,6 +694,11 @@ from [[https://gist.github.com/karthink/af013ffd77fe09e67360f040b57b4c7b][karthi :defer t :config (bind-key "C-c b" #'clang-format-buffer c-mode-base-map)) + +(use-package c-ts-mode + :defer t + :config + (bind-key "C-c b" #'clang-format-buffer c++-ts-mode-map)) #+END_SRC ** company *** company @@ -1003,7 +1008,7 @@ https://github.com/karthink/gptel (setq-local gptel--system-message (alist-get 'default gptel-directives))) :hook (gptel-mode . ava/init-gptel-mode) :custom - (gptel-model "gpt-4o") + (gptel-model 'gpt-4o) (gptel-default-mode 'org-mode) (gptel-track-media t) (gptel-directives '((default . "You are a helpful assistant living inside Emacs. The user is a computer programmer. Your responses are always concise, succinct, and to the point. You never apologize for confusions as that wastes time. If you generate blocks using three backticks inspect your response and add the appropriate programming language after the opening backticks.") @@ -1658,7 +1663,12 @@ as per https://github.com/jorgenschaefer/elpy/issues/1729) :if (version<= "29" emacs-version) :ensure nil :custom - (treesit-font-lock-level 4)) + (treesit-font-lock-level 4) + :config + ; opt out for these + (setq major-mode-remap-alist + '((python-ts-mode python-mode) ; issues with elpy + (json-ts-mode json-mode)))) ; issues with json (use-package treesit-auto :if (version<= "29" emacs-version) diff --git a/early-init.el b/early-init.el index 9e75aff..9144bbd 100644 --- a/early-init.el +++ b/early-init.el @@ -10,7 +10,8 @@ (setq frame-resize-pixelwise t fast-but-imprecise-scrolling t - frame-inhibit-implied-resize t) + frame-inhibit-implied-resize t + initial-frame-alist '((fullscreen . maximized))) (when (native-comp-available-p) (setq package-native-compile t diff --git a/init.el b/init.el index 3164956..2458ce0 100644 --- a/init.el +++ b/init.el @@ -13,7 +13,8 @@ (package-install 'use-package)) (require 'use-package) -(use-package diminish) +(use-package diminish + :ensure t) (use-package bind-key) (setq use-package-enable-imenu-support t) @@ -32,9 +33,6 @@ (time-subtract after-init-time before-init-time))) gcs-done))) -(when (native-comp-available-p) - (setq native-comp-async-report-warnings-errors 'silent)) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; LITERATE CONFIG ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;