#lsp #ruby #emmet #language-server #generate

bin+lib phlex_emmet_ls

A language server for generating Phlex code from Emmet abbreviations

6 releases

new 0.3.3 Jan 14, 2025
0.3.2 Jan 14, 2025
0.2.0 Jan 5, 2025
0.1.0 Jan 3, 2025

#2506 in Command line utilities

Download history 298/week @ 2024-12-31 164/week @ 2025-01-07

462 downloads per month

MIT license

21KB
499 lines

About

phlex-emmet-ls is a language server that provides Emmet completions for Phlex templates.

demo

Instalation

First install the binary using cargo:

cargo install phlex_emmet_ls

Then you can install plugin in your editor.

Neovim

The Neovim plugin can be found at https://github.com/lrangell/phlex-emmet.nvim

Using lazy.nvim

{
  "lrangell/phlex-emmet.nvim",
}

Visual Studio Code

The extension can be found at https://marketplace.visualstudio.com/items?itemName=LucasRangel.phlex-emmet-ls

Implemented features

  • Child: >
  • Sibling: + - [x] Multiplication: *
  • ID and CLASS attributes
  • Implicit tag names
  • Text: {}
  • Climb-up: ^
  • Item numbering: $
  • Grouping: ()

Dependencies

~17–30MB
~445K SLoC