From a4b57654c9b6aebe9271fd366b8442e177124378 Mon Sep 17 00:00:00 2001 From: MaasOedipa Date: Sat, 28 Mar 2026 11:36:22 +0100 Subject: [PATCH 1/2] added data preview module --- lua/custom/plugins/data-preview.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lua/custom/plugins/data-preview.lua diff --git a/lua/custom/plugins/data-preview.lua b/lua/custom/plugins/data-preview.lua new file mode 100644 index 00000000..506a6467 --- /dev/null +++ b/lua/custom/plugins/data-preview.lua @@ -0,0 +1,15 @@ +return { + 'vinvolve/data-preview.nvim', + cmd = { 'DataPreview', 'DataPreviewStats' }, + config = function() + local data_preview = require 'data-preview' + vim.api.nvim_create_user_command('DataPreview', data_preview.preview, { + nargs = 0, + desc = 'Preview data file (Parquet, Avro)', + }) + vim.api.nvim_create_user_command('DataPreviewStats', data_preview.preview_stats, { + nargs = 0, + desc = 'Preview data file statistics (min, max, nulls, etc.)', + }) + end, +} From fd4014638a2de6ed78598dba2b36f73bf1e4c7c7 Mon Sep 17 00:00:00 2001 From: MaasOedipa Date: Thu, 9 Apr 2026 19:59:28 +0200 Subject: [PATCH 2/2] added lockfile to nix purposes --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bccb0635..d09191c9 100644 --- a/init.lua +++ b/init.lua @@ -856,7 +856,9 @@ require('lazy').setup({ -- Or use telescope! -- In normal mode type `sh` then write `lazy.nvim-plugin` -- you can continue same window with `sr` which resumes last telescope search -}, { +}, +{ +lockfile = vim.fn.stdpath("data") .. "/lazy-lock.json", ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table