Просмотр исходного кода

Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable

Chris 4 лет назад
Родитель
Сommit
703fdfd48d
2 измененных файлов с 2 добавлено и 20 удалено
  1. 2 0
      README.md
  2. 0 20
      ftplugin/typescriptreact.lua

+ 2 - 0
README.md

@@ -110,3 +110,5 @@ cd ~/.config/nvim && git pull
 
 - [Twitter](https://twitter.com/chrisatmachine)
 
+
+

+ 0 - 20
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;
-}