Files
emacs/lisp
Yuan Fu c5925b6ba5 Fix heex-ts-mode indentation following previews elixir-mode change
After the previous fix in elixir-ts-mode (0fd259d166), embedded heex
code are indented like this:

1 defmodule Foo do
2   def foo(assigns) do
3     ~H"""
4 <span>
5   text
6 </span>
7     """
8   end
9 end

The indent rule finds the beginning of the parent heex node, and uses
the indentation of that line as anchor with an offset of 0.  Previously
the parent heex node (fragment) starts at EOL of line 3; after the
previous commit, it now starts at BOL of line 4.  To fix the
indentation, I changed the anchor to the beginning of the elixir
(rather than heex) node at point, which is at EOL at line 3.

* lisp/progmodes/heex-ts-mode.el (heex-ts--indent-rules): Use the elixir
node that contains the heex code as the anchor, instead of the heex root
node.
2024-09-10 20:07:20 -07:00
..
2024-08-12 08:10:36 +08:00
2024-07-08 17:10:40 +02:00
2024-07-18 11:46:50 +02:00
2024-07-08 17:39:51 +02:00
2024-09-01 17:51:22 -04:00
2024-07-08 17:47:21 +02:00
2024-09-02 21:02:09 +02:00
2024-07-08 17:49:14 +02:00
2024-09-04 20:43:25 +03:00
2024-09-07 12:41:29 +03:00
2024-07-20 02:42:08 +02:00
2024-06-22 08:23:18 -04:00
2024-06-23 16:40:06 +02:00
2024-07-18 11:46:50 +02:00
2024-07-18 11:46:50 +02:00
2024-07-18 11:46:50 +02:00
2024-07-18 11:46:50 +02:00
2024-07-18 11:46:50 +02:00
2024-06-23 06:48:54 -04:00
2024-09-02 21:02:09 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-18 11:46:50 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-09-10 23:39:34 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-12 09:58:53 +03:00
2024-07-20 02:42:08 +02:00
2024-06-21 20:07:50 +02:00
2024-08-04 10:47:16 +03:00
2024-07-20 02:42:08 +02:00
2024-07-20 02:42:08 +02:00
2024-07-24 15:19:13 +02:00
2024-07-18 11:46:50 +02:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.