From b79891ec7a171adfd7dc7c6242bf18ef805e9f1c Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 10 Dec 2018 22:48:29 +0000 Subject: [PATCH] Add lsp-mode package --- core/siren-modules.el | 1 + custom.el | 2 +- modules/completion/siren-lsp.el | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 modules/completion/siren-lsp.el diff --git a/core/siren-modules.el b/core/siren-modules.el index 472a347..7aa5292 100644 --- a/core/siren-modules.el +++ b/core/siren-modules.el @@ -17,6 +17,7 @@ ;; Completion (require 'siren-company) +(require 'siren-lsp) ;; Debugging (require 'siren-realgud) diff --git a/custom.el b/custom.el index 7b6ace5..2db837f 100644 --- a/custom.el +++ b/custom.el @@ -7,7 +7,7 @@ '(magit-commit-arguments (quote ("-S"))) '(package-selected-packages (quote - (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package typescript-mode toggle-quotes tide thrift string-inflection smex smartparens smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocopfmt rubocop rspec-mode robe rjsx-mode restart-emacs resize-window realgud-byebug rainbow-mode racer prettier-js plantuml-mode php-mode phi-search neotree nav multiple-cursors move-dup magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helpful helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground go-dlv gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx diminish diff-hl dash-at-point company-go coffee-mode cargo buffer-move browse-kill-ring anzu ace-window)))) + (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package typescript-mode toggle-quotes tide thrift string-inflection smex smartparens smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocopfmt rubocop rspec-mode robe rjsx-mode restart-emacs resize-window realgud-byebug rainbow-mode racer prettier-js plantuml-mode php-mode phi-search neotree nav multiple-cursors move-dup magit-gh-pulls lua-mode lsp-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helpful helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground go-dlv gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx diminish diff-hl dash-at-point company-lsp company-go coffee-mode cargo buffer-move browse-kill-ring anzu ace-window)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/modules/completion/siren-lsp.el b/modules/completion/siren-lsp.el new file mode 100644 index 0000000..1db8cf7 --- /dev/null +++ b/modules/completion/siren-lsp.el @@ -0,0 +1,18 @@ +;;; siren-lsp.el --- jimeh's Emacs Siren: lsp-mode configuration. + +;;; Commentary: + +;; Basic configuration for lsp-mode. + +;;; Code: + +(require 'siren-company) + +(use-package lsp-mode + :config + (require 'lsp-clients)) + +(use-package company-lsp) + +(provide 'siren-lsp) +;;; siren-lsp.el ends here