Move Neovim configuration files

This commit is contained in:
Oliver Davies 2025-03-29 23:15:01 +00:00
parent 383dab85f2
commit 52044d9995
49 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,15 @@
local opt = vim.opt_local
opt.spell = true
opt.wrap = true
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = 0,
callback = function()
local last_line = vim.api.nvim_buf_get_lines(0, -2, -1, false)[1]
if last_line ~= "" then
vim.api.nvim_buf_set_lines(0, -1, -1, false, { "" })
end
end,
})