aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/flake.lock12
-rw-r--r--contrib/flake.nix6
-rw-r--r--contrib/local.mk.example6
-rw-r--r--contrib/minimal.lua14
4 files changed, 24 insertions, 14 deletions
diff --git a/contrib/flake.lock b/contrib/flake.lock
index 554dc22bdb..0259dd4c8c 100644
--- a/contrib/flake.lock
+++ b/contrib/flake.lock
@@ -5,11 +5,11 @@
"systems": "systems"
},
"locked": {
- "lastModified": 1685518550,
- "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
+ "lastModified": 1701680307,
+ "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
+ "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
"type": "github"
},
"original": {
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1686226982,
- "narHash": "sha256-nLuiPoeiVfqqzeq9rmXxpybh77VS37dsY/k8N2LoxVg=",
+ "lastModified": 1703013332,
+ "narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "a64b73e07d4aa65cfcbda29ecf78eaf9e72e44bd",
+ "rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
"type": "github"
},
"original": {
diff --git a/contrib/flake.nix b/contrib/flake.nix
index 57e56d0fdb..6355f3a68a 100644
--- a/contrib/flake.nix
+++ b/contrib/flake.nix
@@ -134,14 +134,16 @@
buildInputs = with pkgs;
oa.buildInputs ++ [
- cmake
lua.pkgs.luacheck
sumneko-lua-language-server
pythonEnv
include-what-you-use # for scripts/check-includes.py
jq # jq for scripts/vim-patch.sh -r
shellcheck # for `make shlint`
- doxygen # for script/gen_vimdoc.py
+ ];
+
+ nativeBuildInputs = with pkgs;
+ oa.nativeBuildInputs ++ [
clang-tools # for clangd to find the correct headers
];
diff --git a/contrib/local.mk.example b/contrib/local.mk.example
index bda2c1b4dc..4e8a510f2d 100644
--- a/contrib/local.mk.example
+++ b/contrib/local.mk.example
@@ -55,9 +55,3 @@
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED=OFF
# .DEFAULT_GOAL := nvim
-#
-# Run doxygen over the source code.
-# Output will be in build/doxygen
-#
-# doxygen:
-# doxygen src/Doxyfile
diff --git a/contrib/minimal.lua b/contrib/minimal.lua
new file mode 100644
index 0000000000..2391e12f68
--- /dev/null
+++ b/contrib/minimal.lua
@@ -0,0 +1,14 @@
+-- Run this file as `nvim --clean -u minimal.lua`
+
+for name, url in pairs {
+ -- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g:
+ -- some_plugin = 'https://github.com/author/plugin.nvim'
+} do
+ local install_path = vim.fn.fnamemodify('nvim_issue/' .. name, ':p')
+ if vim.fn.isdirectory(install_path) == 0 then
+ vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
+ end
+ vim.opt.runtimepath:append(install_path)
+end
+
+-- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE