|
|
@ -405,6 +405,7 @@ Setup =org-roam=. |
|
|
|
:hook (org-roam-backlinks-mode . dot/hook-disable-line-numbers) |
|
|
|
:hook (org-roam-backlinks-mode . dot/hook-disable-line-numbers) |
|
|
|
:hook (org-roam-backlinks-mode . dot/hook-disable-mode-line) |
|
|
|
:hook (org-roam-backlinks-mode . dot/hook-disable-mode-line) |
|
|
|
:config |
|
|
|
:config |
|
|
|
|
|
|
|
(setq org-image-actual-width nil) |
|
|
|
(setq org-roam-completion-system 'default) |
|
|
|
(setq org-roam-completion-system 'default) |
|
|
|
(setq org-roam-db-location (expand-file-name "org-roam.db" dot-cache-dir)) |
|
|
|
(setq org-roam-db-location (expand-file-name "org-roam.db" dot-cache-dir)) |
|
|
|
(setq org-roam-directory (expand-file-name "./" org-directory)) |
|
|
|
(setq org-roam-directory (expand-file-name "./" org-directory)) |
|
|
@ -545,6 +546,7 @@ On the fly syntax checking. |
|
|
|
latex-mode |
|
|
|
latex-mode |
|
|
|
org-mode |
|
|
|
org-mode |
|
|
|
php-mode |
|
|
|
php-mode |
|
|
|
|
|
|
|
sh-mode |
|
|
|
shell-mode |
|
|
|
shell-mode |
|
|
|
shell-script-mode) |
|
|
|
shell-script-mode) |
|
|
|
. flycheck-mode) |
|
|
|
. flycheck-mode) |
|
|
@ -576,7 +578,9 @@ Language Server Protocol. |
|
|
|
:hook |
|
|
|
:hook |
|
|
|
((c-mode ; clangd |
|
|
|
((c-mode ; clangd |
|
|
|
c++-mode ; clangd |
|
|
|
c++-mode ; clangd |
|
|
|
|
|
|
|
lua-mode ; lua-language-server |
|
|
|
php-mode) ; nodejs-intelephense |
|
|
|
php-mode) ; nodejs-intelephense |
|
|
|
|
|
|
|
latex-mode) ; texlab |
|
|
|
. lsp-deferred) |
|
|
|
. lsp-deferred) |
|
|
|
:config |
|
|
|
:config |
|
|
|
(setq lsp-auto-guess-root t) |
|
|
|
(setq lsp-auto-guess-root t) |
|
|
@ -693,13 +697,15 @@ https://stackoverflow.com/questions/22735895/configuring-a-yasnippet-for-two-sce |
|
|
|
*** PHP |
|
|
|
*** PHP |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package php-mode |
|
|
|
(use-package php-mode |
|
|
|
:defer t |
|
|
|
:defer t |
|
|
|
:hook |
|
|
|
:hook |
|
|
|
(php-mode |
|
|
|
(php-mode . (lambda () |
|
|
|
. (lambda () (progn |
|
|
|
|
|
|
|
(setq indent-tabs-mode t) |
|
|
|
(setq indent-tabs-mode t) |
|
|
|
(setq lsp-ui-doc-enable t))))) |
|
|
|
(setq lsp-ui-doc-enable t)))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(use-package restclient |
|
|
|
|
|
|
|
:defer t) |
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
*** Prettify |
|
|
|
*** Prettify |
|
|
|