Commit graph

1629 commits

Author SHA1 Message Date
Arthur
2244af1a86
fix(kotlin): kotlin plugin messages and code maintain consistency (#3291)
### Description
I am the author of this
[PR](https://github.com/LazyVim/LazyVim/pull/2890).

While reviewing my own code and checking the LazyVim official website, I
noticed some inconsistencies 😓 , so I created a small PR to address
them:

### Changes
1.Each optional plugin has a comment message indicating that the plugin
is optional, but DAP does not (as shown in the image). Since the
official website already has an "optional" in title.
**I removed the comment messages regarding "optional" to avoid
confusion**.
<img width="300" alt="Screenshot 2024-05-23 at 10 31 38 PM"
src="441979fc-20dd-4599-a91d-f27bc0841d79">


---

2. I changed the DAP to use local variables for DAP to maintain
consistency, even though both require statements reference the same
module.
2024-06-06 10:53:58 +02:00
Folke Lemaitre
8010f50aa5
fix(which-key): use new which-key support for native group keymaps (nop) 2024-06-06 10:46:56 +02:00
Folke Lemaitre
bac4bba016
feat(bufferline): allow custom icons for filetypes 2024-06-06 10:46:56 +02:00
Folke Lemaitre
c4ccd7cbce
feat(git): added leader-gB to browse remotes of the current repo 2024-06-06 10:46:56 +02:00
Aleksey Imuzov
2c2b6f200c
fix(ui): remove extra space in extras ui (#3481)
Remove extra space between icon and text (for source label).

## Before:
<img width="1893" alt="image"
src="7778e103-729a-4231-bb23-0482ae9d8506">

## After:
<img width="1893" alt="image"
src="b8e6b4d3-2554-4312-b7d3-7fd5b8c146d4">
2024-06-06 06:09:58 +02:00
Mykhailo Sabatura
24af74eed6
fix(angular): treesitter not enabled for angular templates (#3469)
## Problem
Treesitter was not working in angular html templates after enabling
`lang.angular` extra.

## Solution
Added a change recommeded by angular treesitter developer to enable
treesitter for components and containers.

### Reference to recommendation in treesitter docs
[Reference to the recommendation for this
hack](https://github.com/dlvandenberg/tree-sitter-angular?tab=readme-ov-file#filetype).
2024-06-06 00:01:42 +02:00
Kevin Traver
4d1629605b
feat(keymaps): add neotest toggle watch keymap (#3073) 2024-06-05 23:46:21 +02:00
Izel Nakri | izelnakri.eth
9eae3e015a
feat(lang): add nix language support (#2956)
In the future we can add:
- dap / debugger support, if this is ever possible or needed.
- extend neotest, if this is ever needed, for most people I suspect not
needed.
- linting, if this is ever needed.
- ~~maybe enhance nvim-cmp behavior with nixpkgs, rust lang extension
crates.nvim does smt with nvim-cmp, other language extensions don't.~~

I think its already good to merge this PR, we can add these enhancements
later, if they are ever needed.

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 23:44:43 +02:00
Binh Tran
4ef42b4578
feat(nushell): add minimal support (#2416)
## Description

This will add minimal support for [Nushell](https://www.nushell.sh/)
include lspconfig and treesitter highlight

## Additional Context

Close #2164

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 23:35:46 +02:00
Folke Lemaitre
502602e4a2
feat(extras): allow recommended to be the args for LazyVim.extras.wants 2024-06-05 23:35:14 +02:00
Dusty Phillips
393aa44e66
feat(mini.files): add cwd and vertical/horizontal keybindings to mini.files (#2695)
* Makes the toggle_hidden keybinding configurable via mappings
* Adds new mini.files keybindings for opening files in a vertical split,
with both go_in and go_in_plus modes (configurable via mappings)
* Adds new keybinding to change working directory from mini.files
(configurable via mappings)

Closes #2692
2024-06-05 23:22:14 +02:00
Folke Lemaitre
4ab123fb31
feat(lint): added support for prepend_args to nvim-lint. Fixes #1887 2024-06-05 23:02:19 +02:00
Folke Lemaitre
8ceccd71e2
feat(prettier): the prettier extra now needs a prettier config file by default. See docs to change this. 2024-06-05 22:55:36 +02:00
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
73c767c2f3
fix(util): don't print warning message in headless 2024-06-05 18:15:45 +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
Dale Lakes
1806ea710f
feat(bufferline): add keymaps for BufferLineMovePrev / BufferLineMoveNext (#1935)
* Add mappings for BufferLineMovePrev / BufferLineMoveNext

* Change to '[B' and ']B'

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 16:11:16 +02:00
Kevin Traver
de9e337f0d
feat(keymaps): add keymap to close all tab pages except the current one (#2975)
* feat(keymaps): add keymap to close all tab pages except the current one

* fix: use o

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 16:04:17 +02:00
Folke Lemaitre
7f65b24113
style: r.lua 2024-06-05 15:38:04 +02:00
Folke Lemaitre
c52242b05b
style: format 2024-06-05 13:42:15 +02:00
Folke Lemaitre
662e2ffe0f
fix(keymaps): use root dir for git log 2024-06-05 13:41:59 +02:00
Phúc H. Lê Khắc
fa706b320b
feat(statuscol): statuscolumn options for open fold indicator and fold hl (#2923)
* feat(statuscol): fold open indicator

* fix: make it configurable

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 11:23:19 +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
Folke Lemaitre
452b70ad15
fix(toggle): slightly better maximize 2024-06-05 07:40:28 +02:00
Folke Lemaitre
1c583650e6
fix(toggle): un-maximize when quiting Neovim 2024-06-05 07:02:19 +02:00
Iordanis Petkakis
8971ea25f9
fix(toggle): Restore width/height values when closing while maximized is toggled on (#3453) 2024-06-05 06:54:52 +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
Erik Lindebratt
9a635ef8d6
fix(lsp): Enable using deno.enablePaths in denols settings (#3446) 2024-06-04 11:31:29 +02:00
Folke Lemaitre
1677b3b84f
feat(lazydev): use lazydev with neodev types (not the plugin) on Neovim 0.9.x 2024-06-04 11:14:48 +02:00
Brian Di Palma
c50018b791
feat(editor): added extra for inc-rename.nvim (#3432)
* feat(editor-extra): Add inc-rename

* fix: refactor and moved noice integration

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-04 09:51:36 +02:00
Folke Lemaitre
ae0d94e048
fix(lazydev): add cmd 2024-06-04 09:39:37 +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
Folke Lemaitre
39da8514d3
feat(lazydev): new lazydev config based on trigger words 2024-06-04 08:43:31 +02:00
Aleksey Imuzov
4d706f1bdc
fix(ui): fix incorrect colors on change colorscheme (lualine) (#3431) 2024-06-03 10:30:57 +02:00
Folke Lemaitre
d6c59d9a41
feat(hipatterns): added vue/astro 2024-06-03 09:24:19 +02:00
Victor Batarse
1731e455d4
fix(hipatterns): update mini-hipatterns.lua config to add support for heex, rust and svelte files (#3430)
* Update mini-hipatterns.lua

added support for heex, rust and svelte to hipatterns

* Update mini-hipatterns.lua
2024-06-03 09:22:23 +02:00
Folke Lemaitre
6c3fd9fedf
fix: hack for dashboard.nvim so that it shows errors when exiting 2024-06-03 07:12:17 +02:00
Folke Lemaitre
da7b7738eb
fix(luasnip): move mappings to cmp spec so that they dont conflict with native snippets 2024-06-02 18:43:44 +02:00
Folke Lemaitre
83c0c9405a
fix: fixup for nvim-snippets compat on 0.9. Fixes #3426 2024-06-02 17:47:27 +02:00
Abhimanyu Sharma
028d5bcac5
fix(todo-comments): use toggle for Trouble todo commands (#3424) 2024-06-02 14:53:58 +02:00
Folke Lemaitre
bb66618f1f
fix(lazydev): easier way of defining library plugin paths 2024-06-02 14:24:14 +02:00