afca0b7876
fix(conform): make lsp_fallback
option user configurable ( #2616 )
2024-03-14 14:14:41 +01:00
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
ee2e876252
fix(extras): automatically rename extra symbols-outline => outline. Fixes #2675
2024-03-08 11:47:17 +01:00
c6736ef2b8
fix(extras): show rename of symbols-outline => outline
2024-03-07 18:59:14 +01:00
8386d23c81
fix(util): clear buffer root cache when cwd change ( #2502 )
2024-03-07 17:49:39 +01:00
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
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
e7a58d9484
fix(telescope): dont use git_files when .ignore or .rgignore file is present
2024-03-07 11:43:22 +01:00
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
8baf9b5459
fix(lsp): fix inlay hints for older nightlies. See #2007
2023-11-30 21:24:07 +01:00
11a8a6bea7
fix(ui): signcolumn signs on nightly. Fixes #2039
2023-11-30 20:17:07 +01:00
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
b32b4fd581
fix(extras): dont show extras that give errors (user's extras). Fixes #1895
2023-10-28 16:38:43 +02:00
4558407574
fix(plugin): LazyFile now properly deals with deleted buffers. Fixes #1877
2023-10-26 07:38:53 +02:00
60e5707013
fix(util): pcall deletion of lazy_file augroup. See #1863
2023-10-25 15:54:35 +02:00
a5c9708736
perf(ui): wrap treesitter.foldexpr and cache get_parser during a event loop tick. Fixes #1846
2023-10-25 14:05:32 +02:00
315df373f2
fix(statuscolumn): correct line numbers & respect more options
2023-10-17 08:28:23 +02:00
ff64cc5399
fix(format): set formatexpr in options so users can override it. Fixes #1759
2023-10-16 23:01:18 +02:00
98db7ec0d2
perf(root): cache root detection. Fixes #1753
2023-10-16 12:42:54 +02:00
9517e64009
fix(root): root dir for windows. Fixes #1749
2023-10-16 08:35:35 +02:00
dfdfcad1aa
feat(lualine): new root dir component that only shows when cwd != root_dir
2023-10-15 22:38:44 +02:00
6f88b8b36f
fix(root): dont use single-file lsps for root detection. use workspaces only
2023-10-15 22:38:15 +02:00
8af7309c7e
feat(lualine): pretty_path now highlights file basename when modified
2023-10-15 22:37:49 +02:00
53e1637a86
feat(dashboard): c
on dahboard now opens telescope for config dir instead of useless init.lua
2023-10-15 09:16:52 +02:00
1a4342abae
refactor: move cmp status lualine component to util
2023-10-14 18:02:47 +02:00
6b9ee963e2
fix(news): dont show news when it has never been viewed (new install)
2023-10-14 16:56:48 +02:00
ff9bf005b6
fix(dashboard-nvim): repository has moved to nvimdev/dashboard-nvim ( #1715 )
...
* fix(dashboard-nvim) repository has moved to nvimdev/dashboard-nvim
* fix(dashboard): automatically rename dashboard.nvim
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com >
2023-10-14 13:21:30 +02:00
3f1bf70b14
refactor(util.lsp): easier lsp client filters
2023-10-13 12:20:55 +02:00
4584410e76
feat(format): use conform as lsp formatter since it has better format diffs
2023-10-13 09:45:35 +02:00
01dbd07073
fix(json): always write version to prevent spurious migrations. Fixes #1692
2023-10-13 07:36:02 +02:00
1bcf6b9a28
feat(extras): LazyExtras can now manage user extras lua/plugins/extras
. Fixes #1681
2023-10-12 21:47:31 +02:00
c9892652d2
feat(config): lazyvim.json
is now versioned and migrates to a newer version when needed
2023-10-12 21:45:32 +02:00
7c7b4be8db
fix(toggle): dont show incorrect deprecation warning for toggle. Fixes #1679
2023-10-12 17:59:48 +02:00
2a0b7a88ba
fix(config): make lazyvim.json idempotent, pretty-printed and remove full paths
2023-10-12 17:48:52 +02:00
7d9a395565
style(format): Fix typo ( #1675 )
2023-10-12 15:10:26 +02:00
73acab1675
feat: added NEWS.md and option to automatically show when changed (enabled by default)
2023-10-12 14:38:25 +02:00
a4e393154f
fix(extras): make sure we use priorities to import extras in correct order
2023-10-12 11:48:02 +02:00
3256abda65
fix(plugin): show warning of removed core plugin when trying to load them without having the extra
2023-10-12 11:48:02 +02:00
db5d28b039
fix(plugin): add nvim-treesitter-context rename warning
2023-10-12 11:48:02 +02:00
14f3f036e9
feat(inject): util method to get upvalue
2023-10-12 11:48:02 +02:00
eedb4a3405
feat(ui): show optional plugins in a different color
2023-10-12 11:48:02 +02:00
b43c57d943
feat: added aerial extra with integrations for edgy, telescope and lualine
2023-10-12 11:48:02 +02:00
e239235cd3
feat(util): inject module
2023-10-12 11:48:02 +02:00
8d7361c460
feat(root): cached pretty path function for statuslines
2023-10-12 11:48:02 +02:00
592f3b03bb
fix(root): only use workspace folders that contain the buffer
2023-10-12 11:48:02 +02:00
c4e55e4d67
feat(ui): added :LazyExtras
to manage enabled extras in LazyVim
2023-10-12 11:48:02 +02:00
4ea1c6865e
feat(config): use lazy's new custom events (Event.mappings
) for a better LazyFile
2023-10-12 11:48:02 +02:00
a4abbdc89b
fix(format): always show formatter status even when no sources available
2023-10-12 11:48:02 +02:00
c33e7489ec
feat(root): allow custom functions as part of vim.g.root_spec
2023-10-12 11:48:02 +02:00
f59cdff4d9
fix(plugin): enable lazy_file
2023-10-12 11:48:02 +02:00