Commit graph

238 commits

Author SHA1 Message Date
Folke Lemaitre
9a1162314f
fix(svelte): disable prettier integration for svelte for now. See #3466 2024-06-05 22:20:35 +02:00
Folke Lemaitre
cae2c226b5
fix(typecript): remove dependency on nvim-vtsls. Not needed anymore 2024-06-05 22:19:44 +02:00
Folke Lemaitre
a636bf2022
feat(typescript): open locations from lsp execute command with trouble for vtsls 2024-06-05 22:19:19 +02:00
Folke Lemaitre
1bd4d2fc72
feat(lsp): simpler API to deal with code actions 2024-06-05 22:18:14 +02:00
Daniel Mata
e0a0123b18
fix(svelte): added organize imports and prettier (#3466)
* feat(svelte): add key binding for organize imports

* fix(svelte): solves sveltejs/language-tools#2008

* feat(svelte): add formatter for svelte
2024-06-05 20:28:23 +02:00
Folke Lemaitre
f8268faa7c
fix: cleanup unnecessary treesitter langs and mason lsp servers 2024-06-05 18:07:01 +02:00
Folke Lemaitre
ca0b9ee915
fix(extras): added recommended for helm/haskell 2024-06-05 17:36:02 +02:00
Folke Lemaitre
373d6b60e1
style: python.lua 2024-06-05 16:42:13 +02:00
Rabin Adhikari
1cdb5bdf41
feat(python): switch to regexp branch for a rewrite the venv selector plugin (#3301)
It has eliminated many bugs and allows users to easily add their searches, if the plugin doesn't find them automatically.
2024-06-05 16:33:49 +02:00
Folke Lemaitre
7f65b24113
style: r.lua 2024-06-05 15:38:04 +02:00
Folke Lemaitre
d64d761539
feat: enabled ts-plugin support for astro and svelte 2024-06-05 11:09:12 +02:00
Folke Lemaitre
e32d1918ae
fix(python): removed the python-semshi extra 2024-06-05 11:01:10 +02:00
HJK
c1f5fcf9c7
fix(extra.lang.scala): Fix the always initializing regardless of file… (#3455)
* fix(extra.lang.scala): Fix the always initializing regardless of filetype

* fix typo
2024-06-05 08:07:13 +02:00
Radvil
987bd2207f
feat(extras): Add extra for angular lspconfig (#2806)
* feat(extras): Add extra for angular lspconfig

Since treesitter has better support for angular parser recently that works for the legacy and the latest version of it,
I am happy to suggest this extra configuration that works for well for me without any issue.
And since lack of references about how to config the angular lsp inside of neovim out there, this will work fine as a starting point.

* feat(extras): Added `angularls` lsp configuration

* feat(extras.lang): update `angularls` configuration

---------

Co-authored-by: Radvil <radvil.linux@gmail.com>
2024-06-04 19:03:16 +02:00
Folke Lemaitre
3df8af369c
fix(tex): remove latex treesitter support since it's not needed with vimtex and it needs treesitter-cli 2024-06-04 09:39:37 +02:00
Aman9das
595069d501
R.lua make R output themed by neovim theme (#3416) 2024-06-01 15:05:34 +02:00
Folke Lemaitre
c98fbef3b5
fix(json): added *.json to recommended 2024-06-01 11:20:50 +02:00
Folke Lemaitre
7598a7503d
feat(extras): added extra for svelte. Full support will be enabled once my mason PR gets merged 2024-06-01 09:08:09 +02:00
Folke Lemaitre
683aaeb75b
feat(astro): added support for ts-plugin, but won't work till mason-registry PR is merged. See #3364 2024-06-01 08:33:24 +02:00
Folke Lemaitre
9d999fa210
refactor: refactored mason/typescript/vue support 2024-06-01 08:31:10 +02:00
Folke Lemaitre
e7430b0776
fix(vue): correctly add plugins. See #3401 2024-05-31 20:53:55 +02:00
Emma Eilefsen Glenna
07ff12f5eb
fix(extras.lang.vue) missing typescript autocomplete in .vue files (#3401)
* Fix missing autocomplete in .vue files

The existing Vue extra was not properly configuring vtsls to use the globalPlugin: '@vue/typescript-plugin'

This commit fixes missing typescript autocomplete in .vue files.

* move @vue/typescript-plugin back to extend function call

* tidy LazyVim.extend() arguments
2024-05-31 20:52:01 +02:00
Folke Lemaitre
ae381c91a1
Revert "fix(rust): let rustaceans.nvim setup rust_analyzer (#3389)"
This reverts commit 3fadf6af8f.
2024-05-31 14:24:27 +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
Rubin Bhandari
0a9373733f
feat(typescript): add keymap for remove unused imports (#3376) 2024-05-30 15:30:20 +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
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
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