Commit graph

191 commits

Author SHA1 Message Date
Folke Lemaitre
e1f5484c82
refactor: use_lazy_file 2023-10-06 18:43:54 +02:00
Folke Lemaitre
6e0e01f5b4
fix(config): fixed issues related to LazyFile. Fixes #1601 2023-10-06 15:40:27 +02:00
Folke Lemaitre
1eb019274b
fix(options): set default laststatus=3 and set it to 0 before loading dashboard to prevent flickering 2023-10-05 10:43:21 +02:00
Folke Lemaitre
0cc80b1b05
fix(autocmds): last_loc autocmd didn't work correctly for first opened file 2023-10-04 20:40:11 +02:00
Folke Lemaitre
d989ecc943
fix(options): only enable treesitter foldexpr on nightly. Fixes #1581 2023-10-04 18:07:21 +02:00
Folke Lemaitre
2f16a7b2d9
perf(config): add LazyVim to the rtp early for faster spec loading 2023-10-04 13:44:03 +02:00
Folke Lemaitre
afc8e7f8ca
fix(autocmds): retore last location for correct buffer 2023-10-04 10:48:20 +02:00
Folke Lemaitre
936d74bb61
perf: added support for LazyFile event that properly loads file based plugins without blocking the ui 2023-10-04 10:45:10 +02:00
Folke Lemaitre
f15dd301e5
style: fixed lua annotations 2023-10-04 10:43:44 +02:00
Folke Lemaitre
ccff8683ba
fix(ui): work-around for telescope issue with treesitter folds 2023-10-03 18:57:05 +02:00
Folke Lemaitre
e105c9daf6
perf(options): better detection for foldtext,statuscolumn,folexpr support 2023-10-03 18:19:32 +02:00
Folke Lemaitre
f1ce07510d
feat(ui): fancy fold text 2023-10-03 14:57:59 +02:00
Folke Lemaitre
364bcf325d
feat(ui): fancy status column 2023-10-03 14:56:55 +02:00
Folke Lemaitre
3f868aa825
feat(keymaps): added toggle for relative line numbers 2023-10-03 14:56:55 +02:00
Folke Lemaitre
19926d2848
feat(options): enabled treesitter folding and foldtext when available 2023-10-03 08:02:15 +02:00
Folke Lemaitre
450e0c6beb
feat(options): enable smoothscroll on nightly 2023-10-03 08:02:15 +02:00
Folke Lemaitre
9b16770573
fix(format): moved formatting keymap to lua/lazyvim/config/keymaps.lua 2023-10-01 23:31:24 +02:00
Folke Lemaitre
2aea5c7210
feat: show error and exit Neovim when version is too old 2023-10-01 14:18:25 +02:00
Folke Lemaitre
9935dc3944
fix: cleanup all Neovim < 0.9.0 code 2023-10-01 14:18:25 +02:00
Mark Tareshawty
9bb4e8755f
feat: replace Copilot icon with logo (#1539) 2023-10-01 10:21:35 +02:00
Ahmed W
7cac6f064c
feat(null-ls)!: use none-ls instead of null-ls (#1517)
* FEATURE: use none-ls instead of null-ls

Fixes #1516

* fix(none-ls): automatically migrate null-ls to none-ls

* feat(config): show warning if user config contains renamed references

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-09-29 11:52:45 +02:00
Folke Lemaitre
e54d0dde62
feat(autocmds): close InspectTree window with q 2023-09-26 13:27:18 +02:00
Folke Lemaitre
f892ba5cff
fix: always lazy load keymaps. fixes #1485 2023-09-26 10:57:50 +02:00
Callum Howard
f9dadc11b3
fix(autocmds): restore tabpage on resize (#1260) 2023-08-29 18:13:32 +02:00
Iordanis Petkakis
ec0ddd481c
fix(keymaps): change v mode to x mode for save file (#1262)
While trying to disable `<C-s>` entirely by `vim.keymap.del({ "i", "v","n", "s" }, "<C-s>")`
in my own `keymaps.lua`, I got an error on reopening Neovim `No such mapping`.
After tinkering around a bit, I changed `v` to `x`, since `v` incorporates both
`x` and `s` and the error stopped occuring.
2023-08-29 18:07:56 +02:00
Folke Lemaitre
23e2b073e6
fix(keymaps): remove gw keymap 2023-08-29 18:00:54 +02:00
Folke Lemaitre
df0818880e
fix(util): fixed line number toggling. Closes #1173 2023-07-20 23:38:43 +02:00
Folke Lemaitre
258f339bcf
feat(options)!: set default localleader to \ 2023-07-20 09:20:24 +02:00
Folke Lemaitre
a28acf0ce7
feat(keymaps): added leader-K to run keywordprg 2023-07-18 08:46:52 +02:00
Folke Lemaitre
9387ab388e
feat: added leader-L to show the LazyVim changelog 2023-07-13 08:18:02 +02:00
Sam Amis
baa9614022
fix(autocmds): jump to last loc in buffer (#1061)
vim.api.nvim_win_set_cursor is expecting a window handle but was being
passed the current buffer's handle instead
2023-07-06 15:43:15 +02:00
Folke Lemaitre
755419f39c
fix: trigger ci 2023-07-04 19:06:15 +02:00
Folke Lemaitre
089606b48d
fix(lsp): upstream inlay_hint rename 2023-06-30 20:44:39 +02:00
Folke Lemaitre
65c70f6ad7
fix(autocmds): dont jump to last loc in gitcommit buffers 2023-06-30 08:35:27 +02:00
jyuan0
e9358d977a
fix(keymaps): remove redundant ':' on lazy keymap (#977) 2023-06-25 10:05:07 +02:00
Jonáš Dujava
69bf9e7e01
style(options): update comment (#960) 2023-06-22 12:51:25 +02:00
Folke Lemaitre
01c7eeebd0
feat: added support for the new builtin inlay hints
Enable with:
```lua
{"neovim/nvim-lspconfig", opts = {inlay_hints = {enabled = true}}}
```
2023-06-21 08:01:59 +02:00
Folke Lemaitre
ebd002f135
fix(keymaps): disable ctrl-hjkl for lazygit. Fixes #905 2023-06-16 19:06:27 +02:00
Folke Lemaitre
d6bb907cf0
fix(keymaps): dont map jk in visual. Use x instead of v. Fixes #912 2023-06-09 16:27:45 +02:00
Beartama
e049928b8b
fix(keymaps): better j/k for visual mode (#902) 2023-06-08 13:48:23 +02:00
Folke Lemaitre
1897617c98
fix(keymaps): terminal show/hide 2023-06-06 07:46:32 +02:00
Folke Lemaitre
d31772f981
fix(keymaps): added c-_ mapped to c-/ to make it work in some terminals 2023-06-06 00:11:52 +02:00
Folke Lemaitre
952a0cfb96
fix(keymaps): remove c-w mapping 2023-06-05 12:10:55 +02:00
Folke Lemaitre
7a36e2989c
feat(keymaps): added <c-/> in normal/terminal mode to toggle main terminal 2023-06-03 10:54:29 +02:00
Folke Lemaitre
49ae2344a1
feat(keymaps): added some useful keymaps for terminals 2023-06-03 10:49:58 +02:00
Folke Lemaitre
1288f0d5a5
fix(neotest): added some additional filetypes to close with q 2023-05-27 09:35:49 +02:00
Folke Lemaitre
7c9abd7463
fix(vscode): only remap keybinds when running in vscode 2023-05-24 21:59:37 +02:00
Jonas Holst Damtoft
9cfe88c7ba
fix: remove debug notify (#808) 2023-05-24 10:34:27 +02:00
Folke Lemaitre
5bf45e3139
feat(vscode): better vscode support 2023-05-24 08:45:20 +02:00
Jonas Holst Damtoft
bb0d4d4e7d
feat(tests): added neotest (#642)
* feat(tests): adds test management

* refactor(tests): pr changes

* fix(tests): make dap keybind optional based on nvim-dap existence
2023-05-22 20:57:15 +02:00