ensure plugins are exported in overlay

This commit is contained in:
iofq 2025-08-15 00:59:00 -05:00
parent 7165161856
commit ac26b74e43
5 changed files with 12 additions and 7 deletions

4
flake.lock generated
View file

@ -3,10 +3,10 @@
"dart": {
"flake": false,
"locked": {
"lastModified": 1754291267,
"lastModified": 1755657012,
"owner": "iofq",
"repo": "dart.nvim",
"rev": "617587d40fd2f2727c18758c4e6decac78459529",
"rev": "c38b1e0d6daa47f8b9c58422e5a7ab57221810fd",
"type": "github"
},
"original": {

View file

@ -88,6 +88,6 @@
}
)
// {
overlays.default = neovim-overlay;
overlays.default = final: prev: (plugin-overlay final prev) // (neovim-overlay final prev);
};
}

View file

@ -1,3 +1,10 @@
-- create undopath
local undopath = vim.fn.stdpath('data') .. 'undo'
vim.api.nvim_create_autocmd('VimEnter', {
command = 'silent !mkdir -p ' .. undopath,
group = vim.api.nvim_create_augroup('Init', {}),
})
-- open :h in buffers
vim.api.nvim_create_autocmd('BufWinEnter', {
pattern = '*',

View file

@ -84,7 +84,6 @@ return {
notify_no_formatters = false,
formatters_by_ft = {
json = { 'jq' },
puppet = { 'puppet-lint' },
lua = { 'stylua' },
python = { 'ruff' },
nix = { 'nixfmt' },
@ -111,7 +110,6 @@ return {
require('lint').linters_by_ft = {
docker = { 'hadolint' },
yaml = { 'yamllint' },
puppet = { 'puppet-lint' },
sh = { 'shellcheck' },
go = { 'golangcilint' },
ruby = { 'rubocop' },
@ -124,7 +122,7 @@ return {
group = vim.api.nvim_create_augroup('lint', { clear = true }),
callback = function()
if vim.bo.modifiable then
require('lint').try_lint()
require('lint').try_lint(nil, { ignore_errors = true })
end
end,
})

View file

@ -40,7 +40,7 @@ return {
custom_textobjects = {
i = extra_ai.indent(),
g = extra_ai.buffer(),
e = extra_ai.line(),
l = extra_ai.line(),
u = ai.gen_spec.function_call(),
a = ai.gen_spec.treesitter { a = '@parameter.outer', i = '@parameter.inner' },
k = ai.gen_spec.treesitter { a = '@assignment.lhs', i = '@assignment.lhs' },