From c25354e2ef67f9e2d1e08311800662656d21c61c Mon Sep 17 00:00:00 2001 From: armandogaliati Date: Mon, 8 Jul 2024 03:33:25 -0300 Subject: [PATCH] added obsidian conceal and complete --- init.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 876bc3fd..68a920cb 100644 --- a/init.lua +++ b/init.lua @@ -151,6 +151,8 @@ vim.opt.inccommand = 'split' -- Show which line your cursor is on vim.opt.cursorline = true +-- Conceal level(obsidian) +vim.opt.conceallevel = 1 -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 @@ -1145,6 +1147,7 @@ require('lazy').setup({ 'typescript', 'python', 'markdown', + 'markdown_inline', 'vim', 'vimdoc', }, @@ -1229,7 +1232,13 @@ require('lazy').setup({ --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 👇 }, },