mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-08 21:23:53 +00:00
languages/html: add emmet LSP (#1212)
* feat: add html.servers.emmet-ls * feat: update changelog --------- Co-authored-by: raf <raf@notashelf.dev>
This commit is contained in:
parent
25aafc84f5
commit
a87439ed3c
2 changed files with 11 additions and 1 deletions
|
|
@ -72,7 +72,6 @@
|
||||||
|
|
||||||
- Add [](#opt-vim.lsp.lightbulb.autocmd.enable) for manually managing the
|
- Add [](#opt-vim.lsp.lightbulb.autocmd.enable) for manually managing the
|
||||||
previously managed lightbulb autocommand.
|
previously managed lightbulb autocommand.
|
||||||
|
|
||||||
- A warning will occur if [](#opt-vim.lsp.lightbulb.autocmd.enable) and
|
- A warning will occur if [](#opt-vim.lsp.lightbulb.autocmd.enable) and
|
||||||
`vim.lsp.lightbulb.setupOpts.autocmd.enabled` are both set at the same time.
|
`vim.lsp.lightbulb.setupOpts.autocmd.enabled` are both set at the same time.
|
||||||
Pick only one.
|
Pick only one.
|
||||||
|
|
@ -589,3 +588,9 @@
|
||||||
[mellow.nvim]: https://github.com/mellow-theme/mellow.nvim
|
[mellow.nvim]: https://github.com/mellow-theme/mellow.nvim
|
||||||
|
|
||||||
- Add [mellow.nvim] plugin for vim and lualine theme support
|
- Add [mellow.nvim] plugin for vim and lualine theme support
|
||||||
|
|
||||||
|
[valyntyler](https://github.com/valyntyler):
|
||||||
|
|
||||||
|
[emmet-ls]: https://github.com/aca/emmet-ls
|
||||||
|
|
||||||
|
- Add [emmet-ls] to `html.lsp.servers`
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,11 @@
|
||||||
filetypes = ["html" "shtml" "htm"];
|
filetypes = ["html" "shtml" "htm"];
|
||||||
root_markers = ["index.html" ".git"];
|
root_markers = ["index.html" ".git"];
|
||||||
};
|
};
|
||||||
|
emmet-ls = {
|
||||||
|
cmd = [(getExe pkgs.emmet-ls) "--stdio"];
|
||||||
|
filetypes = ["html" "shtml" "htm"];
|
||||||
|
root_markers = ["index.html" ".git"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultFormat = "superhtml";
|
defaultFormat = "superhtml";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue