diff options
author | Chris <[email protected]> | 2021-07-02 21:04:10 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-07-02 21:04:10 -0400 |
commit | 27f662efa7482bf54c46f41b8fc47a1dd363096f (patch) | |
tree | 1ddb1e56796ba8ca33fe9affcce5519b7540b10c /ftplugin/typescriptreact.lua | |
parent | 32d8a38df68fd4cccbd97bdef8fbfef75d821b5f (diff) |
remove emmet
Diffstat (limited to 'ftplugin/typescriptreact.lua')
-rw-r--r-- | ftplugin/typescriptreact.lua | 20 |
1 files changed, 0 insertions, 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; -} |