This commit is contained in:
Oliver Davies 2024-02-29 16:28:28 +00:00
parent fa5e61d666
commit ba2c700af6

View file

@ -5,7 +5,9 @@ M.definition = function()
vim.lsp.buf_request(0, "textDocument/definition", params, function(err, result, ctx, config)
local new_result = vim.tbl_filter(function(v)
-- Remove any referneces to the nix store via the .direnv directory.
-- TODO: remove definitions within vendor-bin directory for PHP files?
-- Remove any definitions within the nix store via the .direnv directory.
return not string.find(v.targetUri, ".direnv")
end, result)