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

1417 Commits

Author SHA1 Message Date
jdhao
52426e0ce8 Remove config for neoformat 2025-06-08 00:18:43 +02:00
jdhao
ae5e7c5bb4 Add plugin neogit 2025-06-08 00:14:32 +02:00
jdhao
6e6a09e32f
Add support for markdown ref-style link (#415) 2025-06-07 19:12:01 +02:00
jdhao
88044b252e
add new colorscheme citruszest (#414) 2025-06-05 00:51:10 +02:00
jdhao
448f2394fe
Add new bunch of colorschemes (#413) 2025-06-03 13:22:02 +02:00
jdhao
6c10223062 change kanagawa theme variant 2025-06-03 12:36:50 +02:00
jdhao
ec557001af
bump supported nvim version to 0.11.2 (#412) 2025-06-02 23:25:06 +02:00
jdhao
082111fa4e
update LSP config (#410) v0.11.1 2025-05-13 18:15:08 +02:00
jdhao
30b3c09dda update readme 2025-04-30 19:07:07 +02:00
jdhao
3b964c3d1f remove format mapping for lsp 2025-04-30 19:04:44 +02:00
jdhao
999a1733cf use nvim-cmp for cmd line completion
- remove wilder.nvim and its config
- add blink.cmp config as backup solution
2025-04-30 19:01:57 +02:00
Alessandro Zini
b69dcb3a6b
fix neovim link for linux install script (#408) 2025-04-30 11:00:50 +02:00
jdhao
ea23f913b4
set default conf for all LSP in one place (#405) 2025-04-26 22:02:48 +02:00
jdhao
8839201450
upgrade nvim to 0.11.1 (#404) 2025-04-26 21:48:18 +02:00
jdhao
ba991064b6 change lualine refresh interval 2025-04-26 19:00:11 +02:00
jdhao
6c620ecc32 update the enabled lsp server list 2025-04-26 18:59:25 +02:00
jdhao
be862a83d6
Use new lsp configuration structure (#403)
In this new structure, the main configuration for a LSP server is
provided by the plugin nvim-lspconfig.
Some of the config may be overridden by the configuration under
directory `after/lsp/xxx.lua`, where `xxx` is the lsp server name used
by nvim-lspconfig.

Note that it is necessary to put the custom lsp server configuration
under `after/` directory, in order to correctly override the config
provided by nvim-lspconfig.
2025-04-26 17:19:46 +02:00
jdhao
488ba52644
use new api vim.lsp.config for lsp configuration (#402)
Now nvim-lspconfig serves as ready made configuration for different lsp
server configurations.
See also related PR in lspconfig: https://github.com/neovim/nvim-lspconfig/pull/3659
2025-04-22 17:54:29 +02:00
jdhao
e23d4bb661 use black to format python file 2025-04-11 21:06:53 +02:00
jdhao
510a5501c5
update config for git-conflict.nvim (#401) 2025-04-11 21:06:23 +02:00
jdhao
e08b17f335
optimize nvim startup time with lazy.nvim (#400) 2025-04-08 19:35:47 +02:00
jdhao
adddbc0ba6 remove indent-blankline and use mini.indentscope 2025-04-08 19:13:01 +02:00
jdhao
aadfdae677
switch from nvim-web-devicons to mini.icons (#399) 2025-04-08 19:11:20 +02:00
jdhao
5826161160 move fzf-lua config to separate file 2025-04-04 18:17:24 +02:00
jdhao
ea2b4a728d
remove plugin vim-markdown (#398)
use tree-sitter based markdown render instead.
2025-04-04 18:16:20 +02:00
jdhao
ad4a0e82dc
Simplify condition check (#397) 2025-04-02 21:57:37 +02:00
jdhao
9e6be1f001 update type hints 2025-04-02 21:33:32 +02:00
jdhao
c4160b6f85
update handling of large files (#396) 2025-04-02 21:30:25 +02:00
jdhao
60852c0473
Switch from LeaderF to Fzf-lua as the default fuzzy finder (#395) 2025-04-02 18:20:01 +02:00
Ya Zhuang
7fa77fbfbf
fix typo (#394) 2025-03-31 08:50:35 +02:00
jdhao
f76ef3dbb4 fix diagnostic issues 2025-03-30 21:01:02 +02:00
jdhao
d17289cd6b
use builtin log level enum to specify log level (#393) 2025-03-30 21:00:21 +02:00
jdhao
bfc531656a Add option messagesopt config 2025-03-30 20:56:43 +02:00
jdhao
72e6480933
Use LspAttach to configure buffer behavior (#392) 2025-03-30 20:54:53 +02:00
jdhao
625a4ffa47
update config for lazydev and nvim-lightbulb (#391) 2025-03-30 20:21:35 +02:00
jdhao
265f171172 remove unused variable 2025-03-30 18:58:23 +02:00
jdhao
b82c1c112f
update colorscheme (#390)
1. Remove catppuccin, it is too purple/blue for me
2. use another nightfox variant
2025-03-30 18:02:28 +02:00
jdhao
0816faee76
Separate diagnostic config from lsp ones (#389) 2025-03-30 17:58:09 +02:00
jdhao
12147bec86
Use glance.nvim for lsp references/implementations preview (#388) 2025-03-30 17:55:51 +02:00
jdhao
a8a1b92921
update floating window highlight (#387) 2025-03-28 20:29:39 +01:00
jdhao
5f662f143b
update various config after nvim 0.11 release (#386) 2025-03-28 20:27:02 +01:00
jdhao
f005a8303d
Nvim version bump (#385)
* update nvim version to 0.11.0

* replace deprecated nvim_err_write/nvim_err_writeln call

* replace deprecated func for diagnostic and lsp

* use vim.hl instead

* use new way to define diagnostic signs
2025-03-26 22:33:39 +01:00
Okarin
8cba1ba234
Install treesitter on all systems (#384)
For some reason treesitter gets only installed on mac os. This conflicts with treesitter-textobjects which gets installed for every system.
2025-03-21 14:42:33 +01:00
jdhao
a00e1fd92a
Remove luarocks (#383)
remove luarocks.nvim as it is causing startup delays
2025-03-05 23:08:27 +01:00
jdhao
2383eb7075
switch back to nvim-cmp (#381) 2025-02-16 21:03:17 +01:00
jdhao
ab059bbb6d
use treesitter-textobjects instead (#380)
Note that we should keep the branch of nvim-treesitter and nvim-treesitter-textobjects the same. `main` is targeted at nightly neovim and `master` is for stable neovim. See also https://github.com/nvim-treesitter/nvim-treesitter/issues/4767
2025-02-16 20:15:41 +01:00
jdhao
93166c65a5
update colorscheme config (#379) 2025-02-16 19:52:34 +01:00
jdhao
4b8c490abd
fix gitsign word_diff flickering issue (#378)
I guess it is due to the reason that we are doing constant git fetch,
and somehow gitsigns word diff is affected.

Changing the gitsigns debounce or changing lualine refresh rate do not
seem to help. So gitsigns word diff is disabled.
2025-02-16 19:20:21 +01:00
jdhao
2242961925
Remove obsolete func (#377)
- remove function: SynGroup, HasColorscheme and
  GetGitBranch
- rewrite Inside_git_repo in lua instead
2025-02-16 19:13:24 +01:00
jdhao
ac421715d3
Lualine async git info (#376)
make everything async and non-blocking and also remove the branch name fetching. It is not needed if we use the @{upstream} notation.
2025-02-16 01:15:07 +01:00