summaryrefslogtreecommitdiffstats
path: root/.doom.d/config.el
diff options
context:
space:
mode:
Diffstat (limited to '.doom.d/config.el')
-rw-r--r--.doom.d/config.el14
1 files changed, 10 insertions, 4 deletions
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 "<f5>")
@@ -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: