diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-06-24 19:35:59 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-06-24 19:35:59 +0000 |
| commit | 2d0ca00368742c0c7af802b9b2a920c4cd02303a (patch) | |
| tree | 1073e9e449a1444f43c5ffda2927921cc55e5958 | |
| parent | feat: `herb_ls` #3925 (diff) | |
| download | nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar.gz nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar.bz2 nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar.lz nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar.xz nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.tar.zst nvim-lspconfig-2d0ca00368742c0c7af802b9b2a920c4cd02303a.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 45 | ||||
| -rw-r--r-- | doc/configs.txt | 33 |
2 files changed, 78 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index 88154050..ab854554 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -131,6 +131,7 @@ Nvim by running `:help lspconfig-all`. - [harper_ls](#harper_ls) - [hdl_checker](#hdl_checker) - [helm_ls](#helm_ls) +- [herb_ls](#herb_ls) - [hhvm](#hhvm) - [hie](#hie) - [hlasm](#hlasm) @@ -5058,6 +5059,50 @@ Default config: --- +## herb_ls + +https://www.npmjs.com/package/@herb-tools/language-server +https://github.com/marcoroth/herb + +HTML+ERB (HTML + Embedded Ruby) +Powerful and seamless HTML-aware ERB parsing and tooling. + +Herb is designed from the ground up to deeply understand `.html.erb` files, +preserving both HTML and embedded Ruby structure without losing any details. + +`herb-language-server` can be installed via `npm`: + +```sh +npm install -g @herb-tools/language-server +``` + +or via `yarn`: + +```sh +yarn global add @herb-tools/language-server +``` + +Snippet to enable the language server: +```lua +vim.lsp.enable('herb_ls') +``` + +Default config: +- `cmd` : + ```lua + { "herb-language-server", "--stdio" } + ``` +- `filetypes` : + ```lua + { "html", "ruby", "eruby" } + ``` +- `root_markers` : + ```lua + { "Gemfile", ".git" } + ``` + +--- + ## hhvm Language server for programs written in Hack diff --git a/doc/configs.txt b/doc/configs.txt index 3750c3e3..f66400c3 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -3588,6 +3588,39 @@ Default config: < ------------------------------------------------------------------------------ +herb_ls + +https://www.npmjs.com/package/@herb-tools/language-server +https://github.com/marcoroth/herb + +HTML+ERB (HTML + Embedded Ruby) +Powerful and seamless HTML-aware ERB parsing and tooling. + +Herb is designed from the ground up to deeply understand `.html.erb` files, +preserving both HTML and embedded Ruby structure without losing any details. + +`herb-language-server` can be installed via `npm`: +>sh + npm install -g @herb-tools/language-server + +or via `yarn`: +>sh + yarn global add @herb-tools/language-server + +Snippet to enable the language server: >lua + vim.lsp.enable('herb_ls') + + +Default config: +- cmd: >lua + { "herb-language-server", "--stdio" } +- filetypes: >lua + { "html", "ruby", "eruby" } +- root_markers: >lua + { "Gemfile", ".git" } +< + +------------------------------------------------------------------------------ hhvm Language server for programs written in Hack |
