-- This file is automatically loaded by plugins.core vim.g.mapleader = " " vim.g.maplocalleader = "\\" -- LazyVim auto format vim.g.autoformat = true -- Use pretty notifications vim.notify = require("notify") -- Set Theme vim.cmd.colorscheme "catppuccin" -- Set Misc Options local opt = vim.opt opt.cursorline = true -- Enable highlighting of the current line opt.autoindent = true opt.expandtab = true -- Use spaces instead of tabs opt.shiftwidth = 2 -- Size of an indent opt.tabstop = 2 -- Size of an indent opt.linebreak = true -- Wrap lines at convenient points opt.list = true -- Show some invisible characters (tabs... -- opt.mouse = false opt.number = true -- Print line number opt.relativenumber = true -- Relative line numbers opt.ruler = false -- Disable the default ruler opt.scrolloff = 4 -- Lines of context opt.sidescrolloff = 8 -- Columns of context opt.spelllang = { "en" } opt.showmode = false -- Dont show mode since we have a statusline opt.termguicolors = true -- True color support opt.undofile = true opt.undolevels = 10000 opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode opt.wrap = false -- Disable line wrap opt.signcolumn = "yes" opt.foldcolumn = "0" opt.foldlevel = 99 opt.foldlevelstart = 99 opt.foldmethod = "expr" opt.foldexpr = "nvim_treesitter#foldexpr()" opt.foldenable = true