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

bin+lib phlex_emmet_ls

A language server for generating Phlex code from Emmet abbreviations

7 releases

0.3.4 Jan 20, 2025
0.3.3 Jan 14, 2025
0.2.0 Jan 5, 2025
0.1.0 Jan 3, 2025

#2474 in Command line utilities

Download history 311/week @ 2025-01-02 358/week @ 2025-01-09 205/week @ 2025-01-16 3/week @ 2025-01-23 1/week @ 2025-01-30 4/week @ 2025-02-06

354 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

return {
  "lrangell/phlex-emmet.nvim",
  opts = {},
  ft = "ruby"
}

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
~437K SLoC