change conceallevel to 2
This commit is contained in:
parent
49fa962b70
commit
3637c8d7b7
1 changed files with 15 additions and 14 deletions
|
|
@ -27,10 +27,10 @@ vim.opt.ignorecase = true -- case-insensitive search
|
|||
vim.opt.backspace = { "start", "eol", "indent" }
|
||||
|
||||
-- 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
|
||||
vim.opt.formatoptions:append { 'r' }
|
||||
vim.opt.formatoptions:append({ "r" })
|
||||
|
||||
-- theme
|
||||
vim.opt.winblend = 0
|
||||
|
|
@ -42,20 +42,21 @@ vim.opt.termguicolors = true -- good shit, just take it
|
|||
-- activate persistent undo
|
||||
vim.opt.undofile = true
|
||||
|
||||
|
||||
-- highlight on yank
|
||||
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
local highligh_group = vim.api.nvim_create_augroup("YankHighlight", { clear = true })
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highligh_group,
|
||||
pattern = '*',
|
||||
pattern = "*",
|
||||
})
|
||||
|
||||
|
||||
vim.opt.completeopt = 'menu,menuone,noselect'
|
||||
vim.opt.completeopt = "menu,menuone,noselect"
|
||||
|
||||
vim.opt.breakindent = true
|
||||
|
||||
vim.opt.cursorline = true
|
||||
|
||||
-- for obsidian
|
||||
vim.opt.conceallevel = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue