Commit graph

258 commits

Author SHA1 Message Date
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
Folke Lemaitre
c6736ef2b8
fix(extras): show rename of symbols-outline => outline 2024-03-07 18:59:14 +01:00
Tang-Tang Zhou
8386d23c81
fix(util): clear buffer root cache when cwd change (#2502) 2024-03-07 17:49:39 +01:00
Iordanis Petkakis
5012d7d839
fix(util.ui.fg): Add link=false to show effective definition (#2542)
Fixes #2540 by showing the effective definition instead of the linked
group name.
2024-03-07 11:57:03 +01:00
André Freitas
36ae4213b8
fix(telescope): anonymous keymap (#1879)
* fix(telescope): anonymous keymap

* fix(telescope): add desc

* fix(telescope): function name

* fix(telescope): update description

* fix(telescope): diagnostic disable
2024-03-07 11:49:50 +01:00
Folke Lemaitre
e7a58d9484
fix(telescope): dont use git_files when .ignore or .rgignore file is present 2024-03-07 11:43:22 +01:00
Iordanis Petkakis
93342f15ba
feat(toggle): use vim.diagnostic.is_disabled when available (#2217)
* feat(toggle-diagnostics): change logic based on `vim.diagnostic.is_disabled`

After discussion in #2215, I thought maybe it would be beneficial if we
could change the logic of the `toggle-diagnostics` function based on if
the user has disabled diagnostics in his own configuration.

* feat(toggle-diagnostics): revert to `enable` instead of `status`

* fix(toggle): use vim.diagnostics enabled state when possible

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-01-21 20:41:11 +01:00
Folke Lemaitre
8baf9b5459
fix(lsp): fix inlay hints for older nightlies. See #2007 2023-11-30 21:24:07 +01:00
Folke Lemaitre
11a8a6bea7
fix(ui): signcolumn signs on nightly. Fixes #2039 2023-11-30 20:17:07 +01:00
Gary Murray
6853b785d9
fix(lsp): detect if using nvim-0.10 and use new inlay_hint.enable method (#2007)
* Detect if using nvim 0.10 and use new inlay_hint.enable method

* Add lsp util for inlay-hints and update keymap

* Remove the need to check vim version

* Support older nightly builds

* Move inlay_hint toggle in Util.toggle

---------

Co-authored-by: Gary Murray <gamurray@fanatics.com>
2023-11-30 19:53:40 +01:00
Folke Lemaitre
b32b4fd581
fix(extras): dont show extras that give errors (user's extras). Fixes #1895 2023-10-28 16:38:43 +02:00