Add LSP Mode for JavaScript, Rust, GDScript
This commit is contained in:
parent
957a887162
commit
439e2f282f
23
init.el
23
init.el
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user