diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | ftplugin/typescriptreact.lua | 20 | 
2 files changed, 2 insertions, 20 deletions
| @@ -110,3 +110,5 @@ cd ~/.config/nvim && git pull  - [Twitter](https://twitter.com/chrisatmachine) + + 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; -} | 
