Fix Doom Doctor Warnings

- Disable support for unused languages
- Add dotfiles to projectile search path
- Add shell settings so bash is used internally and fish is used for
  terminal emulators
This commit is contained in:
Sravan Balaji 2023-11-12 12:45:48 -05:00
parent 3c235db8fb
commit e7b1508a60
3 changed files with 27 additions and 10 deletions

View File

@ -32,6 +32,7 @@
- [[#automatically-revert-buffers-for-changed-files][Automatically Revert Buffers For Changed Files]]
- [[#rainbow-mode][Rainbow Mode]]
- [[#debugging][Debugging]]
- [[#shell][Shell]]
- [[#packagesel][packages.el]]
- [[#packages][Packages]]
@ -217,13 +218,13 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(graphql +lsp) ; Give queries a REST
(haskell +lsp) ; a language that's lazier than I am
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
(json +lsp) ; At least it ain't XML
(java +lsp) ; the poster child for carpal tunnel syndrome
;;(java +lsp) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
(julia +lsp) ; a better, faster MATLAB
;;(julia +lsp) ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
(latex +cdlatex +lsp) ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
@ -756,7 +757,7 @@ If you use =org= and don't want your org files in the default location below, ch
*** Projectile
#+BEGIN_SRC emacs-lisp :tangle config.el
(setq projectile-project-search-path '("~/Git/" "~/.config/"))
(setq projectile-project-search-path '("~/Git/" "~/.config/" "~/.dotfiles/"))
#+END_SRC
*** Prettier Formatter
@ -839,6 +840,17 @@ Revert buffers when the underlying file has changed
(setq dap-python-debugger 'debugpy))
#+END_SRC
*** Shell
#+BEGIN_SRC emacs-lisp :tangle config.el
(setq shell-file-name (executable-find "bash"))
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle config.el
(setq-default vterm-shell (executable-find "fish"))
(setq-default explicit-shell-file-name (executable-find "fish"))
#+END_SRC
** packages.el
To install a package with Doom you must declare them here and run =doom sync= on the command line, then restart Emacs for the changes to take effect -- or use =M-x doom/reload=.

View File

@ -168,7 +168,7 @@
'(markdown-header-face-2 ((t (:inherit markdown-header-face :height 1.4))))
'(markdown-header-face-3 ((t (:inherit markdown-header-face :height 1.2)))))
(setq projectile-project-search-path '("~/Git/" "~/.config/"))
(setq projectile-project-search-path '("~/Git/" "~/.config/" "~/.dotfiles/"))
(add-hook! 'web-mode-hook 'prettier-js-mode)
@ -217,3 +217,8 @@
(after! dap-mode
(setq dap-python-debugger 'debugpy))
(setq shell-file-name (executable-find "bash"))
(setq-default vterm-shell (executable-find "fish"))
(setq-default explicit-shell-file-name (executable-find "fish"))

View File

@ -123,13 +123,13 @@
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(graphql +lsp) ; Give queries a REST
(haskell +lsp) ; a language that's lazier than I am
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
(json +lsp) ; At least it ain't XML
(java +lsp) ; the poster child for carpal tunnel syndrome
;;(java +lsp) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
(julia +lsp) ; a better, faster MATLAB
;;(julia +lsp) ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
(latex +cdlatex +lsp) ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove