Browse Source

Add lua/latex lsp server, add restclient

master
Riyyi 3 years ago
parent
commit
d5b958af9d
  1. 12
      .config/emacs/config.org
  2. 2
      packages

12
.config/emacs/config.org

@ -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)
@ -696,10 +700,12 @@ https://stackoverflow.com/questions/22735895/configuring-a-yasnippet-for-two-sce
(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

2
packages

@ -76,6 +76,7 @@ linux-headers
linux-lts linux-lts
linux-lts-headers linux-lts-headers
llvm llvm
lua-language-server-git
lvm2 lvm2
lxappearance lxappearance
maim maim
@ -140,6 +141,7 @@ streamlink
sxhkd sxhkd
synergy2-bin synergy2-bin
sysfsutils sysfsutils
texlab
texlive-bibtexextra texlive-bibtexextra
texlive-core texlive-core
texlive-fontsextra texlive-fontsextra

Loading…
Cancel
Save