added obsidian conceal and complete

This commit is contained in:
armandogaliati 2024-07-08 03:33:25 -03:00
parent 5579e51bd5
commit c25354e2ef
1 changed files with 10 additions and 1 deletions

View File

@ -151,6 +151,8 @@ vim.opt.inccommand = 'split'
-- Show which line your cursor is on -- Show which line your cursor is on
vim.opt.cursorline = true vim.opt.cursorline = true
-- Conceal level(obsidian)
vim.opt.conceallevel = 1
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
@ -1145,6 +1147,7 @@ require('lazy').setup({
'typescript', 'typescript',
'python', 'python',
'markdown', 'markdown',
'markdown_inline',
'vim', 'vim',
'vimdoc', 'vimdoc',
}, },
@ -1229,7 +1232,13 @@ require('lazy').setup({
--path = '~/Documents/Notes', --path = '~/Documents/Notes',
--}, --},
}, },
-- Optional, completion of wiki links, local markdown links, and tags using nvim-cmp.
completion = {
-- Set to false to disable completion.
nvim_cmp = true,
-- Trigger completion at 2 chars.
min_chars = 2,
},
-- see below for full list of options 👇 -- see below for full list of options 👇
}, },
}, },