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
jdhao
28bda349e8
Update lualine config ( #375 )
...
- components are re-ordered
- add new component to show git ahead/behind info
- remove some unused component
2025-02-15 18:58:15 +01:00
jdhao
ee4bce4671
enable mouse in normal mode
2025-02-15 14:36:24 +01:00
jdhao
7f53743255
remove automcd to go to last place
...
This conflicts with the fuzzy finder, if you grep for a word using fuzzy
finder and then press enter to go to the place, it does not work
anymore, it will go the line where you are last time.
2025-02-14 22:12:33 +01:00
jdhao
94497c0a73
snack config update
2025-02-13 00:41:35 +01:00
jdhao
70e9943aac
update supported nvim version to latest stable
...
Update a few plugins
2025-02-12 23:32:21 +01:00
jdhao
9a6584bec3
add plugin colorzier
v0.10.3
2025-01-29 00:21:10 +01:00
jdhao
c7fb090e4c
update README
2024-12-22 14:04:56 +01:00
jdhao
a02f317a1d
update supported nvim version to v0.10.3
2024-12-22 13:56:41 +01:00
jdhao
f95d4c09b4
disable mouse
v0.10.2
2024-12-21 00:03:38 +01:00
jdhao
7e706515a8
silently format lua file using stylua
...
We need to disable the mapping set for LSP, otherwise the mapping set in
lua.vim will be overridden.
2024-12-19 23:45:15 +01:00
jdhao
1d66475cae
make option showcmd shown in statusline instead
...
Related issues:
+ https://groups.google.com/g/vim_dev/c/YwFLUaduXTQ
+ https://github.com/neovim/neovim/pull/21202
+ https://github.com/nvim-lualine/lualine.nvim/issues/949
2024-12-19 23:39:14 +01:00
jdhao
5328c477a8
reformat with stylua
2024-12-19 22:16:23 +01:00
jdhao
917ab82ffb
update dict
2024-12-19 22:13:53 +01:00
jdhao
54eb3ca811
install new plugins
2024-12-19 22:08:56 +01:00
jdhao
64b41fbd58
use native lua api instead of vim.cmd
2024-12-19 22:01:04 +01:00
jdhao
d941be482b
update lualine config
2024-12-08 21:34:47 +01:00
jdhao
ab75189231
Fix command CopyPath issue
...
the string.gsub in lua is not flexible and use vim.fn.substitute()
instead.
2024-11-29 23:25:19 +01:00
jdhao
7645751dc1
Update readme
2024-11-27 00:05:38 +01:00
jdhao
8880268140
custom command update
...
1. Add new command `CopyPath`
2. Revise command `JSONFormat`: implemented using the nvim lua interface
and fix a few issues. The previous implementation is removed.
2024-11-27 00:05:38 +01:00
jdhao
d86f599483
update the fold level allowed for statuscol.nvim
2024-11-08 22:57:33 +01:00
jdhao
8dfae271d0
use plaintext for pyright hover request
...
see my comment here for the details: https://www.reddit.com/r/neovim/comments/1gdv1rc/comment/lvt9nlm/
2024-11-07 21:53:32 +01:00
jdhao
1141a18c5f
update config for pyright
2024-11-06 23:19:55 +01:00
jdhao
fe3d5e5922
remove plugin committia.vim
2024-11-05 22:16:54 +01:00
jdhao
9769c24633
Switch Python LSP for completion and add ruff
...
pyright servers type checking, completion, and ruff servers linting and
diagnostics (ruff can also format Python files, but it is slightly
different from black)
2024-11-05 22:09:33 +01:00
jdhao
97f72936ac
Enable LSP format also for visual selection
2024-11-05 22:04:49 +01:00
jdhao
94cade03be
enable inlayhint for lua_ls server
...
The client side inlayhint can be enabled by uncommentting the code in
this PR.
2024-11-05 22:01:23 +01:00
jdhao
590bd6c7e6
use stylua to format lua files
2024-11-05 21:56:18 +01:00
jdhao
4171f190f2
Add plugin nvim-lightbulb to hint code actions
2024-11-05 21:47:34 +01:00
jdhao
5426c88a90
update Leaderf setting
...
Only search file content and not file name when using Leaderf rg
2024-11-05 21:44:34 +01:00
jdhao
d715ce8f31
update supported nvim version to 0.10.2
2024-10-09 18:00:15 +02:00
jdhao
3040fa7969
use a cmp-fork for now
...
Until cmp is maintained again or switch??
v0.10.1
2024-10-09 17:37:21 +02:00