Format Neovim config

This commit is contained in:
Wekuz 2026-05-10 22:38:34 +03:00
parent 208d89af36
commit 719f2f297d
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9
2 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,6 @@
local markdown_format = vim.api.nvim_create_augroup("markdown_format", { clear = true })
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
group = markdown_format,
pattern = { "*.md" },
callback = function()
@ -12,7 +12,7 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
end
})
-- vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter", "VimResized", "WinResized"}, {
-- vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter", "VimResized", "WinResized" }, {
-- group = markdown_format,
-- callback = function()
-- if vim.bo.filetype == 'markdown' then

View file

@ -8,7 +8,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, { })
}, true, {})
vim.fn.getchar()
os.exit(1)
end
@ -17,7 +17,7 @@ vim.opt.rtp:prepend(lazypath)
-- Setup lazy.nvim
require("lazy").setup({
spec = {{ import = "wekuz.plugins" }},
spec = { { import = "wekuz.plugins" } },
install = { colorscheme = { "cyberdream" } },
checker = { enabled = false },
change_detection = { notify = false }