From 02ad31612726ee534e993030fe3f45b080d3ec3d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 3 Mar 2021 20:47:17 -0800 Subject: Enable lsp in CMake mode --- oni-cmake.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'oni-cmake.el') 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 ;; 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) -- cgit v1.2.3-54-g00ecf