1
0
Fork 0

Enable lsp in CMake mode

This commit is contained in:
Tom Willemse 2021-03-03 20:47:17 -08:00
parent 9eddaf6b81
commit 02ad316127

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2021.0223.150922 ;; Version: 2021.0303.204647
;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake) ;; 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 ;; 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 ;; 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 'eldoc-cmake-enable)
(add-hook 'cmake-mode-hook 'electric-indent-local-mode) (add-hook 'cmake-mode-hook 'electric-indent-local-mode)
(add-hook 'cmake-mode-hook 'electric-pair-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 'oni-cmake--auto-fill-mode)
(add-hook 'cmake-mode-hook 'rainbow-delimiters-mode) (add-hook 'cmake-mode-hook 'rainbow-delimiters-mode)