LUA support
This commit is contained in:
parent
0f4f7579bb
commit
964b614e38
16
config.org
16
config.org
|
|
@ -685,12 +685,12 @@ Install the package, enable it and ensure that it always is installed, and then
|
||||||
Rich Presence in Emacs for discord, `https://github.com/Mstrodl/elcord`
|
Rich Presence in Emacs for discord, `https://github.com/Mstrodl/elcord`
|
||||||
|
|
||||||
Install the package, enable it and ensure that it always is installed, and then enable the mode:
|
Install the package, enable it and ensure that it always is installed, and then enable the mode:
|
||||||
#+BEGIN_SRC emacs-lisp
|
+BEGIN_SRC emacs-lisp
|
||||||
(use-package elcord
|
(use-package elcord
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(elcord-mode 1))
|
(elcord-mode 1))
|
||||||
#+END_SRC
|
+END_SRC
|
||||||
** Nix Mode
|
** Nix Mode
|
||||||
An Emacs major mode for editing Nix expressions. There is also a manual available at nix-mode.org.
|
An Emacs major mode for editing Nix expressions. There is also a manual available at nix-mode.org.
|
||||||
|
|
||||||
|
|
@ -706,6 +706,8 @@ lua-mode is a major mode for editing Lua sources in Emacs.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lua-mode
|
(use-package lua-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.iy\\'" . lua-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** LSP Mode
|
** LSP Mode
|
||||||
|
|
@ -753,6 +755,16 @@ on how to install the Programming Language Servers that you want.
|
||||||
(use-package dap-mode
|
(use-package dap-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
;; (use-package dap-LANGUAGE) to load the dap adapter for your language
|
;; (use-package dap-LANGUAGE) to load the dap adapter for your language
|
||||||
|
|
||||||
|
;; New luau lsp for roblox implementation
|
||||||
|
(with-eval-after-load 'lsp-mode
|
||||||
|
(add-to-list 'lsp-language-id-configuration
|
||||||
|
'(lua-mode . "luau"))
|
||||||
|
|
||||||
|
(lsp-register-client
|
||||||
|
(make-lsp-client :new-connection (lsp-stdio-connection "luau-lsp")
|
||||||
|
:activation-fn (lsp-activate-on "luau")
|
||||||
|
:server-id 'luau-lsp)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Edwina Dynamic Tiling
|
** Edwina Dynamic Tiling
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
("~/.emacs.d/")
|
("c:/Users/seaspark/Documents/Sparks-IY-Plugin/" "~/.emacs.d/" "z:/Documents/Roblox Scripts/Sparks IY Plugin/Sparks-IY-Plugin/")
|
||||||
Loading…
Reference in New Issue