mirror of https://github.com/folke/lazy.nvim.git
build(cache): added script to sync cache implementation with Neovim
This commit is contained in:
parent
2a88a73ace
commit
4446d69c28
|
@ -7,6 +7,7 @@ if type(package.loaded["vim.cache"]) == "table" then
|
||||||
return package.loaded["vim.cache"]
|
return package.loaded["vim.cache"]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- NEOVIM
|
||||||
local uv = vim.loop
|
local uv = vim.loop
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/env bash
|
||||||
|
cd ~/projects/neovim || exit
|
||||||
|
sed -n '/NEOVIM/,$p' ~/projects/lazy.nvim/lua/lazy/core/cache.lua | sed '1d' | rg -v "selene" >./runtime/lua/vim/cache.lua
|
||||||
|
stylua ./runtime/lua/vim/cache.lua
|
Loading…
Reference in New Issue