Emacs: Turn off lsp sig, claude model, cs babel
This commit is contained in:
parent
e8eeefdb63
commit
0493186d14
@ -2255,6 +2255,7 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
|
||||
(setq lsp-modeline-diagnostics-enable nil)
|
||||
(setq lsp-modeline-code-actions-enable nil)
|
||||
(setq lsp-lens-enable nil)
|
||||
(setq lsp-signature-auto-activate nil)
|
||||
(setq lsp-eldoc-enable-hover nil)
|
||||
(setq eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit)
|
||||
(setq eldoc-idle-delay 0)
|
||||
@ -2374,13 +2375,8 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
|
||||
** AI
|
||||
#+begin_src emacs-lisp
|
||||
(setq gptel-default-mode #'org-mode)
|
||||
(setq gptel-model "claude-3-opus")
|
||||
(setq gptel-api-key (with-temp-buffer
|
||||
(insert-file-contents (expand-file-name "gptel-key" user-emacs-directory))
|
||||
(buffer-string)))
|
||||
;; OPTIONAL configuration
|
||||
(setq
|
||||
gptel-model 'claude-3-sonnet-20240229 ; "claude-3-opus-20240229" also available
|
||||
gptel-model 'claude-3-sonnet-20240229
|
||||
gptel-backend (gptel-make-anthropic "Claude"
|
||||
:stream t :key (with-temp-buffer
|
||||
(insert-file-contents (expand-file-name "gptel-key" user-emacs-directory))
|
||||
@ -3013,6 +3009,7 @@ Org mode buffers have associated files.
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||
(add-to-list 'org-structure-template-alist '("hs" . "src haskell"))
|
||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||
(add-to-list 'org-structure-template-alist '("cs" . "src csharp"))
|
||||
(add-to-list 'org-structure-template-alist '("cc" . "src C :includes stdio.h stdlib.h"))
|
||||
(setq org-edit-src-content-indentation 0)
|
||||
(setq org-src-window-setup 'current-window)
|
||||
|
Loading…
x
Reference in New Issue
Block a user