mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
关闭markdown自动隐藏字符,提升使用体验
This commit is contained in:
parent
82aff96755
commit
35292c0845
2 changed files with 29 additions and 29 deletions
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
-- 开启左侧数字
|
||||
vim.o.number = true
|
||||
-- 始终隐藏字符(不依赖语法高亮),在 Markdown 文件中,粗体、斜体等标记字符可能会被隐藏
|
||||
vim.opt.conceallevel = 2
|
||||
-- 使用相对数
|
||||
vim.o.relativenumber = true
|
||||
-- 高亮当前行
|
||||
|
|
@ -44,6 +42,8 @@ vim.opt.updatetime = 200
|
|||
vim.opt.iskeyword = "_,49-57,A-Z,a-z"
|
||||
-- 让全局默认边框变成rounded或single
|
||||
vim.o.winborder = 'rounded'
|
||||
-- 始终隐藏字符(不依赖语法高亮),在 Markdown 文件中,粗体、斜体等标记字符可能会被隐藏
|
||||
-- vim.opt.conceallevel = 2
|
||||
|
||||
-- 设置编码格式
|
||||
vim.o.fileencodings = 'utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue