summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nvim
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-04-14 20:21:09 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-04-14 20:21:09 -0700
commitb5628b6609b68283531403727403f0cf21f25610 (patch)
tree854d5f7701d475c32a3724946459437d5211b873 /home/xyz/.config/nvim
parent4976d4807e1e04980f259d184c9edea960a0a502 (diff)
edit init.vim comments
RRethy/nvim-base16 change name to base16-nvim. I tested markdown treesitter, better but still not good.
Diffstat (limited to 'home/xyz/.config/nvim')
-rw-r--r--home/xyz/.config/nvim/init.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 31fe2a44..d6d4aa87 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -11,10 +11,12 @@ call plug#begin()
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
" tinted-theming/base16-vim has low contrast on fold title make it unreadable, but I customized it easily
" chriskempson/base16-vim doesn't do bold/italic for markdown syntax, and not maintained
-" RRethy/nvim-base16 does not highlight markdown codeblocks
-" tinted-theming/base16-vim and RRethy/nvim-base16 seem both work, both support tree-sitter
+" RRethy/base16-nvim does not highlight markdown codeblocks
+" tinted-theming/base16-vim and RRethy/base16-nvim seem both work, both support tree-sitter
Plug 'tinted-theming/base16-vim'
-" nvim-treesitter does not support markdown right now, so wait
+" nvim-treesitter seems support markdown highlight now, run `:TSEnable highlight`, more see vc notes
+" but very slow when editing large markdown files so I sitll don't enable it, maybe related:
+" https://github.com/nvim-treesitter/nvim-treesitter/issues/2206
"Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
" use latest vim-markdown
Plug 'tpope/vim-markdown'