dotfiles/.config/nvim/lua/core/options.lua

29 lines
467 B
Lua
Raw Normal View History

2022-10-21 06:15:28 -04:00
local opt = vim.opt
2022-12-24 12:33:46 -05:00
local ok, notify = pcall(require, "notify")
if ok then
vim.notify = notify
end
vim.cmd[[colorscheme catppuccin-macchiato]]
2022-10-21 06:15:28 -04:00
opt.encoding = "utf-8"
opt.clipboard = "unnamedplus"
opt.swapfile = false
2022-12-24 12:33:46 -05:00
opt.number = true
opt.relativenumber = true
2022-10-21 06:15:28 -04:00
2022-12-24 12:33:46 -05:00
vim.g.mapleader = " "
2022-10-21 06:15:28 -04:00
2022-12-24 12:33:46 -05:00
opt.list = true
opt.listchars = {tab = '| '}
2022-10-21 06:15:28 -04:00
2022-12-24 12:33:46 -05:00
vim.g.diagnostic_sings = {"", "", "", ""}
2022-10-21 06:15:28 -04:00
opt.mouse = "a"
opt.tabstop = 4
opt.shiftwidth = 4
opt.expandtab = true