From 1dc9cd4c705fef9accc0bd56ac48cca284306489 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Mon, 10 Feb 2020 17:29:05 -0800 Subject: [PATCH] vim plugin consolidation: language plugins -> polyglot --- nix/home.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nix/home.nix b/nix/home.nix index bf659a7..145b517 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -117,15 +117,10 @@ in { vimAlias = true; withPython = true; plugins = with pkgs.vimPlugins; [ + vim-polyglot vim-sensible vim-startify - vim-javascript - vim-ruby - vim-nix - vim-elixir alchemist-vim - haskell-vim - vim-markdown vimtex vim-airline rainbow @@ -167,6 +162,7 @@ in { \ 'javascript': ['prettier'], \ 'javascript.jsx': ['prettier'], \ 'javascriptreact': ['prettier'], + \ 'typescriptreact': ['prettier'], \} " Easymotion @@ -205,6 +201,7 @@ in { let g:LanguageClient_rootMarkers = { \ 'elm': ['elm.json'], + \ 'typescriptreact': ['tsconfig.json'], \ } let g:LanguageClient_loggingFile = expand('~/.local/share/nvim/LanguageClient.log')