Commit graph

157 commits

Author SHA1 Message Date
Folke Lemaitre
38b8736b81
feat(typescript): added gR to goto file references 2024-05-29 16:02:38 +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
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
Ben Elan
54d7cea305
fix(typescript): invalid value in inlayHints options (#3331) 2024-05-27 13:48:22 +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
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
ae6d8f1a34
feat(markdown): add formatter for mdx 2024-05-21 23:05:29 +02:00
Peter Benjamin
9eec03d890
feat(markdown): configure conform for markdown files (#2308) 2024-05-21 23:03:43 +02:00
Folke Lemaitre
8e67bb1240
fix(java): properly pass settings to jdtls 2024-05-20 22:39:36 +02:00
Folke Lemaitre
dd417c36cd
feat(kotlin): added recommended checks 2024-05-20 21:25:29 +02:00
Arthur
94c9f4cf37
feat(extras.lang): Add kotlin (#2890)
* Add kotlin lang

* Update the opts.ensure_installed

* Add the kotlin setup in nvim-dap

* Update plugins based on the review comments.

1. Remove kotlin language server from mason

2. Add optinal is true, only enabled if the user has explicitly enabled
the extra plugin.

3. Remove duplicate dependencies cause they are already defined in the
plugin.

4. Add none-ls as optional

* Update comment message
2024-05-20 21:24:50 +02:00
Folke Lemaitre
e5ea8abd38
feat(java): enable inlay hints. Fixes #3244 2024-05-20 20:42:25 +02:00
Folke Lemaitre
c264253d8f
feat(toml): also recommend toml when theres toml files in the cwd 2024-05-19 21:23:49 +02:00
Andrea C from The App
e0c67f6776
feat(lang): add toml (#3022)
Co-authored-by: gacallea <gacallea@users.noreply.github.com>
2024-05-19 20:47:00 +02:00
Folke Lemaitre
c29213416b
feat(extras): added recommended detectors for all languages 2024-05-18 14:39:20 +02:00
Folke Lemaitre
ef3bd3bd02
feat(extras): tags some extras as recommended 2024-05-18 14:12:26 +02:00
Avinash Thakur
d36e3a5c73
fix(extras.lang.typescript): support node debug type along with pwa-node (#2983)
* feat(typescript): add "node" debug adapter

add "node" debug adapter for compatibility with .vscode/launch.json

* refactor: ...

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-15 16:08:15 +02:00
Rafał Schmidt
a8659d02b9
feat(omnisharp): support neotest dotnet (#3051)
Co-authored-by: Rafał Schmidt <rafal.schmidt@allegro.com>
2024-05-15 16:01:24 +02:00
Peter Benjamin
16e6c86b27
feat(terraform): ensure tflint is installed (#2336) 2024-05-15 15:56:16 +02:00
Radvil
2c86da7c2d
feat(typescript): configure inlayHint (#2995)
* feat(typescript): configure inlayHint
since LazyVim have toggle inlayhint keymap, it make sense to configure
them for each extra languages provided. In this commit I just add the
configuration for typescript, since IDK how to configure the rest of
lang extras that was provided.

* fix: changed defaults

---------

Co-authored-by: Radvil <radvil.linux@gmail.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-15 15:45:13 +02:00
XY Lin
3c04789ef1
fix(clangd): update the attribute name for process ID (#3047)
The attribute name for picked process id when attaching the debugger is `pid`, not `processId`
2024-05-14 22:37:27 +02:00
Jordan McAlpine
abb1ff0d60
fix(ansible): ansiblels not loading, keymap desc. (#2739)
If lazy extras yaml is enabled, yamlls was being loaded not ansiblels.

Add ft = {} to nvim-ansible spec allows ft=yaml.ansible to be detected.

Re-mapped nvim-ansible plugin key to not conflict with neotest.

Added a description for the keymap.
2024-05-13 08:21:33 +02:00
Akira Itai
8087283fea
fix(rust): update creates.nvim src option to completion (#3149) 2024-05-13 07:03:10 +02:00
Võ Quang Chiến
f4490252fb
feat(vue): add Vue.js support to LazyVim (#3094) 2024-05-12 22:10:32 +02:00
Iordanis Petkakis
34183a2759
fix(python): make both ruff and ruff_lsp available to user (#3060)
* fix(python): make both `ruff` and `ruff_lsp` available to user

Provide global variable to choose between `ruff` and `ruff_lsp` in
accordance to `pyright`/`basedpyright`

* refactor(python): ruff stuff

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-03 09:23:31 +02:00
Skywalker
a96348d7b0
fix(extras): Rust-Analyzer cargo option (#3061)
* fix(extras): Rust-Analyzer cargo option

* fix(extras): Rust-Analyzer cargo option
2024-05-03 09:17:55 +02:00
Phúc H. Lê Khắc
cd04b58fe3
feat(python): use new ruff instead of ruff_lsp (#3016) 2024-04-22 09:40:09 +02:00
Folke Lemaitre
914f26d04e
fix(tex): don't override conceallevel for tex. Not sure why that was added 2024-03-29 07:56:32 +01:00
Folke Lemaitre
d95c2ba1dc
feat(python): enable auto_brackets for python, since pyright and basedpyright dont support this natively 2024-03-28 21:32:37 +01:00
Amaan Qureshi
d945137a32
fix(python-semshi): better highlights (#2839) 2024-03-27 11:23:26 +01:00
Kevin Traver
eb9f9a8862
fix(keymaps): update all keymap descriptions to be Title Case (#2844) 2024-03-27 08:56:44 +01:00
Folke Lemaitre
3e5a5dd621
feat(python): allow configuring other python lsp servers than pyright, basedpyright 2024-03-26 09:28:08 +01:00
Folke Lemaitre
69aedc2657
fix(cmake): lazy load cmake-tools. Fixes #2767 2024-03-22 10:23:09 +01:00
Folke Lemaitre
8d31bf230c
fix(java): dont error when not using cmp. Fixes #2038 2024-03-22 09:54:24 +01:00
Folke Lemaitre
7a5dbeae75
feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
Folke Lemaitre
4187417158
fix(python): basedpyright is now supported by mason-lspconfig 2024-03-20 22:25:59 +01:00
Folke Lemaitre
f055265bff
feat(python): added option to configure basedpyright as lsp. Check the python extra docs. Fixes #2787 2024-03-20 17:18:11 +01:00
Folke Lemaitre
843032ef1c
fix(markdown): disable headlines.nvim bullets for now 2024-03-14 16:53:00 +01:00
Folke Lemaitre
0ba731a879
fix(markdown): disable headlines.nvim in insert mode. Fixes #2717 2024-03-14 16:39:23 +01:00
Marc Jakobi
2a666ac5f2
fix(rust): don't overwrite vim.g.rustaceanvim if it is defined (#2720) 2024-03-14 00:07:40 +01:00
Adam Stracener
b12e742458
fix(terraform-extra): Drop unnecessary commentstring config for terraform (#2680)
* fix(terraform-extra): Drop unnecessary commentstring config for terraform

The commentstring for terraform and hcl files is now handled by nvim-ts-context-commentstring:

JoosepAlviste/nvim-ts-context-commentstring#94

* Fixed terraform.lua issues. I'm bad.
2024-03-09 08:59:44 +01:00
Uthman Mohamed
04bc5718a5
fix(haskell): Make Haskell-snippets lazy load for performance (#2676)
* fix(haskell): add filetype to haskell-snippets for lazy load

* format haskell.lua

---------

Co-authored-by: Uthman Mohamed <83053931+1239uth@users.noreply.github.com>
2024-03-08 11:22:36 +01:00
Folke Lemaitre
139c41c18e
feat(lang): replace rust-tools.nvim with rustacean.nvim #2198
dummy commit to trigger changelog.
original commit message was not correct and didnt get picked up by the changelog
2024-03-07 20:41:12 +01:00
Wellington Lopes Souza
e8e7d22f56
fix(go): adding opts recursive_run (#2520)
Adding opts recursive_run to fix the error 'no Go files in /path/project.' This issue is caused by a recent change in the 'nvim-neotest/neotest-go' project, which now [defaults to non-recursive behavior](https://github.com/nvim-neotest/neotest-go/pull/72)
2024-03-07 17:49:06 +01:00
Frederick Zhang
a7c16f8efd
feat(java): allow opts for setup_dap_main_class_configs() (#2581)
[1] 382b9f6258/doc/jdtls.txt (L206-L210)
2024-03-07 17:48:00 +01:00
Folke Lemaitre
b2a0ae6d0d
fix(ansible): incorrect key spec 2024-03-07 16:41:03 +01:00
Iordanis Petkakis
ed135e6ffd
fix(lang): Change rustacean keymaps to vim.keymap.set instead of which-key (#2660)
Based on this [comment](https://github.com/LazyVim/LazyVim/pull/2198#pullrequestreview-1873658780).
2024-03-07 16:34:49 +01:00
Peter Benjamin
d57817d79b
feat(lang): add telescope terraform integrations (#2235)
* feat(lang): add telescope terraform integrations

Closes #2234

Add telescope integrations for:
- https://github.com/ANGkeith/telescope-terraform-doc.nvim
- https://github.com/cappyzawa/telescope-terraform.nvim

* fix(lang): remove event from terraform telescope extensions
2024-03-07 11:59:38 +01:00