chore(nvim): Remove unused util-functions

- Remove relic of effort to force neovim in vs-code
- Remove util functions copied from LazyNvim - if I need them I'll write
  them
- Removed Lua code comments I don't understand
- Better code comments
This commit is contained in:
Pratik Tripathy
2025-09-09 18:20:55 +05:30
parent ada5e67118
commit de0ae11f4a
16 changed files with 34 additions and 239 deletions

View File

@@ -3,7 +3,6 @@ return {
-- Taken from LazyVim
{
"nvim-neotest/neotest",
cond = require("config.util").is_not_vscode(),
dependencies = {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
@@ -43,8 +42,6 @@ return {
if require("lazy.core.config").spec.plugins["trouble.nvim"] ~= nil then
opts.consumers = opts.consumers or {}
-- Refresh and auto close trouble after running tests
---@type neotest.Consumer
opts.consumers.trouble = function(client)
client.listeners.results = function(adapter_id, results, partial)
if partial then