23 lines
577 B
Lua
23 lines
577 B
Lua
vim.scriptencoding = 'utf-8'
|
|
vim.opt.encoding = 'utf-8'
|
|
vim.opt.fileencoding = 'utf-8'
|
|
vim.wo.relativenumber = true
|
|
vim.wo.number = true
|
|
vim.opt.title = true
|
|
vim.opt.autoindent = true
|
|
vim.opt.smartindent = true
|
|
vim.opt.smarttab = true
|
|
vim.opt.expandtab = true
|
|
vim.opt.breakindent = true
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.tabstop = 2
|
|
vim.opt.mouse = "a"
|
|
vim.opt.undofile = true
|
|
vim.opt.undodir = vim.fn.expand('~/.vim/undodir')
|
|
vim.opt.wrap = true
|
|
vim.opt.linebreak = true
|
|
vim.opt.breakindent = true
|
|
vim.opt.breakindentopt = "shift:2,min:40,sbr"
|
|
|
|
vim.cmd('colorscheme catppuccin')
|