Skip to content

Commit 587c042

Browse files
authored
lsp-angular: support inline template completions (#2621)
Also fix end of line condition, so that `some-file.html.json` should not match.
1 parent c72054a commit 587c042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/lsp-angular.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
(make-lsp-client :new-connection (lsp-stdio-connection
6161
(lambda () lsp-clients-angular-language-server-command))
6262
:activation-fn (lambda (&rest _args)
63-
(and (string-match-p "\\.html\\'" (buffer-file-name))
63+
(and (string-match-p "\\(\\.html\\|\\.ts\\)\\'" (buffer-file-name))
6464
(lsp-workspace-root)
6565
(file-exists-p (f-join (lsp-workspace-root) "angular.json"))))
6666
:priority -1

0 commit comments

Comments
 (0)