summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nvim/init.vim
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-05-02 00:43:14 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-05-03 01:58:50 +0800
commitc5623ad790cbc26dd5e715176e1bcbca43253359 (patch)
treec1b8c39839306bafffffb42cd811bbf2f2dda7e7 /home/xyz/.config/nvim/init.vim
parent6207fe943a8cf6e66e98b4995e8937548f9e9044 (diff)
better commentca
Diffstat (limited to 'home/xyz/.config/nvim/init.vim')
-rw-r--r--home/xyz/.config/nvim/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 6e0e07e3..44147b00 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -115,8 +115,8 @@ augroup mycmd
autocmd! nvim.swapfile
autocmd SwapExists * let v:swapchoice = 'o'
" neovim high CPU usage when editing markdown file with many lines,
- " e.g., more than 100 lines, can be workarounded with :lua
- " vim.treesitter.stop()
+ " e.g., more than 100 lines, can be workarounded with `:lua
+ " vim.treesitter.stop()`
" https://github.com/neovim/neovim/discussions/39277
autocmd FileType markdown lua vim.treesitter.stop()
endif