Skip to content

Commit 820dc17

Browse files
authored
Add support for ada-ts-mode. (#4317)
1 parent 0301a93 commit 820dc17

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
* Add Assembly Language support.
104104
* Add Autotools support
105105
* Add Jsonnet support
106+
* Add support for ~ada-ts-mode~.
106107
** Release 8.0.0
107108
* Add ~lsp-clients-angular-node-get-prefix-command~ to get the Angular server from another location which is still has ~/lib/node_modules~ in it.
108109
* Set ~lsp-clients-angular-language-server-command~ after the first connection to speed up subsequent connections.

clients/lsp-ada.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
(lsp-register-client
9292
(make-lsp-client :new-connection (lsp-stdio-connection lsp-ada-als-executable)
93-
:major-modes '(ada-mode)
93+
:major-modes '(ada-mode ada-ts-mode)
9494
:priority -1
9595
:initialized-fn (lambda (workspace)
9696
(with-lsp-workspace workspace

lsp-mode.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ Changes take effect only when a new session is started."
794794
("^go\\.mod\\'" . "go.mod")
795795
("^settings.json$" . "jsonc")
796796
(ada-mode . "ada")
797+
(ada-ts-mode . "ada")
797798
(awk-mode . "awk")
798799
(awk-ts-mode . "awk")
799800
(nxml-mode . "xml")
@@ -5975,6 +5976,7 @@ Request codeAction/resolve for more info if server supports."
59755976
;; Taken from `dtrt-indent-mode'
59765977
'(
59775978
(ada-mode . ada-indent) ; Ada
5979+
(ada-ts-mode . ada-ts-mode-indent-offset)
59785980
(c++-mode . c-basic-offset) ; C++
59795981
(c++-ts-mode . c-ts-mode-indent-offset)
59805982
(c-mode . c-basic-offset) ; C

0 commit comments

Comments
 (0)