elixir-editors / elixir-editors/vim-elixir

LiveEEX sigil "~L" does not switch to EEx-style indentation

Open
#536 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Ruby
Stars
1.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Running `ggVG=` to indent the file leads to:

# Actual

```ex
defmodule MyApp.Foo do
use MyApp.Web, :live_component

@impl true
def mount(socket) do
{:ok, socket}
end

@impl true
def render(assigns) do
~L"""


component!



"""
end
end

```

# Expected

```ex
defmodule MyApp.Foo do
use MyApp.Web, :live_component

@impl true
def mount(socket) do
{:ok, socket}
end

@impl true
def render(assigns) do
~L"""


component!



"""
end
end

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.