Commit graph

1681 commits

Author SHA1 Message Date
Mateusz Bączek
261c677a8b
fix(user_command): update url in LvimDocs command (#4081) 2023-04-24 20:22:45 +07:00
kylo252
7a4265fa46
fix(lsp): diagnostic codes already show by default (#4070)
avoid viewing duplicate diagnostic codes since they are now already shown
by default since neovim#21130
2023-04-23 13:02:32 +02:00
kylo252
476743d2d1
fix(lsp): add luv library by default to lua_ls (#4067) 2023-04-20 11:59:57 +02:00
Sinuhe Shin
40e4857440
feat(tailwind): add .ts options to tailwind.config root_pattern (#4016) 2023-04-16 10:26:05 +02:00
LostNeophyte
70ce6b7ddc
fix: make FileOpened autocmd work with quickfix (#4040) 2023-04-15 13:48:06 -04:00
LostNeophyte
3b16c266d7
fix(bootstrap): delay lsp setup until LazyDone (#4041) 2023-04-15 13:46:06 +02:00
YinAqu
6544837f42
fix: use require instead of reload in pcalls (#4038)
fix(core): reload error signal
2023-04-15 13:03:25 +02:00
Olegek
23ace671d6
fix(nvim-tree): remove deprecated option (nvim-tree/nvim-tree.lua#2122) (#4033)
fix: remove deprecated option nvim-tree/nvim-tree.lua#2122
2023-04-13 08:10:15 +02:00
erodey
3f2e91b667
feat(lazy): lazy.nvim settings can be customized (#4010) 2023-04-12 04:29:11 -04:00
sigmaSd
b5cc0a51bd
feat(keybindings): add code action to visual mode (#4022)
* feat(keybindings): add code action to visual mode

* fmt
2023-04-12 08:23:35 +02:00
Akihiro Okuno
ad6a0e3d18
feat(mason): add on_config_done option to lvim.builtin.mason (#3991) 2023-04-07 14:02:09 +02:00
hehelego
7a9cc63af9
chore(plugins): remove popup.nvim as it is deprecated (#4004) 2023-04-07 14:01:36 +02:00
Jieru Mei
6bd46cb6f5
feat(lang): yaml use schemastore (#3953) 2023-04-06 21:55:09 -04:00
kylo252
0b13c9f6bc
feat(mason): add support for mason-registry (#3994)
* feat(mason): add support for mason-registry

* fix(lazy)!: wrap refresh for mason-registry
2023-04-04 10:10:36 +02:00
gtscherer
b765f95508
fix(nvimtree): don't overwrite update_focused_file.ignore_list (#3986)
fix(plugin): Prevent Overwriting NvimTree update_focused_file.ignore_list

Fix #3985

Co-authored-by: Greggory Scherer <greggory.scherer@sony.com>
2023-03-28 08:39:11 +02:00
Zhizhen He
0ca97f7755
fix(which-key): typo (#3963) 2023-03-20 11:29:24 -07:00
Jieru Mei
76040d25ff
fix(dap): invalid border value (#3951) 2023-03-19 21:55:02 -07:00
Khilseith
57395bcc8a
fix: copilot indent reset (#3343) (#3960) 2023-03-19 21:54:41 -07:00
Jabriel
f64294f768
fix(lsp): incorrect g goto capitalization (#3950) 2023-03-20 11:25:59 +07:00
LostNeophyte
9f1f98312b
feat: regenerate lsp templates after LvimUpdate (#3864) 2023-03-06 05:15:08 -05:00
Jieru Mei
b5800bc3c4
fix(breadcrumbs): disable for neotest (#3921) 2023-03-05 22:01:33 -05:00
Marco
c86dfabab7
chore(custom-finders): don't use deprecated _close action (#3903)
solve deprecation warning

`_close` in `telescope.actions` is deprecated, telescopedocs says to use `close` instead
2023-03-01 11:45:07 +01:00
LostNeophyte
a7e7f28639
fix(config-loader): defer invalid configuration warning (#3869) 2023-02-25 12:24:12 +01:00
Antoine Cotten
5951c431e6
chore: replace deprecated MDI Orbit icon (#3880) 2023-02-25 12:23:56 +01:00
opalmay
2b1af90a97
fix: lazy cache (#3892)
* fix: lazy cache

* refactor: add pcall
2023-02-24 17:07:55 +02:00
CPea
732fd6fc2b
fix(terminal): don't set the shell by default (#3867)
* fix(terminal): set user's shell before calling setup

* refactor: set `vim.o.shell` directly in `cmd` opts
2023-02-19 11:53:35 +01:00
github-actions[bot]
f43cc8e20b
refactor(lsp)!: lua lsp renamed (#3836)
Need to run `:LvimCacheReset` after this for lua ftplugin regenration

* chore: bump plugins version

* refactor(loader): update lazy's cache setup

* chore: bump plugins version

* chore(lsp): skip antlerls for html

* fix(lsp): lua lsp renamed (#3841)

* fix(loader): lazy's cache is now a directory

* fix: LvimUpdate should bump core plugins (#3846)

* chore: bump plugins version

* fix(cmp): handle deprecated tree-sitter api (#3853)

* fix(loader): wrap cache invocation with pcall

avoid problems when lazy hasn't been updated yet

* chore(lsp): skip docker-compose ls

* chore: bump plugins

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Co-authored-by: Jieru Mei <meijieru@gmail.com>
Co-authored-by: LostNeophyte <lostneophyte@tuta.io>
2023-02-17 18:05:08 +02:00
kylo252
ddc86f3a8a
fix(cmp): handle deprecated tree-sitter api (#3853) 2023-02-16 16:51:35 +01:00
LostNeophyte
1a91812712
fix: LvimUpdate should bump core plugins (#3846) 2023-02-16 13:21:38 +01:00
LostNeophyte
23a16d9330
feat(autocmds): add NvimTreeNormalNC to transparent mode (#3850) 2023-02-16 14:14:23 +07:00
opalmay
fde46c4b16
perf(toggleterm): on-demand lazy load (#3811)
* perf(toggleterm): on-demand lazy load

* fix: keys

* fix: move setup, on_config_done (for terminal obj)

* fix: add some cmds

* refactor: remove redundant `lazy = true`
2023-02-11 19:43:38 +02:00
LostNeophyte
baf71343f0
fix(lsp): template generation for filetypes with dots (#3833) 2023-02-11 18:01:22 +01:00
LostNeophyte
c27d6a6c3e
chore(lsp): add unocss to skipped_list (#3834) 2023-02-10 20:39:42 +01:00
LostNeophyte
4bcf9d75a1
feat(which-key): keybind for :Telescope resume (#3826) 2023-02-08 09:40:32 +01:00
LostNeophyte
98fb64764f
fix(lsp): lazy loading (#3824) 2023-02-07 17:30:14 +01:00
LostNeophyte
bcafab8b14
fix(plugin-loader): support older git versions (#3769) 2023-02-04 16:46:25 +01:00
github-actions[bot]
740f19e357
chore: bump plugins version (#3763)
* chore: bump plugins version

* chore(lsp): add vtsls to the skipped list

* chore(lsp): add pyre to the skipped list

* fix: remove deprecated nvim-tree options

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2023-02-04 17:43:11 +02:00
opalmay
17c5b8dd02
fix: remove deprecated nvim-tree options (#3810)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2023-02-04 17:38:51 +02:00
LostNeophyte
b9e1952421
refactor(alpha): remove laststatus and tabline autocmds (#3809) 2023-02-04 16:24:56 +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
LostNeophyte
c18cd3f0a8
feat(ts): enable indent for c and cpp (#3783) 2023-01-26 11:37:51 -05:00
Anchal Singh
0c94c6a5bd
feat(alpha): add quit button to dashboard (#3767)
* feat(alpha): adding option to turn off ESC keybind to exit

chore: formatting

* Update lua/lvim/core/alpha.lua

Co-authored-by: pr-313 <46706232+pr-313@users.noreply.github.com>

* Update lua/lvim/core/autocmds.lua

Co-authored-by: pr-313 <46706232+pr-313@users.noreply.github.com>

* Apply suggestions from code review

* remove <esc> keybind

Co-authored-by: Anchal Singh <anchal.singh@dpworld.com>
Co-authored-by: pr-313 <46706232+pr-313@users.noreply.github.com>
Co-authored-by: LostNeophyte <lostneophyte@tuta.io>
2023-01-26 16:20:07 +01:00
LostNeophyte
fab66b01f6
feat: include git status in LvimVersion (#3774)
* feat: include git status in LvimVersion

* refactor: use git describe

* chore: fix comment

* remove unused function
2023-01-24 20:02:21 +01:00
Jieru Mei
8ea68830a0
refactor!: remove % and $ autopairs rules (#3759) 2023-01-23 12:31:29 +01:00
Kasper Holbek Jensen
fb80fe0a44
feat: add crystal filetype (#3762)
Add crystal filetype
2023-01-20 17:18:26 +01:00
CJ Lazell
d2b4c313d6
fix(lsp): info diagnostic icon not showing (#3756)
Fixes DiagnosticSignInfo not showing
2023-01-20 10:22:48 +01:00
LostNeophyte
98ef4a1a24
fix(logger): fix errors with older structlog versions (#3755) 2023-01-19 20:21:53 +01:00
Luc Sinet
e7d7aa9273
refactor(logger): adapt to new changes upstream (#3695) 2023-01-19 14:54:30 +01:00
LostNeophyte
edc5e0e93f
fix(plugin-loader): don't clean plugins on LvimUpdate (#3747) 2023-01-18 08:40:52 +01:00
LostNeophyte
1162b72757
fix(plugin-loader): don't clean lazy.nvim in sync_core_plugins (#3731) 2023-01-17 16:35:24 +01:00
LostNeophyte
5c3d76c7f6
fix(lsp): don't remove mason-lspconfig's hook (#3739) 2023-01-17 16:35:06 +01:00
LostNeophyte
b97298ccf5
fix(indentlines): typo (#3743)
* fix(indentlines): set indent_char to LineLeft

* fix(indentlines): typo
2023-01-17 08:54:58 +01:00
LostNeophyte
de2f4bb776
fix(indentlines): set indent_char to LineLeft (#3741) 2023-01-17 01:10:28 -05:00
Latif Sulistyo
4b77c9c87f
chore(plugins): change devicons repo owner to nvim-tree 2023-01-15 09:46:16 +01:00
opalmay
ea9b648a52
fix(breadcrumbs): refresh on TabEnter (#3727)
* fix(breadcrumbs): refresh on TabEnter
2023-01-14 15:31:05 +02:00
LostNeophyte
2922a42743
fix(lir): nil check, simpler logic (#3725)
* fix(lir): nil check

* simpler logic
2023-01-13 16:48:37 +01:00
LostNeophyte
3115088e92
fix(icons): make devicons optional (#3616)
* fix(icons): make devicons optional

* code review suggestion

* fix: devicons_enable > devicons.enable
2023-01-13 15:24:05 +01:00
opalmay
28acebe7dd
feat(dap-ui): update setup table (#3724)
* feat(dap-ui): update setup table

* chore: lint
2023-01-13 15:46:41 +02:00
opalmay
4455bd2add
refactor(quit)!: use native quit confirm (#3721) 2023-01-13 14:44:09 +02: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
opalmay
8cc1cc6206
feat: cmdline config option enables cmp-cmdline plugin (#3719)
* feat: automatically enable cmp-cmdline when setting setup option

* chore: lint

* fix: workaround for installer when cmp table is nil
2023-01-13 12:22:52 +02:00
opalmay
f4ec3fc620
refactor: move to upstream lir (#3711)
* refactor: move to upstream lir

* chore: lint
2023-01-12 09:59:00 +02:00
LostNeophyte
d7a9e6244f
fix(treesitter): prepend to rtp (#3708) 2023-01-11 16:35:27 +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
5fe3075b34
refactor(treesitter)!: use auto-install by default (#3677) 2023-01-10 10:32:41 -05:00
LostNeophyte
38587e2241
fix(telescope): backwards compability (#3596)
* fix(telescope): no more errors if theme is nil

* fix: backwards compability
2023-01-10 09:58:48 +01:00
Christian Chiarulli
af73e3e3c4
feat: enable auto preview colorscheme by default (#3701) 2023-01-09 16:52:33 -05:00
LostNeophyte
6c6d048103
fix(ts): disable indent for c and cpp (#3687) 2023-01-09 15:34:48 -05:00
opalmay
5ae42b0c44
feat: update setup tables (#3693)
* feat(nvim-tree): update setup table

* chore: lint

* fix: move option to correct place

* feat(illuminate): update setup table

* feat(which-key): update setup table

* feat(project.nvim): update setup table

* feat(gitsigns): update setup table

* chore: lint

* feat(lir): update setup table
2023-01-07 17:03:03 +02:00
opalmay
719adbc4bb
refactor: use lir fork in the org (#3694) 2023-01-07 16:31:40 +02:00
github-actions[bot]
796ee8e14c
chore: bump plugins version (#3652)
* chore: bump plugins version

* fix(lsp): add ruff-lsp to the skipped list

* chore: bump plugins version

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2023-01-05 10:54:04 +01:00
LostNeophyte
9bc82e4e68
feat(reload): add all conf files to aupat (#3644) 2022-12-26 18:29:19 +01:00
github-actions[bot]
c34f04cda1
chore: bump plugins version (#3609) 2022-12-23 17:07:37 +01:00
Christian Chiarulli
3262e50818
feat: use codicons that are available for nerdfonts now (#3646) 2022-12-22 01:17:00 -05:00
LostNeophyte
1f92c07413
feat(keybindings): operator pending mode (#3626) 2022-12-21 09:23:07 +01:00
opalmay
c70a094314
feat: don't prompt smart quit when buffer open in another window (#3636) 2022-12-20 17:58:43 +02: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
277079ff45
ci: enable format workflow on master (#3623) 2022-12-16 12:58:35 +01:00
mmcdole
b365c7fc13
feat(dap): update dap ui to resize when toggled (#3606)
Update DAP ui to resize when toggled
2022-12-16 03:43:36 -05:00
LostNeophyte
59fff1ea32
feat(lsp): focusable line diagnostics (#3622) 2022-12-16 03:42:12 -05:00
Mathieu Cartaud
f50e49a3cc
feat(cmp): add on_config_done callback (#3589) 2022-12-13 16:25:55 +01:00
LostNeophyte
133024533a
fix(lsp): add neocmake to skipped_servers (#3597) 2022-12-13 16:22:53 +01:00
LostNeophyte
3166cc00b0
fix(alpha): check height of the aplha window (#3585) 2022-12-12 15:11:28 +01:00
LostNeophyte
f02b0585a8
fix: only call theme's setup if it's selected (#3586) 2022-12-12 15:06:02 +01:00
LostNeophyte
245a71c9f7
feat(telescope): add lvim.builtin.telescope.theme (#3548)
fixes https://github.com/LunarVim/LunarVim/issues/3406
2022-12-08 12:11:13 +01:00
LostNeophyte
33e0960ba3
fix(terminal): use user's shell in execs (#3531)
fixes https://github.com/LunarVim/LunarVim/issues/3526
2022-12-05 11:46:40 +01:00
Hamothy
9239a25fa7
feat: support 'hrsh7th/cmp-cmdline' by default (#3545) 2022-12-05 11:42:38 +01:00
Daniel Rodríguez Rivero
6fc015565f
feat(wich-key): binding to save without formatting (#3165)
use `<leader>bW` to save without triggering the autocmd for formatting
2022-12-01 11:39:53 +01:00
Gowa2017
02de1b1e0b
fix: startify theme button bugfix (#3557) 2022-12-01 11:37:45 +01:00
LostNeophyte
5d69279262
fix(dashboard): remove feedkeys (#3558) 2022-12-01 11:14:46 +01:00
LostNeophyte
f5454fb860
feat(alpha): allow configuring highlight groups (#3532)
* fix(alpha): make highlights overridable

Co-authored-by: CPea <42694704+cpea2506@users.noreply.github.com>

* feat: make opts overridable

* refactor: add default autostart to opts

* feat: default_button_opts

* Apply suggestions from code review

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>

Co-authored-by: CPea <42694704+cpea2506@users.noreply.github.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-11-29 08:50:24 +01:00
LostNeophyte
979e5930a8
fix(alpha): make dashboard responsive (#3505)
fixes https://github.com/LunarVim/LunarVim/issues/3279
2022-11-28 19:11:39 +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
LostNeophyte
9347abc1d4 fix(breadcrumbs): use hlgroup from web devicons in breadcrumbs (#3342) 2022-11-28 19:08:43 +01:00
LostNeophyte
1fbcaf81dc
fix(bufkill): wait for user's input (#3535) 2022-11-27 14:18:49 +01:00
AndreiLosev
731a3915e1
fix(breadcrumbs): E36 Not enough space when using dap-ui Eval (#3533)
fix `E36 Not enough space` when using dap-ui `Eval`

Co-authored-by: Losev Andrei <losev@aheadworks.com>
2022-11-26 22:36:13 -05:00
Nefendi
38ddcb4501
chore(breadcrumbs): remove Markdown from excluded file types (#3196)
The output of `vim.bo.filetype` for Markdown files is `markdown` not
`Markdown` so this entry did nothing.
2022-11-21 12:50:25 +07:00
Dev
a8957a9d36
fix: discard invalid choice when closing buffers (#3488) 2022-11-18 09:28:02 +01:00
Nitai Charan
b42e8c3c73
fix(nvimtree): avoid hard-coded mapping (#3492) 2022-11-18 09:24:58 +01:00
LostNeophyte
40c8d5aea6
fix(autocmds): remove spell autocmd (#3487) 2022-11-17 21:04:42 -05:00