1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
jdhao ac4bb6c162 Change ultisnips load condition
Benefit of doing this:

+ No change of cursor line position after entering insert mode. Previous,
  if we load ultisnips on InsertEnter, the cursor line will moved
  automatically (e.g., if cursor line is on bottom of the screen, when
  we enter insert mode, now we are at the middle of the screen, like
  Ctrl-E is used before entering insert mode), which is really annoying!
+ We can see the snippets in nvim-compe auto-completion menu. Previously,
  the snippets are not shown on the nvim-compe completion menu (snippet
  expansion works though, it is just we can not see snippets in the
  completion menu), possibly due to the loading order of ultisnips and
  nvim-compe, because we load them both on event InsertEnter. After
  changing ultisnips to a start plugin, this issue is gone.
2021-08-08 21:34:03 +08:00
..
2021-07-09 23:31:44 +08:00
2021-08-08 21:34:03 +08:00
2021-04-14 02:14:35 +08:00