summaryrefslogtreecommitdiff
path: root/home
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:51 +0800
commite9ef460ced7a9aecef2dcc3b464eac3b159bd0dd (patch)
treea09549f7b7b70b624b0504010a71efb46f30b640 /home
parent22736255110a55ca11b79b6a23aa6f0d047e25a7 (diff)
better comment
Diffstat (limited to 'home')
-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 5f734ff5..0fcd4244 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