-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid slot for eglot 1.17, bump version to 0.2.2
- Loading branch information
1 parent
d4f1e15
commit dd06126
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ | |
;; Copyright (C) 2024 Kenneth Loeffler | ||
|
||
;; Author: Kenneth Loeffler <[email protected]> | ||
;; Version: 0.1.2 | ||
;; Version: 0.2.2 | ||
;; Keywords: roblox, luau, tools | ||
;; URL: https://github.com/kennethloeffler/eglot-luau | ||
;; Package-Requires: ((emacs "29.1")) | ||
;; Package-Requires: ((emacs "29.1") (eglot "1.17")) | ||
|
||
;; This file is not part of GNU Emacs. | ||
|
||
|
@@ -253,11 +253,11 @@ If OUTPUT contains an error message, display the output in a pop-up buffer." | |
|
||
(defun eglot-luau--make-rojo-process (server &rest _) | ||
"Handle the Rojo process for SERVER. | ||
SERVER must have a language-id equal to \"luau\". Fails when Rojo | ||
is not installed, or when a file at | ||
`eglot-luau-rojo-project-path' cannot be found." | ||
SERVER must support luau in `lua-mode' buffers. Fails when Rojo | ||
is not installed, or when a file at | ||
`eglot-luau-rojo-project-path' cannot be found." | ||
(if-let ((is-sourcemap-enabled eglot-luau-rojo-sourcemap-enabled) | ||
(is-luau-server (string= (slot-value server 'language-id) "luau")) | ||
(is-luau-server (member '(lua-mode . "luau") (slot-value server 'languages))) | ||
(is-rojo-installed (executable-find "rojo"))) | ||
(let* ((rojo-process (make-process | ||
:name "luau-lsp-rojo-sourcemap" | ||
|