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

1184 Commits

Author SHA1 Message Date
jdhao d939cc75c6 refactor: make packer installation a function 2022-10-16 10:23:40 +08:00
jdhao 26921309ec replace more viml with native lua code 2022-10-15 19:00:34 +08:00
jdhao a6f716558b update nvim-cmp lsp conf 2022-10-15 18:30:14 +08:00
jdhao 3539207913 use 2 spaces for tabs by default
This removes a lot of code duplication. If we want to use 4 spaces, we
can set it separately in their ftplugin settings.
2022-10-15 11:28:15 +08:00
jdhao d8b92965e8 change tab size for sql 2022-10-11 00:51:00 +08:00
jdhao ebf7170916 use UTF-8 instead of utf-8, closes #134 2022-10-09 13:23:01 +08:00
jdhao 696466469b update spell 2022-10-05 23:01:23 +08:00
jdhao 7a5be43600 use lua func in rhs instead of callback 2022-10-05 22:42:02 +08:00
jdhao 3b39067097 update mousescroll 2022-10-05 22:39:13 +08:00
jdhao e6b3be0777 remove language workaround for macOS
The issue has been fixed in https://github.com/neovim/neovim/pull/19139.
2022-10-05 22:33:13 +08:00
jdhao acb423984a remove vim-asterisk
The * can now search selected text by default. The cursor stay feature
can also be simulated.
2022-10-05 12:42:45 +08:00
jdhao d40d87cb61 nvim 0.8 update v0.8.0 2022-10-04 19:34:20 +08:00
jdhao 81663c8f3c update markdown-preview.nvim install method 2022-10-04 13:15:26 +08:00
jdhao 2c7e4aa87a Merge pull request #123 from jdhao/repolink
update repo link for transferred plugins
2022-09-29 00:00:12 +08:00
jdhao 07dd60206b update repo link for transferred plugins 2022-09-28 23:57:36 +08:00
jdhao c3d4eb371b Merge pull request #122 from jdhao/opt
always use sign column
2022-09-28 23:40:12 +08:00
jdhao 597a2aba80 always use sign column 2022-09-28 23:39:09 +08:00
jdhao f1f6d0b351 Merge pull request #121 from jdhao/clean
remove config for unused plugins
2022-09-28 23:37:54 +08:00
jdhao e1930ba153 remove config for unused plugins
vim-signify, vim-startify
2022-09-28 23:36:44 +08:00
jdhao a8db734e75 Merge pull request #120 from jdhao/firenvim
update conf related to firenvim
2022-09-28 23:32:48 +08:00
jdhao 4026baef19 update conf related to firenvim
1. Change autocmd for buffers started by firenivm, it seems that
   BufNewFile does not work as intended, in contrast, BufEnter, BufRead,
   BufWinEnter seem to work.
2. Disable several plugins if we are using firenvim, these plugins
   include dashboard-nvim, lualine, bufferline.nvim
2022-09-28 23:22:23 +08:00
jdhao f63152f79b Merge pull request #118 from jdhao/gitsign
hilight update for gitsigns.nvim
2022-09-28 00:32:57 +08:00
jdhao 5229c460ea hilight update for gitsigns.nvim 2022-09-28 00:32:07 +08:00
jdhao f308ccad7b Merge pull request #116 from jdhao/fugitive
correct :git to :Git
2022-09-25 23:44:13 +08:00
jdhao 09dd81bf67 correct :git to :Git 2022-09-25 23:42:50 +08:00
jdhao 5ecb74ad85 more mapping and doc update for gitlinker 2022-09-25 23:39:33 +08:00
jdhao 773003b71b Merge pull request #115 from jdhao/sql
change sql comment style
2022-09-25 23:15:51 +08:00
jdhao f5097b44b9 change sql comment style 2022-09-25 23:02:16 +08:00
jdhao 238886c136 Merge pull request #114 from jdhao/setup
fix: variable case not consistent, close #113
2022-09-25 11:02:47 +08:00
jdhao 2fccb59293 fix: variable case not consistent, close #113 2022-09-25 11:01:30 +08:00
jdhao 830297a973 Merge pull request #111 from jdhao/gitsign
enable word diff for gitsigns.nvim
2022-09-24 15:37:15 +08:00
jdhao 1f3fcc604a enable word diff for gitsigns.nvim
Also tweak the highlight for word diff to make clear. The default
highlgiht for word diff is TermCursor, which is unreadable.
2022-09-24 15:34:54 +08:00
jdhao 7f5bf5a1b2 Merge pull request #110 from jdhao/nvimtree
update nvim-tree conf
2022-09-23 20:46:49 +08:00
jdhao 81bc5e46f1 update nvim-tree conf 2022-09-23 20:45:58 +08:00
jdhao b4c3b7eba0 Merge pull request #109 from jdhao/spell
update spell
2022-09-20 01:20:19 +08:00
jdhao 4203410878 update spell 2022-09-20 01:19:44 +08:00
jdhao 9f58c3b7a5 Merge pull request #108 from jdhao/gitsign
update gitsigns conf
2022-09-20 01:18:00 +08:00
jdhao 45d0d68b9e update gitsigns conf 2022-09-20 01:15:16 +08:00
jdhao 74a9767018 Merge pull request #107 from jdhao/option
noruler
2022-09-15 12:19:31 +08:00
jdhao ab25bfc9c4 noruler 2022-09-15 12:18:26 +08:00
jdhao ebbdb27d01 Merge pull request #106 from chaoqunya/chaoqunya-fix-typo-in-mappings
typo fixed
2022-09-13 14:27:15 +08:00
chaoqunya 1b1f0199da typo fixed 2022-09-13 14:22:46 +08:00
jdhao 40fa9aab1c Merge pull request #104 from jdhao/global
global.vim --> global.lua
2022-09-11 18:24:10 +08:00
jdhao 6e8e61e53a global.vim --> global.lua
fix 2

fix 3
2022-09-11 18:21:56 +08:00
jdhao 89effe8b17 Merge pull request #103 from jdhao/format
format with stylua
2022-09-10 23:56:04 +08:00
jdhao aaeb6a813a format with stylua 2022-09-10 23:55:22 +08:00
jdhao 9ba728e201 Merge pull request #102 from jdhao/lualine
use gitsigns for diff
2022-09-10 22:57:06 +08:00
jdhao e5f1b4d224 use gitsigns for diff
Lualine's builtin diff often disappears and is not reliable, which is really frustrating for me.
2022-09-10 22:55:22 +08:00
jdhao eaddee0c5c Merge pull request #101 from jdhao/lsp-map
refactor: lsp mapping
2022-09-09 19:42:42 +08:00
jdhao 0582f26abe refactor: lsp mapping 2022-09-09 19:42:01 +08:00