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

67 Commits

Author SHA1 Message Date
jdhao
72d8cd07bc update nvim-notify conf 2021-11-23 22:43:12 +08:00
jdhao
af17364730 update hop.nvim conf 2021-11-17 23:19:36 +08:00
jdhao
62b6226520 fix indent-blankline activation bug
When InsertLeave is triggered, we should check if we need to start
indent-blankline before enabling it.
2021-11-06 23:10:24 +08:00
jdhao
bd92419bf9 remove lsp omnifunc conf
I never used it.
2021-11-06 20:05:54 +08:00
jdhao
6281322fce simplify lsp config 2021-11-06 20:03:21 +08:00
jdhao
538afe2fc6 update indent-blankline conf 2021-11-06 13:09:50 +08:00
jdhao
ffe588870d [breaking change] make it work for nvim 0.5.1
In nvim 0.5.1, the lsp handler signature has changed, see https://github.com/neovim/neovim/pull/15504
and LunarVim/LunarVim#1484.
2021-11-06 12:56:54 +08:00
jdhao
002ebf2f71 update hop.nvim conf 2021-11-05 20:53:09 +08:00
jdhao
fee6b127e5 update indent-blankline conf 2021-11-05 20:52:57 +08:00
jdhao
05c0ef1d60 update indent-blankline indent char 2021-10-31 15:42:09 +08:00
jdhao
ff54203995 update Indent-blankline conf 2021-10-30 23:09:37 +08:00
jdhao
49482b8ea0 change hop.nvim highlight 2021-10-29 23:33:57 +08:00
jdhao
e56595c138 add plugin alpha-nvim 2021-10-29 01:48:10 +08:00
jdhao
9a5318c0e1 add plugin cmp-buffer 2021-10-23 17:40:38 +08:00
jdhao
2e69db6551 add global variable logging_level 2021-10-23 01:24:32 +08:00
jdhao
613e2fa489 add lspkind.nvim 2021-10-23 01:13:41 +08:00
jdhao
9d234efbd4 disable autosave for plugins.lua 2021-10-21 23:03:15 +08:00
jdhao
6e273e4a34 update bufferline conf 2021-10-21 01:34:44 +08:00
jdhao
d13aae9b19 disable auto-preview of bqf 2021-10-20 21:54:52 +08:00
jdhao
0477364023 Only use indent-blankline on normal mode
In insert mode, it is distracting for editing.
2021-10-20 00:49:18 +08:00
jdhao
7750a43e55 update cmp settings 2021-10-19 01:14:09 +08:00
jdhao
71040c76c6 replace vim-sneak with hop.nvim 2021-10-18 22:53:22 +08:00
jdhao
66be7b9379 use local variable 2021-10-18 22:32:58 +08:00
jdhao
6464539399 nvim-notify update 2021-10-18 22:32:38 +08:00
jdhao
e2bcb7d8f4 transition from nvim-compe to nvim-cmp 2021-10-18 21:57:06 +08:00
jdhao
b6488d44c1 which-key conf 2021-10-17 07:50:38 +08:00
jdhao
6c14d23707 update which-key.nvim conf 2021-10-17 03:08:05 +08:00
jdhao
6cc198010a remove registers.nvim
Which-key.nvim can show register content too, with much more features.
I found this info on https://toroid.org/modern-neovim.
2021-10-17 02:52:40 +08:00
jdhao
a85bebdf02 remove some dead mappings
I am not really sure what they do anyway.
2021-10-17 02:12:45 +08:00
jdhao
768d02b040 update indentBlankline conf 2021-10-16 21:10:57 +08:00
jdhao
3a32e04af1 replace vim-auto-save with AutoSave.nvim 2021-10-16 00:08:36 +08:00
jdhao
3557b7fb09 update which-key conf 2021-10-10 23:51:05 +08:00
jdhao
96898255a0 add which-key.nvim 2021-10-07 23:37:35 +08:00
jdhao
fefc56d1e2 show border for diagnostics floating window 2021-09-23 23:12:47 +08:00
jdhao
36711d4a46 update registers.nvim settings 2021-09-09 15:55:25 +08:00
jdhao
83719b7827 update zen-mode.nvim settings
FileType autocmd may be triggered unexpectedly so that ZenMode command
is called at the wrong time.
2021-09-01 01:32:46 +08:00
jdhao
4f07f06e31 Add plugin zen-mode.nvim 2021-08-30 00:47:58 +08:00
jdhao
3c047c8674 update bufferline.nvim settings 2021-08-27 23:08:57 +08:00
jdhao
9f2b846011 Add treesitter parser for vim script again 2021-08-23 22:50:30 +08:00
jdhao
3ae5e1e354 Remove vim parser for treesitter
It is not yet usable: the highlighting is not good compared to regex
based highlighting.
2021-08-22 15:29:00 +08:00
jdhao
81b6a5e207 Enable treesitter highlight for Vim script, closes #17 2021-08-22 02:08:33 +08:00
jdhao
13cc96c00b chore: nvim-bufferline.lua has been renamed to bufferline.nvim 2021-08-21 20:43:25 +08:00
jdhao
42a0663184 Reduce timeout for nvim-notify 2021-08-20 01:12:35 +08:00
jdhao
bac94b47a0 Format with stylua 2021-08-18 01:43:08 +08:00
jdhao
7fc6af04ee update neoscroll config 2021-08-17 22:50:06 +08:00
jdhao
c2968eeda4 Use neoscroll instead of vim-smoothie 2021-08-15 01:32:23 +08:00
jdhao
9f0fe39727 Change bufferline plugin to nvim-bufferline
It looks better than barbar.nvim, IMO.
2021-08-15 00:41:05 +08:00
jdhao
07c80f948d Use proper true or false value for boolean variables
In lua, 0 and empty string is true, which is counter-intuitive and
different from vim script. So we need to use proper boolean type for vim
script global variables, instead of numbers.
2021-08-14 01:23:43 +08:00
jdhao
4f9fbc6092 update barbar.nvim settings 2021-08-14 00:15:56 +08:00
jdhao
4f25c7323e update treesitter settings
TS highlighting for bash is not so good.
2021-08-14 00:01:09 +08:00