Commit Graph
100 Commits
Author SHA1 Message Date
jdhao 4a6379ca5d update git-linker conf
1. Add configuration for azure devops
2. change the mappings slightly
2023-08-09 19:52:58 +02:00
jdhao 855a88b532 fix: user lua conf reloading fails
The cache should be invalidated. This fix does not work 100%, because, e.g.,
there are other configs hiding deeper under lua/config/ directory.
A restart is the best way to reload the config.
2023-07-29 14:34:42 +02:00
jdhao 892cd49f06 doc: update doc and install guide for pylsp 2023-07-29 13:09:37 +02:00
jdhao e53ee104ec feat: move lua conf under lua directory 2023-07-28 22:28:36 +02:00
jdhaoandGitHub 671c78df9b feat: more ignore files for LeaderF (#209) 2023-07-29 04:09:50 +08:00
jdhao 1608a36dd3 fix: conf is not local 2023-07-25 23:00:25 +02:00
jdhao 450f058da5 feat: support venv in Mypy
Specify the correct python executable path for mypy to work well.
2023-07-25 22:59:06 +02:00
jdhao e2f348cb37 fix: missing nerdfonts
Since wezterm upgrade its support for Nerd Fonts 3.0, we should update
the codepoints used for some of the Unicode Icons. Their code points are
changed due to breaking changes in Nerd Fonts.
2023-07-25 22:53:20 +02:00
jdhao fc8175d32d feat: update diagnostic mappings
Use separate key mappings to show diagnostics for the current buffer and
all opened files.
2023-07-22 15:01:41 +02:00
jdhao 4034b6b673 feat: update pylsp conf
1. support using black as formatter
2. replace obsolete pyls-isort with maintained ones
2023-07-22 14:51:27 +02:00
jdhao 67a4b6e6d0 feat: add treesitter toml 2023-07-22 14:46:10 +02:00
jdhao bb27d93433 fix: move location indication to the right of statusline 2023-07-20 23:00:06 +02:00
jdhao 9d9c3ef32f feat: update diagnostic position in statusline
Do not show it in far right, move it to the left side for easier
visibility.
2023-07-20 22:52:55 +02:00
jdhao 00e8c77b23 Fix LeaderF bug
It will add files to buffer list even if we have not confirmed the
selection. This behavior is really annoying.
See also https://github.com/Yggdroot/LeaderF/commit/27bd938a422fc6fcfc453fa88fe2ad453a012074.
2023-06-27 20:39:26 +02:00
jdhao 7bb3ccc275 use legacy version of fidget for now 2023-06-17 00:08:02 +02:00
jdhao ee38046ebc Add folding support for JSON files 2023-06-13 22:25:25 +02:00
jdhao 6c873a32da update to nvim 0.9.1 2023-06-03 21:37:14 +02:00
jdhao 9ca65fd942 update conf for nvim-dashboard 2023-05-22 20:50:15 +02:00
jdhao cc3a7d6ebd remove impatient.nvim
It is not needed since nvim 0.9.0
2023-05-07 20:10:52 +02:00
jdhao f3a359a2fa conf for nvim 0.9.0 2023-04-20 22:36:48 +02:00
jdhao 9a4d71db88 update nvim-tree conf 2023-04-17 22:05:36 +02:00
jdhaoandGitHub dc597004df Merge pull request #187 from mr-cal/nvim-tree-update
nvim-tree: fix shortcut and repo
2023-04-17 21:59:43 +02:00
jdhaoandGitHub 644993a89e bump to nvim version 0.9.0 (#188) 2023-04-08 04:42:24 +08:00
jdhaoandGitHub 8746c7eb11 fix: omit the clangd missing message, close #180 (#186)
It is not necessary to install clangd if the user does not use neovim with CPP/C.
2023-03-13 19:55:00 +08:00
jdhaoandGitHub 7c44997289 refactor: lua language server rename (#185)
The lua language server from sumneko had changed its repo and created a
new organizational repo. See also https://github.com/neovim/nvim-lspconfig/pull/2439.
2023-02-16 17:39:23 +08:00
jdhaoandGitHub bfdb3f5a26 bump supported nvim version (#184) 2023-02-11 11:42:57 +08:00
jdhao 76ced0e265 update contact info 2023-01-18 13:27:55 +08:00
jdhaoandGitHub e84d18a204 update license year (#175) 2023-01-04 01:01:59 +08:00
jdhaoandGitHub 6429e8364c update nvim to version 0.8.2 (#173) 2022-12-31 10:13:39 +08:00
jdhaoandGitHub f2c6900a8d update setting for onedarkpro (#172) 2022-12-28 22:29:49 +08:00
jdhao 116aaa0675 update spell 2022-12-14 12:55:41 +08:00
jdhaoandGitHub 12f3ca9d1f more abbr (#169) 2022-12-14 12:54:54 +08:00
jdhaoandGitHub 7e7944a30c use yanky.nvim to replace vim-yoink (#168) 2022-12-14 12:52:40 +08:00
jdhao 43c1615822 fix: cmp-omni messes with the lsp completion
If we use cmp-omni and lsp together, it seems that it will mess the
autocompletion. So we only use it with tex file, where lsp in not used.
2022-11-22 21:19:53 +08:00
jdhao 509a8bce8c upgrade to latest stable 0.8.1 2022-11-22 21:16:17 +08:00
jdhao 8b10be60d4 update colorscheme list
- remove other gruvbox variant
- remove doom-one casue it has bugs
- add more colorschemes
2022-11-16 02:26:28 +08:00
jdhao 074d2bbdfd make filetype mapping local
Otherwise, the mapping will be global and leak to unrelated to files.
2022-11-15 01:10:26 +08:00
jdhao 7f9af87185 Merge branch 'master' of https://github.com/jdhao/nvim-config 2022-11-15 01:07:29 +08:00
jdhao bb0b0c5e25 chore: relax vimtex install condition 2022-11-15 01:06:59 +08:00
jdhao 7bb12e4b70 chore: relax vimtex install condition 2022-11-15 01:04:31 +08:00
jdhao 41da56b823 Add my own abbreivations for some spell mistakes 2022-11-13 19:53:14 +08:00
jdhao 82f2332281 chore: update gitsigns highlight 2022-11-10 00:43:15 +08:00
jdhao 075326ee2e fix: make xkbswitch work on mac M1 CPU
For the details, see https://jdhao.github.io/2021/02/25/nvim_ime_mode_auto_switch/.
2022-11-07 00:47:04 +08:00
jdhao baa8f26bc2 update spell 2022-11-01 22:27:35 +08:00
jdhao e9760ae9b8 remove smooth scroll
I do not really need it.
2022-11-01 22:19:03 +08:00
jdhao 0d50eb723f chore: add notification for packer compile
Also move the autocmd location.
2022-11-01 22:02:45 +08:00
jdhao 2073f72e67 refactor: use local diagnostic module 2022-10-23 15:18:03 +08:00
jdhao 364be4b5dc fix links 2022-10-20 13:23:38 +08:00
jdhao d30d402128 update option 2022-10-19 20:52:51 +08:00
jdhao fc144e0895 update badge 2022-10-19 12:13:13 +08:00
jdhao 18abfa7754 feat: add a mapping to blink cursor 2022-10-17 00:07:34 +08:00
jdhao 6c1dbdf8fc update spell 2022-10-16 10:26:41 +08:00
jdhao 202a9a088d remove vim-json
rarely used and it changes the conceal settings
2022-10-16 10:24:53 +08:00
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 2022-10-04 19:34:20 +08:00
jdhao 81663c8f3c update markdown-preview.nvim install method 2022-10-04 13:15:26 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub ebbdb27d01 Merge pull request #106 from chaoqunya/chaoqunya-fix-typo-in-mappings
typo fixed
2022-09-13 14:27:15 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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