Commit graph

274 commits

Author SHA1 Message Date
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
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