bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65673: [PATCH] Add lua-ts-mode


From: Eli Zaretskii
Subject: bug#65673: [PATCH] Add lua-ts-mode
Date: Sat, 16 Sep 2023 14:17:09 +0300

> Resent-To: bug-gnu-emacs@gnu.org
> Cc: philipk@posteo.net, ~emacs/emacs-devel@lists.sr.ht, jm@pub.pink,
>  maurooaranda@gmail.com, 65673-done@debbugs.gnu.org, arstoffel@gmail.com
> Date: Sat, 16 Sep 2023 13:03:11 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > Cc: john muhl <jm@pub.pink>, arstoffel@gmail.com, maurooaranda@gmail.com,
> >  65673@debbugs.gnu.org, ~emacs/emacs-devel@lists.sr.ht
> > Date: Mon, 11 Sep 2023 10:03:13 -0500
> > From:  john muhl via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> > 
> > * lisp/progmodes/lua-ts-mode.el:
> > * test/lisp/progmodes/lua-ts-mode-resources/indent.erts:
> > * test/lisp/progmodes/lua-ts-mode-tests.el: New file.
> > * etc/NEWS: Mention new mode.
> > * lisp/progmodes/eglot.el (eglot-server-programs):
> > * lisp/progmodes/hideshow.el (hs-special-modes-alist): Support
> > lua-ts-mode.
> > * admin/notes/tree-sitter/build-module/batch.sh:
> > * admin/notes/tree-sitter/build-module/build.sh: Add Lua.
> > * test/infra/Dockerfile.emba:
> > * test/infra/test-jobs.yml: Include lua-ts-mode tests.
> 
> Thanks, installed on the master branch, and closing the bug.

However, this causes byte-compilation warnings on a system where
tree-sitter is not available:

  In end of data:
  progmodes/typescript-ts-mode.el:498:17: Warning: the function 
‘treesit-node-end’ is not known to be defined.
  progmodes/typescript-ts-mode.el:497:17: Warning: the function 
‘treesit-node-start’ is not known to be defined.
  progmodes/typescript-ts-mode.el:474:6: Warning: the function 
‘treesit-query-compile’ is not known to be defined.

Could you please fix these warnings?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]