From f242916255d2288099970fe5a6726686d4529557 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 9 Sep 2022 09:00:21 -0700 Subject: [PATCH] :boom: Removed neotest, way too heavy --- nvim/lua/config.lua | 17 ----------------- nvim/lua/packages.lua | 1 - 2 files changed, 18 deletions(-) diff --git a/nvim/lua/config.lua b/nvim/lua/config.lua index ec987aa3..c446019e 100644 --- a/nvim/lua/config.lua +++ b/nvim/lua/config.lua @@ -147,23 +147,6 @@ for _, lsp in ipairs(servers) do } end --- neotest setup -require('neotest').setup({ - adapters = { - require('neotest-jest')({ - jestCommand = "npm test --", - jestConfigFile = "custom.jest.config.ts", - env = { CI = true }, - cwd = function(path) - return vim.fn.getcwd() - end, - }), - require('neotest-python'), - } -}) - -require('neotest').run.run() - -- Nvim_Tree configuration: -- setup with all defaults -- each of these are documented in `:help nvim-tree.OPTION_NAME` require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS diff --git a/nvim/lua/packages.lua b/nvim/lua/packages.lua index ce460d46..5792834c 100644 --- a/nvim/lua/packages.lua +++ b/nvim/lua/packages.lua @@ -52,5 +52,4 @@ require('packer').startup(function() use 'sbdchd/neoformat' -- general formatter for various languages use 'rhysd/vim-clang-format' -- formatter for c and c++ use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' } - use {'nvim-neotest/neotest', requires = { 'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter', 'antoinemadec/FixCursorHold.nvim', 'haydenmeade/neotest-jest', 'nvim-neotest/neotest-python',}} end)