Commit Graph
36 Commits
Author SHA1 Message Date
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 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
Sergey Kochetkov 7ab6285011 feat(options): Disable foldtext for nightly (#2447)
* chores(format.lua): Fix typo

* Change gitsigns.nvim hunk preview shortcut

Change `preview_hunk` to recently added `preview_hunk_inline` command

* feat(options): remove redundant commented line

* feat(options): use native folding

see https://github.com/neovim/neovim/pull/20750
2024-03-22 10:38:10 +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 1c9f4160a2 fix(options): dont set clipboard in an SSH session, so that OSC52 can be enabled (when supported) 2024-03-11 23:13:51 +01:00
mbhutton 29ed06e000 fix(options): don't lower timeoutlen when in VS Code (#2568)
Avoid lowering timeoutlen when running in VS Code, to avoid
unwanted timeouts from key mappings.

The lower value of 300ms (down from Neovim's default of 1000ms)
works great outside of VS Code, where it helps trigger the which-key UI
quickly, and where which-key prevents timeouts from occuring.

But in VS Code (where which-key isn't applicable), the lower value
makes it difficult to perform some key mappings in time,
such as `]p`, which requires shifting hand position.
2024-03-07 11:39:57 +01:00
Adrian Wilkins a43d8cf358 fix(options): change default conceal level to 2 (#2053)
3 hides all concealed text, even if there are replacement chars defined

e.g. : for Markdown, 3 hides list item markers, dots for asterisk lists
and em-dashes for dash lists

If replacements are defined as defaults in a plugin, the "Laziest™"
config would seem to be displaying them.

Level 1 only seems useful when alignment really matters.
2024-01-21 20:34:07 +01:00
Folke Lemaitre e01ad513aa fix(sessions): added folds to sessions 2023-10-27 18:34:33 +02:00
Folke Lemaitre 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
Folke Lemaitre ff64cc5399 fix(format): set formatexpr in options so users can override it. Fixes #1759 2023-10-16 23:01:18 +02:00
Folke Lemaitre c33e7489ec feat(root): allow custom functions as part of vim.g.root_spec 2023-10-12 11:48:02 +02:00
Folke Lemaitre a2d604928b feat(root): customizable root detection and :LazyRoot command 2023-10-12 11:48:02 +02:00
Folke Lemaitre f1a8f24a36 feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/... 2023-10-12 11:48:02 +02:00
Folke Lemaitre c8c929c9fd perf(util): split lazyvim.util in smaller separate modules 2023-10-12 11:48:02 +02:00
Folke Lemaitre 6b857f1de6 feat(options): set virtualedit=block by default 2023-10-09 17:49:00 +02:00
Folke Lemaitre 502d32490b fix(options): set sessionoptions the same as persistence 2023-10-08 20:24:45 +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 d989ecc943 fix(options): only enable treesitter foldexpr on nightly. Fixes #1581 2023-10-04 18:07:21 +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 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 9935dc3944 fix: cleanup all Neovim < 0.9.0 code 2023-10-01 14:18:25 +02:00
Folke Lemaitre 258f339bcf feat(options)!: set default localleader to \ 2023-07-20 09:20:24 +02:00
Jonáš Dujava 69bf9e7e01 style(options): update comment (#960) 2023-06-22 12:51:25 +02:00
Folke Lemaitre 02c5e8d953 fix(config): options cant be disabled with lazyvim config. Fixes #566 2023-04-16 11:34:35 +02:00
adrian5 8650f2c99a fix(config): don't set options to their defaults (#120) 2023-01-24 13:40:18 +01:00
Folke Lemaitre 1b3b18d53b fix(options): don't set GUI font. Fixes #113 2023-01-23 23:42:01 +01:00
Folke Lemaitre e405023530 fix(options): use vim.opt and trigger Lazy ui reload when needed. Fixes #38 2023-01-11 12:56:07 +01:00
Folke Lemaitre d568098374 fix(options): set options with vim.set_global 2023-01-11 08:05:29 +01:00
Folke Lemaitre 4c2ac6b7bf feat(options): winminwidth 2023-01-06 23:51:45 +01:00
Folke Lemaitre 25e9c339de refactor: move mapleader to options. no longer needed to be set in init 2023-01-04 07:56:26 +01:00
Folke Lemaitre a15f44eb89 refactor: automatically load keymaps, autocmds and options 2023-01-03 23:51:57 +01:00
Folke Lemaitre 7a49913cf2 refactor: move icons to settings and add setup method for configs extending LazyVim (like my own dots) 2023-01-03 21:05:02 +01:00
Folke Lemaitre 8eb8d235c9 refactor: move everything under lazyvim 2023-01-01 14:33:56 +01:00