Browse Source

Enable emmet-ls on vue filetype (#875)

Pasi Bergman 4 năm trước cách đây
mục cha
commit
a7fb911586
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/lsp/emmet-ls.lua

+ 1 - 1
lua/lsp/emmet-ls.lua

@@ -10,7 +10,7 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
 configs.emmet_ls = {
   default_config = {
     cmd = { "emmet-ls", "--stdio" },
-    filetypes = { "html", "css", "javascript", "typescript" },
+    filetypes = { "html", "css", "javascript", "typescript", "vue" },
     root_dir = function()
       return vim.loop.cwd()
     end,