nvim/lua/myinit.lua

17 lines
323 B
Lua
Raw Normal View History

2024-09-15 22:20:50 +02:00
local autocmd = vim.api.nvim_create_autocmd
vim.opt.fillchars = { }
--
-- enable nvim intro
-- vim.opt.shortmess = "filnxtToO"
vim.opt.whichwrap:remove "<>[]hl"
--
-- python max columns
autocmd("FileType", {
pattern = "python",
callback = function()
vim.opt.textwidth = 79
vim.opt.colorcolumn = "80"
end,
})