From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Newsgroups: gmane.emacs.bugs Subject: bug#63944: Language grammer not working for Typescript (Emacs 30 , fedora) Date: Fri, 9 Jun 2023 08:26:04 +0200 Message-ID: <6d0123a4-efd6-1a82-80eb-381efefe4d64@secure.kjonigsen.net> References: <83zg5b308d.fsf@gnu.org> <87zg5b54qb.fsf@dataswamp.org> Reply-To: jostein@kjonigsen.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EpH9KwjfjxF0VZ3aQ605qCaQ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Cc: Eli Zaretskii To: Rajan Paudel , 63944@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 09 08:28:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7VbY-0007sr-D0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Jun 2023 08:28:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7VbQ-00049L-P8; Fri, 09 Jun 2023 02:28:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7VbP-000498-Dr for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 02:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7VbP-00069q-5U for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 02:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7VbO-0004NU-GI for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 02:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jun 2023 06:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63944 X-GNU-PR-Package: emacs Original-Received: via spool by 63944-submit@debbugs.gnu.org id=B63944.168629205816796 (code B ref 63944); Fri, 09 Jun 2023 06:28:02 +0000 Original-Received: (at 63944) by debbugs.gnu.org; 9 Jun 2023 06:27:38 +0000 Original-Received: from localhost ([127.0.0.1]:58204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7Vb0-0004Mp-47 for submit@debbugs.gnu.org; Fri, 09 Jun 2023 02:27:38 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:60755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7Vaw-0004MW-HX for 63944@debbugs.gnu.org; Fri, 09 Jun 2023 02:27:35 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 8D77E3200201; Fri, 9 Jun 2023 02:27:28 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 09 Jun 2023 02:27:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:cc:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:reply-to:sender:subject:subject:to:to; s= fm3; t=1686292048; x=1686378448; bh=292qGNx3QmAJo+HTMRVBjGuLY0RQ MV8HWEZJ7hDICQk=; b=FKnx6S638UFseGZcbS3oJ0RLgGF/lGTnfoUZhtH67Agy QhJ1TMuJTaPvRamUKYUmTSL6BUWgL0D3kxfkE3o47qXQ/8Ebepi5/0lklAy1pXM1 0p/VD759Qb9aHzp6/lsVg9P5SQQovyDajkvRy3J+lGB+l1BkbrqBC7pugBz/lpop R2DbdS9PSrHcCOynYzomoSdBVKAq2kqVLpb06q9Q6X/Gu6b75BNxCoEqpOnaocgC eA29+WpBpZADLoQEECk/QHsoKGf/5M3k7Fgm0BhFPYSiTWAqhG0KaN7V7a2Ox/z6 dtntIz1+RxZd0jeyVN9fyvKSxW83nISY0BcqDHmhbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1686292048; x=1686378448; bh=2 92qGNx3QmAJo+HTMRVBjGuLY0RQMV8HWEZJ7hDICQk=; b=Ky2iUIAeHtb2DdnCp AHJD0EdH81DmRwYgdDKTQXnbWE2xknG3srANAolqrZ93Do6IBD9HD+4z4tlDr0fW zFC9FV0uNr7HA8PhcXvdZ5X/immdfolOf+fmA8mjtfLtZe5qwlsQsTASZgE0OaIJ k/3UGRc6QgtFWfGaVI1xQ0WfyOkD3QC4jfjLTrLw3YrZxD9iGKJNwL2yk9OEDZRQ NXZjCiHpzKZOnGN0+8Ua18Z9GkdLSf2AY0OPxWcAms0mLIPDCqfAGBt9nRh4VHU/ GZyLZSGltcn3X19t5jVPtDlACUnVtD03Yeqk0ts7ZywnGHeSYwe0mE7wBO0DV1DB DB9Kw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtjedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtkfffgggfrhfuvfhfvefhjgesrgdtreertdefjeenucfhrhhomheplfho shhtvghinhcumfhjpphnihhgshgvnhcuoehjohhsthgvihhnsehsvggtuhhrvgdrkhhjoh hnihhgshgvnhdrnhgvtheqnecuggftrfgrthhtvghrnhepveeugedttdevfeduffdukeek lefgveeufeettefgveetieehheehjeejveeuhedvnecuffhomhgrihhnpehgihhthhhusg drtghomhdpkhhjnhhighhsvghnrdhnohenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehjohhsthgvihhnsehsvggtuhhrvgdrkhhjohhnihhgsh gvnhdrnhgvth X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jun 2023 02:27:25 -0400 (EDT) Content-Language: en-GB, nb-NO In-Reply-To: <87zg5b54qb.fsf@dataswamp.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263156 Archived-At: This is a multi-part message in MIME format. --------------EpH9KwjfjxF0VZ3aQ605qCaQ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > In that directory i can find `.so` for other , but not for typescript. Because of same error was coming i tried to use I had tried to use treesit-auto, which manually install treesitter , but it also failed ,while not for other languages i tried. > > [image.png] > > This error was only coming from `typescript-ts-mode` , I'm doing angular, i cant get ide features now for angular . Thank you for helping Try manually installing the grammar: * M-x treesit-install-language-grammar * Type "typescript" * Confirm you want an interactive install. * Use this url for language grammar: https://github.com/tree-sitter/tree-sitter-typescript This is what I've done and it works for me. -- Vennlig hilsen *Jostein Kjønigsen* jostein@kjonigsen.net 🍵 jostein@gmail.com https://jostein.kjønigsen.no --------------EpH9KwjfjxF0VZ3aQ605qCaQ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
> In that directory i can find `.so` for other , but not for typescript. Because of same error was coming i tried to use I had tried to use treesit-auto, which manually install treesitter , but it also failed ,while not for other languages i tried.
>
> [image.png]
>
> This error was only coming from `typescript-ts-mode` , I'm doing angular, i cant get ide features now for angular . Thank you for helping

Try manually installing the grammar:

This is what I've done and it works for me.

--


--------------EpH9KwjfjxF0VZ3aQ605qCaQ--