1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

8 Commits

Author SHA1 Message Date
jdhao
5215a601b9 update fold conf for vim script
When setting foldlevel to 0 and load some plugin via InsertEnter event
using packer.nvim, if we press i to go to insert mode, the fold for vim
script file will be automatically closed. It is really annoying.

I have pinpoint the issue to the combination of packer.nvim and setting
foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that
default value for foldlevel is also 0. However, if we do not set it in
vim.vim, the above issue won't occur, which is strange.
2021-12-14 21:48:58 +08:00
jdhao
37e9487076 Use delimitMate instead of auto-pairs 2021-08-12 00:51:44 +08:00
jdhao
7ace838534 update formatoptions for certain filetypes 2021-06-17 00:21:15 +08:00
jdhao
2d84307695 use match(), replace obscure regex-match notation 2020-09-27 20:57:02 +08:00
jdhao
b65c7c6d70 change vim script style from 4-space indent to 2-space 2020-09-26 09:15:40 +08:00
jdhao
00cbed4cdc fix style issues as per vint 2020-09-24 23:01:10 +08:00
jdhao
1b97735bf2 chore: remove short url and replace with true url 2020-03-30 23:32:11 +08:00
jdhao
6428422cbd Simplify init.vim and move settings to autoload and after directory 2019-09-12 21:29:00 +08:00