Browse Source

Use custom instead of setq

main
parent
commit
bb535386d1
  1. 12
      modules/projects.el

12
modules/projects.el

@ -7,9 +7,8 @@
(lsp-ui-doc-delay 0.500)) (lsp-ui-doc-delay 0.500))
(use-package projectile (use-package projectile
:config
(setq projectile-project-search-path '("~/.local/source"))
(projectile-mode))
:custom (projectile-project-search-path '("~/.local/source"))
:config (projectile-mode))
(use-package password-store (use-package password-store
:custom (password-store-dir dotfiles/passwords)) :custom (password-store-dir dotfiles/passwords))
@ -27,9 +26,10 @@
(use-package ccls (use-package ccls
:hook ((c-mode c++-mode objc-mode cuda-mode) . :hook ((c-mode c++-mode objc-mode cuda-mode) .
(lambda () (require 'ccls) (lsp)))
:config
(add-to-list 'org-structure-template-alist '("cc" . "src cc")))
(lambda ()
(require 'ccls)
(lsp)))
:config (add-to-list 'org-structure-template-alist '("cc" . "src cc")))
(use-package python-mode (use-package python-mode
:hook (python-mode . lsp) :hook (python-mode . lsp)

Loading…
Cancel
Save