Commit graph

318 commits

Author SHA1 Message Date
Folke Lemaitre
4105c0ad3a
feat(util): added Util.is_loaded 2024-05-18 21:53:26 +02:00
Folke Lemaitre
a4d83524a7
fix(lsp): move next/prev reference keymaps to lsp keymaps. See #3220 2024-05-18 15:46:35 +02:00
Folke Lemaitre
d514e2fa93
feat(extras): added trouble-v3 and mini-hipatterns to recommended 2024-05-18 14:47:31 +02:00
Folke Lemaitre
03ea7f6f98
feat(root): added support for *.xxx root patterns 2024-05-18 14:38:53 +02:00
Folke Lemaitre
16eb3d9473
feat(extras): added a recommended plugin/language section to :LazyExtras 2024-05-18 14:11:50 +02:00
Folke Lemaitre
87bb766123
fix(treesitter): disable treesitter-rewrite extra for now. not ready yet 2024-05-17 22:38:59 +02:00
Iordanis Petkakis
23374f160a
fix(util.toggle): correctly toggle inlay_hints (#3202)
`is_enabled` also accepts a `filter` and when we initially toggle
`inlay_hints` on
[here](735f5905f8/lua/lazyvim/plugins/lsp/init.lua (L153)),
we pass a `bufnr` which sets the `inlay_hints` in the `bufstate` (see
[here](42aa69b076/runtime/lua/vim/lsp/inlay_hint.lua (L407-L432))),
but when we call `is_enabled` without a filter table the returned result
if from the `globalstate` (see
  [here](42aa69b076/runtime/lua/vim/lsp/inlay_hint.lua (L376-L388))).
2024-05-17 20:06:17 +02:00
Folke Lemaitre
19674e8047
fix(util): use bdelete for buf remove 2024-05-17 15:49:50 +02:00
Folke Lemaitre
2e1c945f61
fix(bufferline): correctly configure bufferline to use the new bufremove util 2024-05-17 14:27:00 +02:00
Iordanis Petkakis
b1ea356e6c
fix(util.lsp): add desc for keymaps reference (#3193) 2024-05-17 11:19:34 +02:00
Folke Lemaitre
779de263f1
feat(util): mini.bufremove is no longer needed 2024-05-17 10:10:31 +02:00
Folke Lemaitre
87493af237
fix(lsp): dont try to highlight refs for deleted buffers 2024-05-17 10:10:31 +02:00
Folke Lemaitre
cc99b219de
feat(lsp): document highlights now use native lsp. vim-illuminate is available as an extra 2024-05-17 09:19:28 +02:00
Folke Lemaitre
960ec8079b
fix: deprecation warning on diagnostic.is_disabled 2024-05-17 09:19:28 +02:00
Folke Lemaitre
14872fa816
fix(util): get opts from parsing specs instead of plugins 2024-05-16 22:14:57 +02:00
Folke Lemaitre
20081460b6 feat(extras): added extra for the nvim-treesitter rewrite. Some plugins are not compatible and will be disabled. 2024-05-16 21:25:51 +02:00
Folke Lemaitre
3c4ebd522e feat(coding)!: native snippets are now the default on Neovim 0.10. Install the luasnip extra to get luasnip back 2024-05-16 21:25:51 +02:00
Folke Lemaitre
f02507b159 feat(util): set_upvalue 2024-05-16 21:25:51 +02:00
Folke Lemaitre
3585d61c93
style: remove debug :) 2024-05-14 22:25:44 +02:00
Folke Lemaitre
965a469ca8
perf(startup): render a file opened from the cmdline as soon as possible and get rid of lazy_file logic 2024-05-14 21:43:02 +02:00
Iordanis Petkakis
c54eeb5390
fix(lazyfile): exclude filetypedetect from skips (#3004) 2024-05-13 08:20:34 +02:00
Folke Lemaitre
e89653f410
fix(pretty_path): properly escape % characters 2024-05-12 22:08:13 +02:00
Iordanis Petkakis
30ce84f7a7
fix(neo-tree): correctly set up cwd (#3097)
* fix(neo-tree): correctly set up `cwd`

* refactor: cleanup

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-12 10:08:55 +02:00
Iordanis Petkakis
b8475f5194
feat(lualine): make path trimming configurable by user (#3062)
* feat(lualine): make path trimming configurable by user

* fix: always split both forward/backward slashes

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-03 09:16:50 +02:00
Iordanis Petkakis
5f92dc5304
fix(toggle): use new inlay_hint.enable() signature (#3013) 2024-04-22 09:36:05 +02:00
Folke Lemaitre
9e3af1070f
feat(git): <leader>gb for Git Blame Line 2024-04-11 17:23:46 +02:00
Folke Lemaitre
349ae03f09
fix: merge conflict 2024-03-29 09:45:31 +01:00
Folke Lemaitre
e29c7acd2d
feat(extras): added extra for mini.diff 2024-03-28 23:41:54 +01:00
Folke Lemaitre
a786c471df
fix(statuscolumn): right align signs when virtnum > 0 2024-03-28 23:25:06 +01:00
Folke Lemaitre
bb1480a6b9
feat(lazygit): allow customizing the lazygit theme. Check the code to change the hl group mapping. Fixes #2846 2024-03-27 11:19:06 +01:00
Folke Lemaitre
6ed771de9d
fix(lazygit): use Visual instead of CursorLine for selected line. Fixes #2846 2024-03-27 10:43:32 +01:00
Folke Lemaitre
ce5917a589
fix(lazygit): error handling for getting lazygit's config path 2024-03-27 10:21:09 +01:00
Kevin Traver
eb9f9a8862
fix(keymaps): update all keymap descriptions to be Title Case (#2844) 2024-03-27 08:56:44 +01:00
Folke Lemaitre
fd0677fb9a
fix(terminal): dont use backdrop for edgy terminal windows 2024-03-26 19:55:14 +01:00
Folke Lemaitre
426cd3ed91
feat(lazygit): configure lazygit nvim-remote as editor and enable nerdfont icons
can be disabled with `vim.g.lazygit_config = false`
2024-03-26 19:55:14 +01:00
Folke Lemaitre
a26ca7bf56
fix(lazygit): dont error when setting ansi color fails. Fixes #2829 2024-03-26 15:24:16 +01:00
Folke Lemaitre
bfe8c608a3
fix(lazygit): allow overriding default terminal options 2024-03-26 13:42:57 +01:00
Folke Lemaitre
7d0dbc6ded
feat(lazygit): lazygit now automatically uses colors from your Neovim colorscheme
Disable by setting `vim.g.lazygit_theme = false` in your `options.lua`
2024-03-26 12:43:07 +01:00
Folke Lemaitre
c00e3aa6b1
feat(util): added util function to get a fg/bg color from the active colorscheme 2024-03-26 12:43:07 +01:00
Folke Lemaitre
3d4ab4eb26
feat(lazyterm): optional shell setup, mainly for pwsh. Fixes #2151 2024-03-22 09:49:07 +01:00
Folke Lemaitre
7a5dbeae75
feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
Folke Lemaitre
3a87c08cda
feat: use vim.uv everywhere instead of vim.loop 2024-03-22 09:02:34 +01:00
Alexander Arvidsson
213493e766
fix(format): Don't leak bufnr into opts tables (#2794) 2024-03-22 07:18:15 +01:00
Iordanis Petkakis
1661759d33
fix(util.telescope): make show_untracked configurable (#2789) 2024-03-20 17:25:39 +01:00
Iordanis Petkakis
ed44b246b4
feat(lualine): add modified_sign to pretty_path (#2754)
Closes #2752

I left the initial text blank on purpose, so that it doesn't change
anything stylistically and let the user decide what he wants to add
in his personal configuration for `lualine` spec.
2024-03-19 22:28:31 +01:00
Iordanis Petkakis
6a37171df6
fix(extras): accept symlinks in User extras directory (#2745) 2024-03-19 22:28:00 +01:00
Folke Lemaitre
d8d380a60e
fix(lazygit): make sure we start lazygit in a valid git root 2024-03-18 11:23:55 +01:00
Iordanis Petkakis
afca0b7876
fix(conform): make lsp_fallback option user configurable (#2616) 2024-03-14 14:14:41 +01:00
Pete Kazmier
d3761eded7
feat(lualine): add more hl options to pretty_path (#2687)
* feat(lualine): add more hl options to pretty_path

Adds two additional options to pretty_path: filename_hl and dirpath_hl.

This allows users to customize the highlight group of both the directory
component of the path name and the filenname independently. modified_hl
is still used when the buffer has been modified.

Thanks to dpetka2001 (Iordanis Petkakis) for the changes to the format
function.

* feat: cleanup

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-03-10 09:45:40 +01:00
Folke Lemaitre
ee2e876252
fix(extras): automatically rename extra symbols-outline => outline. Fixes #2675 2024-03-08 11:47:17 +01:00