Commit graph

38 commits

Author SHA1 Message Date
LostNeophyte
a7e7f28639
fix(config-loader): defer invalid configuration warning (#3869) 2023-02-25 12:24:12 +01:00
LostNeophyte
f590770a17
fix(config): copy the correct example config (#3722)
* fix(config): copy the correct example config

* refactor: don't check if dir exists
2023-01-13 13:39:11 +01:00
LostNeophyte
ccb80e41ee
refactor: migrate to lazy.nvim (#3647)
* refactor: convert plugins spec to lazy

* refactor(lazy): remove impatient

* fix(telescope): no more errors if theme is nil

* refactor(lazy): use lazy in plugin_loader

* refactor(lazy): pin plugins with packer's snapshot

* fix: add plugins to rtp before config:init

* fix: fs_stat nil check

* feat: lazy cache

* feat(lazy): reloading

* refactor(lazy): plugin-loader functions

* feat(lazy): cache reset

* refactor: set runtimepath manually

* fix: runtimepath

* refactor(rtp)

* refactor(lazy): packer -> lazy in various places

* fix(lazy): disable tree-sitter ensure installed

* refactor(lazy): restore order to bootstrap

* refactor(lazy): remove unused impatient profiler

* small fixes

* `lvim.plugins` deprecation handling

* fix: deprecation of `requires` in plugin specs

* feat: core plugins pinning

* refactor(lazy): plugin loader tests

* refactor(lazy): use lazy in scripts

* refactor(lazy): which-key keybinds

* chore: format

* fix: installer

* fix: first time setup

* feat: changes required for packaging

commit 951ac2b7c01b5200b973660c967852d1706cce28
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:49:44 2022 +0100

    fix: clean folder before copying plugins

commit 64e9afa44b8e528ba527e0510d0d8c2d2237a095
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:35:41 2022 +0100

    feat: copy core plugins on first run

commit 2d8e72090c7624f68c09a9aa6582223373a810c1
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:11:22 2022 +0100

    feat(utils): fs_copy

commit 85c1f025a6ba13183e85141f75f60e2eefc77bb5
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:04:38 2022 +0100

    fix: copy correct example config

* fix: packer specs deprecation handling

* fix: plugin specs deprecation

* feat: pin lazy's version

* fix: remove plugins form rtp before loading lazy

* fix: plugin-loader test

* feat(lazy): add keymappings for profile, log, and debug (#3665)

* feat(lazy): Add keymappings for profile, log, and debug

* feat(lazy): Add keymap for cleaning

* chore: format

* pref: lazy load many plugins

Co-authored-by: Uzair Aftab <uzaaft@outlook.com>

* fix: bootstrap correct version of lazy

* fix: also use CmdLineEnter event for cmp

* fix: don't use lazy's modules before it's set up

* perf: (hack) enable lazy's cache before loading lazy

* fix: plugins.lua

* fix: plugins bump script

* chore: remove debug print

* feat: add rounded border for `:Lazy`

* fix: bufferline flashing

* fix: don't close lazy on startup

* fix: load breadcrumbs on startup

* fix: don't lazy load bufferline

* chore: bump lazy's version

* fix: remove site from rtp (fixes treesitter issues)

* revert default config copying changes

* fix(bootstrap): actually remove plugins dir on windows

* chore: bump lazy's version

* chore: bump lazy's version

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Co-authored-by: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com>
Co-authored-by: Uzair Aftab <uzaaft@outlook.com>
Co-authored-by: opalmay <opal.mizrahi2@gmail.com>
2023-01-10 21:18:17 +01:00
LostNeophyte
fb7da7bc78
perf: handle big files better (#3449)
fixes https://github.com/LunarVim/LunarVim/issues/3393
2022-11-28 19:11:06 +01:00
kylo252
4841dc62c3
refactor(config): better deprecation handling (#3419) 2022-11-04 10:32:09 -04:00
Christian Chiarulli
531ddb459e
fix: rollback plugin loader changes (#3402) 2022-11-02 18:09:35 -04:00
kylo252
8d3f9b8bf7
refactor(theme)!: decouple tokyonight options (#3384) 2022-11-02 11:29:07 +01:00
LostNeophyte
978ff7c24d
perf(treesitter): disable in big files (#3268)
* perf(treesitter): disable in big files
* fix: disable `use_treesitter` in indentlines and remove vim.schedule
* refactor(treesitter): use `vim.schedule`
* perf: set nocursorline in big json files
* perf: disable more things in big files
* chore: format
2022-11-01 10:37:50 +01:00
Mark Huggins
36c8bdee9f
refactor(plugins)!: remove nvim-notify from core (#3300) 2022-10-21 01:21:22 -04:00
Christian Chiarulli
6f6cbc394d
feat(config): allow disabling reload-on-save (#3261) 2022-10-17 14:06:12 +02:00
kylo252
f6402563ab
feat: enable global installation (#3161) 2022-10-06 22:51:09 -04:00
kylo252
40e2d5a171
feat(logger): hot-reload logger level (#3159) 2022-10-06 10:12:12 -04:00
kylo252
e5bcf01c75
refactor: more deliberate reload (#3133) 2022-10-04 13:23:52 -04:00
kylo252
eefde00ae8
refactor!: migrate to mason.nvim (#2880) 2022-08-09 10:41:17 +02:00
kylo252
7220f1f204
feat(cmp): add option to disable friendly-snippets (#2660)
authored-by: Emerson Max de Medeiros Silva <emersonmx@gmail.com>
2022-05-26 16:06:49 +02:00
kylo252
23df368b00
refactor: load the default options once (#2592)
BREAKING CHANGE: modifying the default options for keymaps and autocmds
is now done by overwriting them, since they won't be loaded into the
global `lvim` table anymore

* refactor: use the lua-commands api
* refactor!: use the lua-autocmds api
* fix(settings): let neovim handle spellfile
* feat: add log:set_log_level()
* chore: update examples
* chore: add deprecation notice for custom_groups
2022-05-21 16:48:47 +02:00
kylo252
198577aa75
refactor(lsp): cleanup servers' override configuration (#2243)
* refactor(lsp): cleanup override settings

- rename lsp.override to lsp.automatic_configuration.ignored_servers
- add lsp.automatic_configuration.ignored_filetypes

* chore(info): update override section

* refactor(lsp): rename ignored to skipped

* fix: better deprecation handling

* docs(lsp): add example for (un-)skipping servers

* refactor(lsp): allow installing overridden servers

* docs(lsp): update config_win.example.lua as well

* chore(lsp): update skipped_servers list

* fix(logger): less noise from client_is_configured
2022-04-14 23:17:22 +04:30
kylo252
fa710f6ddd
refactor: re-enable packer.sync() in LvimReload (#2410) 2022-04-03 14:32:52 +02:00
kylo252
c946ddda81
feat: add alpha.nvim integration (#1906) 2022-03-19 20:02:45 +01:00
kylo252
60e0e1a831
refactor(settings): add headless-mode settings (#2134) 2022-01-04 12:17:59 +03:30
kylo252
eefc148313
refactor(bootstrap): more robust git module (#2127) 2022-01-03 11:07:34 +01:00
kylo252
5593499828
fix(lsp): set the handlers opts for v0.6 as well (#2109) 2021-12-23 10:03:15 +01:00
kylo252
f1ca79e628
refactor: remove unused old language configs (#2094) 2021-12-20 08:59:47 +01:00
kylo252
307db8936b
feat: multiple enhancements to lvim-reload (#2054) 2021-12-09 17:08:53 +01:00
kylo252
c26ac5364f
refactor: load the default keymaps once (#1965) 2021-11-18 16:04:34 +01:00
kylo252
b0a9ee720a
refactor: more configurable format-on-save (#1937) 2021-11-14 13:44:00 +01:00
Chase Colman
627fdd6049
fix(keymap): unset on reload, load correct order, add unset default (#1942)
fix(keymap): don't unset default keymaps on reload unless set to false

fix(keymaps): prevent accessing undefined default mode

fix(keymap): use unadapted mode for default check

fix(keymap): apply initial lvim.keys
2021-11-10 20:45:52 +00:00
kylo252
32cabcde9f fix: use the logger for the deprecation message 2021-11-06 10:01:34 +01:00
kylo252
e79b6bf8aa
refactor: deprecate lvim.lang.FOO (#1913)
Consolidate configuration styles for linters and formatters

Fixes #1756
2021-11-06 08:23:59 +00:00
Xavier Young
e05ced8ec3
fix(reload): set lvim modules to nil correctly (#1898) 2021-11-03 19:26:56 +01:00
kylo252
7a813780a1
fix: overloading keymappings now works correctly even after reloading (#1789) 2021-11-03 12:32:10 +01:00
kylo252
32ca5afa4a
feat: better error handling for packer (#1883) 2021-11-02 16:58:55 +01:00
kylo252
3dd60bd3d4
fix(lsp): template generator now uses lsp.override (#1813) 2021-10-23 18:12:11 +02:00
Subho Banerjee
281c54ba55
[Bugfix]: Allow user autocmds (#1776)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-10-16 12:03:17 +02:00
Robin Kautz
daa0b24a50
[Bugfix]: fixes custom autocommands not working (#1775) 2021-10-14 18:32:29 +02:00
Chase Colman
9e18c16b2b
fix(config/log): show error in config instead of hiding (#1751) 2021-10-12 17:33:41 +02:00
James Walmsley
5deb0e57ce
bugfix: Ensure lvim table is valid before calling Log:warn() (#1742)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-10-12 17:12:55 +02:00
kylo252
52b7455741
feat: add an independent lvim namespace (#1699) 2021-10-10 21:07:41 +02:00
Renamed from lua/config/init.lua (Browse further)