From 27f662efa7482bf54c46f41b8fc47a1dd363096f Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 2 Jul 2021 21:04:10 -0400 Subject: [PATCH] remove emmet --- ftplugin/typescriptreact.lua | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/ftplugin/typescriptreact.lua b/ftplugin/typescriptreact.lua index 40c68c51..173f6693 100644 --- a/ftplugin/typescriptreact.lua +++ b/ftplugin/typescriptreact.lua @@ -66,23 +66,3 @@ if O.lang.tsserver.autoformat then }) end vim.cmd("setl ts=2 sw=2") - -local nvim_lsp = require'lspconfig' -local configs = require'lspconfig/configs' -local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities.textDocument.completion.completionItem.snippetSupport = true - -configs.emmet_ls = { - default_config = { - cmd = {'emmet-ls', '--stdio'}; - filetypes = {'html', 'css', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}; - root_dir = function() - return vim.loop.cwd() - end; - settings = {}; - }; -} - -nvim_lsp.emmet_ls.setup{ - -- on_attach = on_attach; -}