change conceallevel to 2

This commit is contained in:
jc 2024-05-30 20:23:33 -04:00
commit 3637c8d7b7
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.maplocalleader = " " vim.g.maplocalleader = " "
vim.opt.number = true -- show line number vim.opt.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
@ -18,7 +18,7 @@ vim.opt.wrap = false -- bad, stay away from me!
vim.opt.hlsearch = false vim.opt.hlsearch = false
vim.opt.incsearch = true -- highlight search pattern as you type vim.opt.incsearch = true -- highlight search pattern as you type
vim.opt.scrolloff = 8 -- give me some personal space vim.opt.scrolloff = 8 -- give me some personal space
vim.opt.updatetime = 50 vim.opt.updatetime = 50
@ -27,10 +27,10 @@ vim.opt.ignorecase = true -- case-insensitive search
vim.opt.backspace = { "start", "eol", "indent" } vim.opt.backspace = { "start", "eol", "indent" }
-- don't want to look into these... -- don't want to look into these...
vim.opt.wildignore:append { "*/node_modules/*", "*/__pycache__/*" } vim.opt.wildignore:append({ "*/node_modules/*", "*/__pycache__/*" })
-- add '*' in block comments -- add '*' in block comments
vim.opt.formatoptions:append { 'r' } vim.opt.formatoptions:append({ "r" })
-- theme -- theme
vim.opt.winblend = 0 vim.opt.winblend = 0
@ -42,20 +42,21 @@ vim.opt.termguicolors = true -- good shit, just take it
-- activate persistent undo -- activate persistent undo
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()
vim.highlight.on_yank() vim.highlight.on_yank()
end, end,
group = highligh_group, group = highligh_group,
pattern = '*', pattern = "*",
}) })
vim.opt.completeopt = "menu,menuone,noselect"
vim.opt.completeopt = 'menu,menuone,noselect'
vim.opt.breakindent = true vim.opt.breakindent = true
vim.opt.cursorline = true vim.opt.cursorline = true
-- for obsidian
vim.opt.conceallevel = 2