Commit Graph

325 Commits (ff1dfffa04302ee794ae30717bb7cd033a511346)
 

Author SHA1 Message Date
Tomas Gareau ff1dfffa04
docs: tweak comments per review feedback 5 days ago
Tomas Gareau 95daefbaaf
fix: prevent mason setup from being run twice
Addresses https://github.com/nvim-lua/kickstart.nvim/issues/1297

Currently, we're calling `require('mason').setup(...)` twice:
* once when setting it as a dependency of `nvim-lspconfig` (since we set
	`config = true`)
* once in the `config` function we define for `nvim-lspconfig`

Calling setup twice can cause issues with, e.g., setting the `PATH`
option: you might append Mason's bin dir in one setup call and prepend
it in the other.

We've kept the setup of `mason` in the `nvim-lspconfig` dependencies
table since leaving it to the `config` function caused some
plugin-loading-order related issues in the past. See:
* https://github.com/nvim-lua/kickstart.nvim/pull/210
* https://github.com/nvim-lua/kickstart.nvim/issues/554
* https://github.com/nvim-lua/kickstart.nvim/pull/555
* https://github.com/nvim-lua/kickstart.nvim/pull/865
6 days ago
Ryan Jensen a8f539562a
Fix which-key delay settings (#1276)
The which-key plugin used to rely on vim.opt.timeoutlen, but it was
updated a few months ago to use its own opt.delay instead.

8ab96b38a2/NEWS.md?plain=1#L10

I set which-key's delay to 0 ms because it makes it feel snappy and
responsive! That way, we give new users a good first impression.
1 week ago
Ihsan Tonuzi 7ddaab3ffd
chore: add pre-issue requirements (#1288)
* chore: add pre-issue requirements

Based on #1285

* docs: add header about documentation

Based on #1285
1 week ago
George e84e187f3c
Fix README.md grammar and typos (#1291) 1 week ago
Scott Swensen de44f49101
fix(gitsigns): make visual mode descriptions consistent with normal mode (#1266) 4 weeks ago
ben fleis bcdb4cd252
Issue 1249 which key comments (#1263)
* Tweak outdated comment about lazy's `config` key usage.

Remove outdated comment describing use of `config` key, replacing with
corrected `opt` key note.

Fixes #1249

* fix typo opt -> opts

Fixes #1250
4 weeks ago
Artem Dragunov a2df3ea9eb
Use consistent syntax style for { ... } "pseudocode" (#1247)
```
require('gitsigns').setup({ ... })
```

This was the first occurrence

It may be nice to have the same style everywhere

Cosmetic change (just to make docs/comments even more perfect)
4 weeks ago
ben fleis 7bc9d19a4d
Tweak outdated comment about lazy's `config` key usage. (#1250)
Remove outdated comment describing use of `config` key, replacing with
corrected `opt` key note.

Fixes #1249
4 weeks ago
Miha 8d1ef972bc
fix: which-key comment typo (#1227) 2 months ago
Anjishnu Banerjee 9dfb1b230f
Fix nvim-dap not lazy loading (#1216)
* Fix nvim-dap not lazy loading

The keys property had local variables 'dap' and 'dap-ui' that used `require` and prevented all DAP related plugins from lazy-loading.
Fixed this by changing keys to a table and substituting the local variables with a lamba function

* Make debug keybind descriptions more consistent
2 months ago
gloomy-lemon-debatable e5dc5f6d1c
feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (#1232) 2 months ago
Will Winder 2ba39c6973
Remove two because there are more than two. (#1213) 2 months ago
gloomy-lemon-debatable be678aa341
Set breakpoint icons and their highlight colors (#1194)
* feat: Set breakpoint icons and their highlight colors

* docs: Delete reference URL (written in PR)
feat: "Break" and "Stop" arguments of vim.api.nvim_set_hl are changed because they are too common nouns
feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>
2 months ago
gloomy-lemon-debatable d09d9bc6dc
Change diagnostic symbols if vim.g.have_nerd_font is true (#1195)
* feat: Change diagnostic symbols if vim.g.have_nerd_font is true

* feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>
2 months ago
sam fb7f6a1c13
samarth-nagar fix: lazy help tag on line 931 (#1167)
* samarth-nagar fix: lazy help tag on line 931

found in issue #1152

* fixed white space

---------

Co-authored-by: sam <110125971+samarth-nagar@users.noreply.github.com>
2 months ago
Éric NICOLAS 5ed1bc38dc
Disable linting autocmd for readonly buffers (#1202)
* Disable linting autocmd for readonly buffers

This should avoid linting in buffers outside of the user's control,
having in mind especially the handy LSP pop-ups that describe your
hovered symbol using markdown.

Co-authored-by: Robin Gruyters <2082795+rgruyters@users.noreply.github.com>

* Justify guarding try_lint in readonly buffers

Co-authored-by: Robin Gruyters <2082795+rgruyters@users.noreply.github.com>

---------

Co-authored-by: Robin Gruyters <2082795+rgruyters@users.noreply.github.com>
2 months ago
Bastien Traverse 4120893b8a
fix: update lazy uninstall information link (#1148) 4 months ago
Nicolás Baquero 7201dc4801
feat: update references of tsserver to ts_ls (#1131) 4 months ago
Damjan 9000 a22976111e
Fix the which-key spec issue caused by recent cleanup (#1113)
The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.
5 months ago
Ihsan Tonuzi 24d368f9ff
cleanup: refactor which-key configuration for cleaner setup (#1102)
- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in #1068.
5 months ago
Ihsan Tonuzi c76c323a7c
fix: remove deprecated opt for conform.nvim (#1070)
- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above
5 months ago
Harshit Pant e4a5300bdb
Fix: updated the windows installation commands (#1101)
* Update README.md

* Update README.md

* Fix: updated the windows installation commands
5 months ago
Bayram Kazik f49cc6c935
Enable silent option for default neo-tree plugin keybinding (#1108) 5 months ago
Bayram Kazik d452633b35
Include visual mode in LSP code action keymap (#1060) (#1064) 5 months ago
Ihsan Tonuzi ac78e7d9e7
refactor: update treesitter and which-key config (#1068) 5 months ago
Michael L. ce0c7340ff
Check for loop or uv for lazypath (#1095) 5 months ago
Matt Gallagher 554a054bf9
Add note in README about lazy-lock.json (#1090) 5 months ago
theoboldalex c1ae9092cb
Update README.md (#1091) 5 months ago
jstrot 1860184830
Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 5 months ago
jstrot bb9f84ca8f
Remove treesitter prefer_git option (#1061)
- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: https://github.com/nvim-treesitter/nvim-treesitter/pull/6959
5 months ago
abeldekat 84cc12354d
performance: defer clipboard because xsel and pbcopy can be slow (#1049) 5 months ago
Ihsan Tonuzi fd66454c4a
refactor: remove lazydev and luvit-meta as lsp dependencies (#1047) 5 months ago
Brandon Clark 1cef2325e0
Modify conform comments to prevent deprecation warning when used (#1057) 5 months ago
Arvin Verain f00b2866de
Remove redundant hlsearch option (#1058) 5 months ago
Richard Macklin 56b9114bf2
Update comment about the toggle inlay hints keymap (#1041) 6 months ago
srdtrk 6f3fe35de3
lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (#947)
* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <mail@tjkuson.me>

---------

Co-authored-by: Tom Kuson <mail@tjkuson.me>
6 months ago
Richard Macklin 620732789b
Update lazydev config to fix "Undefined field `fs_stat`" LSP error (#1040)
7513ec8a7d switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
6184ebbbc8 (-installation)
which resolves the LSP error.
6 months ago
Vladislav Grechannik 7513ec8a7d
Neovim 0.10 updates (#936)
* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <matt@mattmirus.com>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <matt@mattmirus.com>
Co-authored-by: mrr11k <me+github@mrr11k.dev>
Co-authored-by: Seb Tomasini <sebt@qgates.com>
6 months ago
Richard Macklin 07a9f446a3
Fix comment about mini.ai example (#985)
This example wasn't using `'` so this makes more sense
6 months ago
Vladislav Grechannik b36d84ddf0
Make conform.nvim be lazy-loadable again (#977)
The PR that disabled lazy loading (#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.
6 months ago
Artyom c405d3fd4f
Update README.md | %userprofile%\appdata\local -> %localappdata% (#963)
- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`
6 months ago
Vladislav Grechannik 4bbca64157
Make debug lazy loadable (#978) 6 months ago
Tom Kuson 1cdf6fb377
Remove redundant require (#959) 6 months ago
Damjan 9000 202910d3fa
Fix neo-tree keymap description (#932)
The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search
6 months ago
TJ DeVries 2df5137e59 fix: add required parsers from nvim-treesitter 6 months ago
Folke Lemaitre 3e55ff1a83
fix(lazy): added error handling for bootstrap (#1001) 6 months ago
Vladislav Grechannik f5c919558b
which-key v3 update (#1022)
* which-key v3 update

* remove unneeded brackets from which-key registration
6 months ago
Per Malmberg 5aeddfdd5d
Automatically set detached state as needed. (#925)
* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.
8 months ago
Smig b9bd02d55b
fix: debug.lua (#918) 8 months ago