nixvimConfig/plugins/astrocore/default.nix

28 lines
621 B
Nix
Raw Normal View History

2024-06-05 16:12:13 +02:00
# homepage: https://github.com/AstroNvim/astrocore
2024-06-03 23:45:15 +02:00
{ lib, pkgs, ... }:
{
extra = {
packages = [
(import ./package { inherit lib pkgs; })
];
2024-06-06 08:06:53 +02:00
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore_options.lua#L49-L53
config = ''
local g = {}
g.markdown_recommended_style = 0
if not vim.t.bufs then vim.t.bufs = vim.api.nvim_list_bufs() end -- initialize buffer list
require('astrocore').setup({
g = {
markdown_recommended_style = 0,
},
t = {
bufs = vim.t.bufs,
},
})
'';
};
2024-06-03 23:45:15 +02:00
}