Commit graph

871 commits

Author SHA1 Message Date
Spedon
d02b73d72a
fix(ui): allow to disable the trouble lualine component with vim.g.trouble_lualine = false (#3391)
* fix(ui): do not add trouble to lualine when aerial is enabled

* refactor: make trouble lualine an option

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-31 14:07:55 +02:00
Folke Lemaitre
6678af37ee
fix(copilot-chat): no need to schedule which-key keys. just use default 2024-05-31 13:59:53 +02:00
Lucas
3fadf6af8f
fix(rust): let rustaceans.nvim setup rust_analyzer (#3389)
fix this warning
```
   Warn  11:52:45 PM notify.warn nvim-lspconfig.rust_analyzer has been setup.
This will likely lead to conflicts with the rustaceanvim LSP client.
See ':h rustaceanvim.mason'
```
fix taken from https://github.com/mrcjkb/rustaceanvim/blob/master/doc/mason.txt
2024-05-31 13:56:40 +02:00
Folke Lemaitre
9f2cc30246
fix(lsp): better way of extending deeply nested lists. Fixes #3398 2024-05-31 13:52:43 +02:00
Folke Lemaitre
a474aea1f9
fix: rename +a which-key group to ai. Fixes #3392 2024-05-31 08:21:50 +02:00
Rubin Bhandari
0a9373733f
feat(typescript): add keymap for remove unused imports (#3376) 2024-05-30 15:30:20 +02:00
Folke Lemaitre
95d055dcf7
feat: trouble v3 2024-05-30 14:41:13 +02:00
Saiful Islam
ae098d67d6
fix(typescript): vtsls server expe settings (#3372)
Based on [vtsls schema](bd2df5a2d4/packages/service/configuration.schema.json (L1092)), experimental setting should be vtsls property not typescript.

```json
"vtsls.experimental.completion.enableServerSideFuzzyMatch": {
      "default": false,
      "type": "boolean",
      "description": "Execute fuzzy match of completion items on server side. Enable this will help filter out useless completion items from tsserver."
    },
```
2024-05-30 11:29:09 +02:00
Rubin Bhandari
c2ef09227e
fix: remove lazygit log gl keymap when on gitui (#3371) 2024-05-30 11:17:55 +02:00
Folke Lemaitre
e7d4b397b2
feat(extras): simple extra for astro 2024-05-30 11:17:24 +02:00
Folke Lemaitre
cf6775a959
fix(typescript): allow easier merging of ts plugins 2024-05-30 11:17:23 +02:00
Rubin Bhandari
b285a46dfc
feat(typescript): vtls add select ts version (#3366) 2024-05-30 09:57:10 +02:00
Folke Lemaitre
a224ef2a73
fix(clangd): switch source/header is now leader-ch. Fixes #3363 2024-05-30 07:18:41 +02:00
Folke Lemaitre
2a7d163a8a
feat(copilot-chat): add cmp integration 2024-05-30 00:27:13 +02:00
Folke Lemaitre
3ace8277e5
feat(keymaps): new keymap to toggle mazimize of current window leader-m or leader-wm 2024-05-29 22:35:40 +02:00
Folke Lemaitre
a13457eea3
fix(trouble_v3): set correct lualine section background color 2024-05-29 21:38:05 +02:00
Folke Lemaitre
0975eeb9ad
feat(vscode): added ts-comments to allow list for vscode 2024-05-29 18:22:54 +02:00
Folke Lemaitre
804756209e
fix(lsp): remove duplicate keymap 2024-05-29 16:39:02 +02:00
Folke Lemaitre
01e6718e03
fix(lsp): added support for has as array for lsp keymaps 2024-05-29 16:31:16 +02:00
Folke Lemaitre
38b8736b81
feat(typescript): added gR to goto file references 2024-05-29 16:02:38 +02:00
Folke Lemaitre
4dfd5c2596
fix(lsp): create gr with nowait=true 2024-05-29 16:02:13 +02:00
Folke Lemaitre
f6bcf6f12c
fix(lsp): fix ts/deno both attaching 2024-05-29 15:39:17 +02:00
Folke Lemaitre
fba06ce9f5
feat(typescript)!: the typescript extra now uses vtsls instead of tsserver. You may want to update your lsp settings. 2024-05-29 15:10:57 +02:00
Folke Lemaitre
b949dba489
feat(lsp): added leader-cR to rename the current file and to lsp rename operations 2024-05-29 14:45:55 +02:00
Folke Lemaitre
4bbeb37a18
fix(lsp): fix LazyVim's on_file_rename to work according to the lsp spec 2024-05-29 14:45:55 +02:00
Folke Lemaitre
54d687383d
style: cleanup 2024-05-29 14:45:55 +02:00
Folke Lemaitre
91493588a8
fix(nvim-snippets): no longer needed to set global_snippets 2024-05-28 17:51:10 +02:00
Folke Lemaitre
a6e6d4dabd
fix(nvim-snippets): remove extra filetypes since thats no longer needed with merged PR 2024-05-28 16:12:53 +02:00
Folke Lemaitre
025ba33dc3
fix(nvim-snippets): also enable for tsx/jsx files 2024-05-28 15:13:29 +02:00
Folke Lemaitre
99f0a1cb40
fix(nvim-snippets): load js snippets for ts. See #3344 2024-05-28 15:11:32 +02:00
Christian Kleinbölting
de57894158
feat(scala-extra): Use noice for progress and add minimal keybinding (#3348)
* Use fidget for progress and add minimal keybinding

* remove figest, noice works already

* make keybinding only available for scala filetypes
2024-05-28 14:55:11 +02:00
Ben Puryear
80c9dcaabe
feat(lang): add R (#3272)
* Added R extra

* Removed "made by Ben10164"

* Formatted Lua

* Removed hardcoded addition of R-languageserver in MasonLSP

* Improved nvim-lspconfig config for r_language_server

* Added nvim-neotest

* Format

* Removed Lualine

* Rework into opts, modify `pdfviewer` to be os dependent

* refactor: r

* fix: add cmp-r back

* Added quarto whichkey group label

* Set pdfviewer to be an empty string

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-28 13:44:38 +02:00
Folke Lemaitre
e68ff6897e
feat(lsp): config option to exclude certain filetypes from inlay hints. Closes #3202 2024-05-27 21:19:36 +02:00
Folke Lemaitre
08481c2c92
fix(copilot-chat): enhanced chat view is now merged upstream, so update your plugins! 2024-05-27 20:57:49 +02:00
Folke Lemaitre
a23e8c15f5
feat(copilot-chat): enhanced rendering of the chat window 2024-05-27 18:16:35 +02:00
Folke Lemaitre
02b240cea5
fix(copilot-chat): clear -> reset 2024-05-27 17:53:38 +02:00
Folke Lemaitre
163f7ea303
fix(edgy): load edgy spec early 2024-05-27 17:38:30 +02:00
Folke Lemaitre
2695fc7dfc
feat(copilot-chat): make keymaps work in visual mode 2024-05-27 16:48:22 +02:00
Ben Elan
54d7cea305
fix(typescript): invalid value in inlayHints options (#3331) 2024-05-27 13:48:22 +02:00
Folke Lemaitre
46785526a6
feat(extras): added extra for CopilotChat.nvim 2024-05-27 08:42:30 +02:00
Folke Lemaitre
d3500a4a33
fix(rust): show error when rust-analyzer not found 2024-05-27 08:09:24 +02:00
Iordanis Petkakis
f48d55a653
fix(lang/rust): Remove rust-analyzer from nvim-lspconfig (#2755)
According to the maintainer of `rustaceanvim` (see his comment [here](https://github.com/LazyVim/LazyVim/pull/2198#issuecomment-1999475044)) he says
> To pick up on this: There's a good reason rustaceanvim doesn't automatically pick up a mason.nvim installation. It will most likely be built with a different toolchain than the one your project uses, often leading to discrepancies and subtle bugs.
It's easy to configure rustaceanvim to use mason.nvim if you really want it, but I generally adhere to the YAGNI principle.

I tried locally and the removal of `rust-analyzer` from `nvim-lspconfig` doesn't
seem to have any effect on how `rustaceanvim` behaves.

I propose to remove all instances of `rust-analyzer` from `nvim-lspconfig` to avoid
any possible issues from users that don't have `rust-analyzer` installed
in their toolchain (in this case it would pick up Mason's $PATH I
believe), since they will think that since `rust-analyzer` is installed
by Mason, there shouldn't be a problem and report issues as bugs.
2024-05-27 08:04:51 +02:00
Folke Lemaitre
3a30070a4c
feat: lazyrc files are now a lazy.nvim feature 2024-05-26 16:49:48 +02:00
Iordanis Petkakis
7aa37064a2
fix(lspconfig): make opts a function (#3311)
`LazyVim.config` gets evaluated during the parsing phase with `opts`
as a table (thus not taking into account changes made in the user's
personal configuration for the icons), so make `opts` a function to
defer the evaluation until the plugin loads.
2024-05-26 16:06:15 +02:00
Folke Lemaitre
b3373f3428
fix(lsp): added a-n, a-p for document highlights and cycling. Closes #3320 2024-05-26 16:03:13 +02:00
jyuan0
c9ab8224f5
fix(illuminate): s/enabed/enabled (#3313) 2024-05-26 10:38:28 +02:00
jyuan0
cdff9de172
fix(lsp): correct previous reference keymap description (#3314) 2024-05-26 10:33:40 +02:00
Folke Lemaitre
46cf5347b5
fix(lsp): only enableinlay hints for when buffer is an actual file. See #3284 2024-05-23 07:14:17 +02:00
Caidan Williams
f9b31372ae
fix(python): extras.lang.python to enable venv select keys on ft (#3280) 2024-05-22 19:39:16 +02:00
Folke Lemaitre
ad6c9bcfab
Revert "fix: set markdown for LICENSE file (#3276)"
This reverts commit 1eea51606e.
2024-05-22 19:37:23 +02:00