File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 42
42
* Add support for [[https://github.com/tombi-toml/tombi][Tombi language server]] (TOML language).
43
43
* Make lsp-headerline--check-breadcrumb public
44
44
* Added Odin langauge server support [[https://github.com/DanielGavin/ols][ols]]
45
+ * Fix bug in lsp-odin where ~f-join~ collapses double slashes. Using ~format~ instead.
45
46
46
47
** 9.0.0
47
48
* Add language server config for QML (Qt Modeling Language) using qmlls.
Original file line number Diff line number Diff line change 33
33
:link '(url-link " https://github.com/DanielGavin/ols" )
34
34
:package-version '(lsp-mode . " 9.0.0" ))
35
35
36
+
36
37
(defcustom lsp-odin-ols-download-url
37
- (let ((suffix
38
- (pcase system-type
39
- ('windows-nt
40
- (when (and (string-match " ^x86_64-.*" system-configuration)
41
- (version<= " 26.4" emacs-version))
42
- " ols-x86_64-pc-windows-msvc.zip" ))
43
- ('darwin
44
- (if (string-match " aarch64-.*" system-configuration)
45
- " ols-arm64-darwin.zip"
46
- " ols-x86_64-darwin.zip" ))
47
- (_
48
- " ols-x86_64-unknown-linux-gnu" ))))
49
- (when suffix
50
- (f-join " https://github.com/DanielGavin/ols/releases/download/nightly/"
51
- suffix)))
38
+ (let* ((x86 (string-prefix-p " x86_64" system-configuration))
39
+ (arch (if x86 " x86_64" " arm64" )))
40
+ (format " https://github.com/DanielGavin/ols/releases/download/nightly/%s "
41
+ (pcase system-type
42
+ ('gnu/linux (format " ols-%s -unknown-linux-gnu.zip " arch))
43
+ ('darwin (format " ols-%s -darwin.zip " arch))
44
+ ('windows-nt (format " ols-%s -pc-windows-msvc.zip " arch)))))
52
45
" Automatic download url for ols language server."
46
+ :type 'string
53
47
:group 'lsp-odin-ols
54
- :type 'string )
48
+ :package-version '(lsp-mode . " 9.0.0 " ) )
55
49
56
50
(defcustom lsp-odin-ols-server-install-dir
57
51
(f-join lsp-server-install-dir " ols/" )
You can’t perform that action at this time.
0 commit comments