nvim/init.lua
2025-06-02 12:46:09 +02:00

21 lines
1.1 KiB
Lua

if vim.g.vscode then
require("pika.core")
else
require("pika.core")
require("pika.lazy")
-- ─< Call the function to set the desired colorscheme >────────────────────────────────
-- ╭──────────────────────────────────────────────────────╮
-- │ themes are under ./lua/pika/plugins/colorschemes.lua │
-- ╰──────────────────────────────────────────────────────╯
vim.cmd.colorscheme("tokyodark")
vim.opt.formatoptions:append("c") -- Auto-wrap comments
vim.opt.formatoptions:append("r") -- Auto-insert comment leader on Enter
vim.opt.formatoptions:append("o") -- Auto-insert comment leader with 'o'/'O'
vim.opt.formatoptions:append("q") -- Allow formatting of comments with 'gq'
vim.opt.formatoptions:remove("t") -- Don't auto-wrap text (only comments)
vim.opt.textwidth = 80
end