tidy up options

This commit is contained in:
jc 2023-12-18 22:47:18 -05:00
commit d8e94c9dd1
No known key found for this signature in database

View file

@ -1,11 +1,7 @@
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.maplocalleader = " " vim.g.maplocalleader = " "
vim.scriptencoding = "utf-8" vim.opt.number = true -- show line number
vim.opt.encoding = "utf-8"
vim.opt.fileencoding = "utf-8"
vim.wo.number = true -- show line number
vim.opt.relativenumber = true -- juicy relativity vim.opt.relativenumber = true -- juicy relativity
vim.opt.autoindent = true vim.opt.autoindent = true
@ -47,7 +43,7 @@ vim.opt.termguicolors = true -- good shit, just take it
vim.opt.undofile = true vim.opt.undofile = true
-- [[ highlight on yank ]] -- highlight on yank
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
vim.api.nvim_create_autocmd('TextYankPost', { vim.api.nvim_create_autocmd('TextYankPost', {
callback = function() callback = function()