Commit graph

62 commits

Author SHA1 Message Date
LostNeophyte
a7e7f28639
fix(config-loader): defer invalid configuration warning (#3869) 2023-02-25 12:24:12 +01:00
LostNeophyte
60c7ad77fd
perf: lazy load most plugins (#3750)
* perf: lazy load most plugins

* fix(lazy): suggested fixes for pref/lazyloading branch (#3754)

fix(lazy): Suggested fixes from previous comments

fix(lazy): applying suggestions from code review

Co-authored-by: LostNeophyte <lostneophyte@tuta.io>

Co-authored-by: Pratyush Bharati <pbharati@Pratyushs-MacBook-Pro.local>
Co-authored-by: LostNeophyte <lostneophyte@tuta.io>

* chore: format

* move lazy utils to modules.lua

* simplify telescope actions

* refactor: cmp_window local name

* feat: more lazy loading cmds

* refactor(cmp): minor clean up

* perf: set lazy loading by default

* refactor(alpha): remove broken lazy load

* revert: explictily set lazy loading

This reverts commit ba38193e4e.

* test: enable lazy-loading for bigfile

* perf: defer projects and alpha to VimEnter

* refactor(bufferline): add comment

* perf: better lazy load dap/dapui

* perf: lazy load ts-commentstring with Comment.nvim pre_hook

---------

Co-authored-by: pr-313 <46706232+pr-313@users.noreply.github.com>
Co-authored-by: Pratyush Bharati <pbharati@Pratyushs-MacBook-Pro.local>
Co-authored-by: opalmay <opal.mizrahi2@gmail.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2023-02-04 17:22:41 +02:00
Kasper Holbek Jensen
fb80fe0a44
feat: add crystal filetype (#3762)
Add crystal filetype
2023-01-20 17:18:26 +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
kylo252
b661efb317
refactor(autocmds): clean up filetype detection rules (#3625)
* refactor(lua): simplify gf utility

* refactor(autocmds): cleanup

* refactor(ftdetect): use vim.filetype.add instead
2022-12-17 12:33:57 +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
Christian Chiarulli
08d3c056ff chore: format on save off by default
chore: check if table
2022-11-04 17:32:46 -04:00
Christian Chiarulli
5ba80b10cf
feat: use our own colorscheme, decouple from tokyonight (#3378)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-11-04 12:57:24 -04:00
LostNeophyte
060116eff0
fix(logger): set console logging to sync (#3379) 2022-11-04 15:45:31 +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
LostNeophyte
f4920802d5
fix(defaults): don't use smartindent (#3363) 2022-10-31 19:15:26 +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
Jakub Reroń
7715900525
fix: disable unsupported asian characters spellchecking (#3259) 2022-10-16 13:22:40 +03:30
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
Philippe Richard
8767a17b5e
feat: move icons to a single icons file (#3115) 2022-10-02 23:48:23 -04:00
Christian Chiarulli
e5c723b701 feat: laststatus=3 global statusline 2022-09-20 19:36:15 -04:00
ChristianChiarulli
4c4f08469e feat: set options to remove some noise 2022-09-20 16:25:58 -04:00
Abouzar Parvan
518b1d4167
Fix: make sure latest plugins are customizable (#3044)
* fix: make navim-navic configurable

* fix: make sure vim-illuminate is configurable

* fix: make sure theme is configurable

* fix(ci): don't verify uninstalled plugins

* refactor(lsp): add setup_document_symbols util

* revert: keep onedarker on freeze branch

* refactor(lsp): avoid duplicate hl autocmds

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-09-20 14:11:58 +04:30
Christian Chiarulli
a4c2dc4d0b
refactor: small improvements (#3021) 2022-09-15 23:33:08 -04:00
kylo252
eefde00ae8
refactor!: migrate to mason.nvim (#2880) 2022-08-09 10:41:17 +02:00
kylo252
dec21bbab6
feat(lsp): bind formatexpr and omnifunc by default (#2865) 2022-07-31 14:27:59 +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
cfa702e6fe
refactor: use api-autocmds for lsp functions (#2549)
* refactor: use api-autocmds for lsp functions

* chore: use the existing client.supports_method api

* fix: a callback in an autocmd doesn't pass nil

* revert: keep changes minimal to which-key

Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
2022-05-03 03:40:51 +04:30
Abouzar Parvan
6a66e39f29
feat(icons): make it possible to disable icons (#2529) 2022-04-28 19:00:39 +04:30
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
f1779fddcc
fix: disable the default intro message (#2340) 2022-03-10 10:14:15 +01:00
Abouzar Parvan
0536775c8b
fix(timeoutlen): this has caused way too many issues in the past (#2287) 2022-02-16 13:01:06 +03:30
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
68cdb62f87
fix(bootstrap): remove hard-coded spellfile option (#2061) 2021-12-09 11:51:37 +01:00
kylo252
77bf0e3ea8
feat: add support for fsharp (#2021)
Co-authored-by: grenaad <g@g.com>
Co-authored-by: grenaad <dan4rie@gmail.com>
2021-12-02 09:27:39 +01:00
kylo252
c26ac5364f
refactor: load the default keymaps once (#1965) 2021-11-18 16:04:34 +01:00
kylo252
ffcaae6c32
fix: use an indepdent shadafile from neovim (#1910) 2021-11-15 09:20:45 +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