From 93bd51bd35997f753cba476024df88f2df05cf20 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 3 Dec 2023 09:03:50 -0500 Subject: [PATCH] neovim: Add Emmet support I used Emmet years ago but at some point preferred Pug in Vue. Now that I use React more, this should make creating tags in JSX easier. The emmet language server is particularly useful since it becomes possible to tab complete HTML tags. --- home/neovim.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/neovim.nix b/home/neovim.nix index 0dfa2d9..39eae9b 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -77,6 +77,9 @@ in # ctags universal-ctags + + # emmet + emmet-ls ]; editorconfig = { @@ -237,6 +240,7 @@ in lspconfig.clangd.setup {} lspconfig.texlab.setup {} lspconfig.crystalline.setup {} + lspconfig.emmet_ls.setup {} lspconfig.denols.setup { root_dir = lspconfig.util.root_pattern("deno.json", "deno.jsonc"), } @@ -535,6 +539,7 @@ in vim-astro vim-svelte typst-vim + emmet-vim nvim-treesitter.withAllGrammars tagbar ];