From e50153eeddad7c3f7e16e828d43bb39e8587ef0b Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Thu, 25 Apr 2019 18:25:37 -0400 Subject: [PATCH] Add lsp and elixir --- lain/.emacs.d/config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lain/.emacs.d/config.org b/lain/.emacs.d/config.org index 6d7f9c6..7abcc20 100644 --- a/lain/.emacs.d/config.org +++ b/lain/.emacs.d/config.org @@ -994,6 +994,19 @@ make shortcuts and file switching (projectile-project-search-path (list jf-projects-path))) #+END_SRC ** Languages +*** Language Server Protocol +Mode for integration with lots of language servers, interacting with company, +flycheck, projectile, and the works. +#+BEGIN_SRC emacs-lisp + (use-package lsp-mode + :commands lsp) + + (use-package lsp-ui + :commands lsp-ui-mode) + + (use-package company-lsp + :commands company-lsp) +#+END_SRC *** Fish Mode for editing of scripts for the fish shell. #+BEGIN_SRC emacs-lisp @@ -1157,3 +1170,9 @@ company-irony for company integration (use-package company-lua :company lua-mode) #+END_SRC +*** Elixir +#+BEGIN_SRC emacs-lisp + (use-package elixir-mode + :mode "\\.exs?\\'" + :hook (elixir-mode . lsp)) +#+END_SRC