1

Add LSP Mode for JavaScript, Rust, GDScript

This commit is contained in:
Jessie Hildebrandt 2020-07-16 19:49:09 -04:00
parent 957a887162
commit 439e2f282f

23
init.el
View File

@ -415,6 +415,21 @@
("\\.gd\\'" . gdscript-mode)
("\\.tscn\\'" . gdscript-mode))
;;====================
;; LSP Mode (Language Server Support)
;;====================
;; Load LSP Mode
;; Associated languages: JavaScript, GDScript
(use-package lsp-mode
:hook
(js-mode . lsp-deferred)
(gdscript-mode . lsp-deferred)
(rust-mode . lsp-deferred)
:commands
(lsp
lsp-deferred))
;;====================
;; Package-Lint (Elisp Package Linter)
;;====================
@ -443,14 +458,6 @@
:bind
("C-c e" . flycheck-list-errors))
;; [Rust]
;; Load FlyCheck-Rust
(use-package flycheck-rust
:after
(flycheck)
:hook
(flycheck-mode-hook . flycheck-rust-setup))
;; [Elisp Packages]
;; Load FlyCheck-Package
(use-package flycheck-package