aboutsummaryrefslogtreecommitdiffstats
path: root/oni-cmake.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-03-03 20:47:17 -0800
committerGravatar Tom Willemse2021-03-03 20:47:17 -0800
commit02ad31612726ee534e993030fe3f45b080d3ec3d (patch)
tree38ac291d649cab12803d76bb3f1bb344c01f7376 /oni-cmake.el
parent9eddaf6b8116cc780805cc2a5123434caa5dff51 (diff)
downloademacs-config-02ad31612726ee534e993030fe3f45b080d3ec3d.tar.gz
emacs-config-02ad31612726ee534e993030fe3f45b080d3ec3d.zip
Enable lsp in CMake mode
Diffstat (limited to 'oni-cmake.el')
-rw-r--r--oni-cmake.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/oni-cmake.el b/oni-cmake.el
index 75f3d65..a5409a2 100644
--- a/oni-cmake.el
+++ b/oni-cmake.el
@@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0223.150922
-;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake)
+;; Version: 2021.0303.204647
+;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake lsp)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -39,6 +39,7 @@
(add-hook 'cmake-mode-hook 'eldoc-cmake-enable)
(add-hook 'cmake-mode-hook 'electric-indent-local-mode)
(add-hook 'cmake-mode-hook 'electric-pair-local-mode)
+(add-hook 'cmake-mode-hook 'lsp)
(add-hook 'cmake-mode-hook 'oni-cmake--auto-fill-mode)
(add-hook 'cmake-mode-hook 'rainbow-delimiters-mode)