nvim: after/ftplugin/markdown: Set conceallevel to 2
neovim 0.10 introduces experimental support for hyperlinks using OSC 8 sequence. By default, this is used in Markdown for links of the form [example](https://example.com). If terminal supports the OSC 8 escape sequence, then the text example in the neovim buffer will contain a hyperlink that can be clicked and it will open in web browser. This means markdown files with conceallevel=2 look much closer to the rendered output.
This commit is contained in:
parent
1b96983efa
commit
1ec6aee797
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
vim.bo.textwidth = 0
|
||||
vim.bo.textwidth = 0
|
||||
vim.wo.conceallevel = 2
|
||||
|
||||
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
||||
buffer = 0,
|
||||
|
|
Loading…
Reference in a new issue