Commit Graph

33 Commits

Author SHA1 Message Date
3d4ab4eb26 feat(lazyterm): optional shell setup, mainly for pwsh. Fixes #2151 2024-03-22 09:49:07 +01:00
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
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
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
e01ad513aa fix(sessions): added folds to sessions 2023-10-27 18:34:33 +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
ff64cc5399 fix(format): set formatexpr in options so users can override it. Fixes #1759 2023-10-16 23:01:18 +02:00
c33e7489ec feat(root): allow custom functions as part of vim.g.root_spec 2023-10-12 11:48:02 +02:00
a2d604928b feat(root): customizable root detection and :LazyRoot command 2023-10-12 11:48:02 +02:00
f1a8f24a36 feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/... 2023-10-12 11:48:02 +02:00
c8c929c9fd perf(util): split lazyvim.util in smaller separate modules 2023-10-12 11:48:02 +02:00
6b857f1de6 feat(options): set virtualedit=block by default 2023-10-09 17:49:00 +02:00
502d32490b fix(options): set sessionoptions the same as persistence 2023-10-08 20:24:45 +02:00
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
d989ecc943 fix(options): only enable treesitter foldexpr on nightly. Fixes #1581 2023-10-04 18:07:21 +02:00
e105c9daf6 perf(options): better detection for foldtext,statuscolumn,folexpr support 2023-10-03 18:19:32 +02:00
f1ce07510d feat(ui): fancy fold text 2023-10-03 14:57:59 +02:00
364bcf325d feat(ui): fancy status column 2023-10-03 14:56:55 +02:00
19926d2848 feat(options): enabled treesitter folding and foldtext when available 2023-10-03 08:02:15 +02:00
450e0c6beb feat(options): enable smoothscroll on nightly 2023-10-03 08:02:15 +02:00
9935dc3944 fix: cleanup all Neovim < 0.9.0 code 2023-10-01 14:18:25 +02:00
258f339bcf feat(options)!: set default localleader to \ 2023-07-20 09:20:24 +02:00
69bf9e7e01 style(options): update comment (#960) 2023-06-22 12:51:25 +02:00
02c5e8d953 fix(config): options cant be disabled with lazyvim config. Fixes #566 2023-04-16 11:34:35 +02:00
8650f2c99a fix(config): don't set options to their defaults (#120) 2023-01-24 13:40:18 +01:00
1b3b18d53b fix(options): don't set GUI font. Fixes #113 2023-01-23 23:42:01 +01:00
e405023530 fix(options): use vim.opt and trigger Lazy ui reload when needed. Fixes #38 2023-01-11 12:56:07 +01:00
d568098374 fix(options): set options with vim.set_global 2023-01-11 08:05:29 +01:00
4c2ac6b7bf feat(options): winminwidth 2023-01-06 23:51:45 +01:00
25e9c339de refactor: move mapleader to options. no longer needed to be set in init 2023-01-04 07:56:26 +01:00
a15f44eb89 refactor: automatically load keymaps, autocmds and options 2023-01-03 23:51:57 +01:00
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
8eb8d235c9 refactor: move everything under lazyvim 2023-01-01 14:33:56 +01:00