From 886b421676591f74216f710c4584c36f9cb12a6f Mon Sep 17 00:00:00 2001 From: salad Date: Tue, 5 Jan 2021 02:29:09 +0100 Subject: change splash // CRUCIAL --- .doom.d/config.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.doom.d/config.el') diff --git a/.doom.d/config.el b/.doom.d/config.el index ac7a4c9..5ca0224 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -38,12 +38,9 @@ (require 'shell-pop) (require 'zone) +(require 'lsp) (zone-when-idle 120) (custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. '(shell-pop-shell-type (quote ("ansi-term" "*ansi-term*" (lambda nil (ansi-term shell-pop-term-shell))))) '(shell-pop-term-shell "/bin/zsh") '(shell-pop-universal-key "") @@ -54,6 +51,15 @@ '(shell-pop-restore-window-configuration t) '(shell-pop-cleanup-buffer-at-process-exit t)) +(require 'ccls) +(add-hook 'c-mode-hook (lambda () (lsp))) +(add-hook 'c++-mode-hook (lambda () (lsp))) +(add-hook 'objc-mode-hook (lambda () (lsp))) +(setq ccls-executable "/usr/local/bin/ccls") + +(setq lsp-enable-indentation nil) +(setq lsp-completion-enable t) +(setq fancy-splash-image "~/salade.png") ;;(setq fancy-splash-image "~/Images/wallpapers/night.png") ;; Here are some additional functions/macros that could help you configure Doom: -- cgit v1.2.3