completions!

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-02 13:54:57 -05:00
parent ccb3727d8f
commit 44fe840228
5 changed files with 131 additions and 10 deletions

View file

@ -1,3 +1,4 @@
---@diagnostic disable: undefined-global
if NIX then
-- Add my lua dir to the path. THIS IS NOT RECURSIVE!
-- For recursive we can do something like this: https://github.com/RingOfStorms/nvim/blob/0b833d555c69e88b450a10eec4e39a782bad1037/init.lua#L1-L17
@ -42,7 +43,7 @@ end
local function getSpec()
if NIX then
-- Convert plugins to use nix store, this auto sets the `dir` property for us on all plugins.
function convertPluginToNixStore(plugin)
local function convertPluginToNixStore(plugin)
local p = ensure_table(plugin)
if p.enabled == false then
return plugin