Commit Graph

257 Commits

Author SHA1 Message Date
rvonhoog f4a1b079a8
Merge branch 'master' into php 2025-09-10 13:09:24 -07:00
Richard V.H a1b412b7b9 Enabled debug plugin 2025-09-10 10:47:47 -07:00
Omri Sarig 6ba2408cdf
fix: rename vim.highlight.on_yank to vim.hl.on_yank (#1482)
The functions of vim.highlight were renamed to vim.hl on commit
18b43c331d8a0ed87d7cbefe2a18543b8e4ad360 of neovim, which was applied
with the release of nvim version 0.11.

Now, the use of vim.highlight is deprecated, and instead, one should
use vim.hl functions.
In practice, vim.highlight is still working, however, asking for help
for vim.highlight.on_yank fails (E149), while asking for help for
vim.hl.on_yank works as expected. So, by updating the used function, a
new user will have easier time looking getting the relevant help.

Co-authored-by: Omri Sarig <omri.sarig@prevas.dk>
2025-05-10 20:29:04 -04:00
Ori Perry c92ea7ca97
Replace vim.opt with vim.o (#1495)
* Replace vim.opt with vim.o

Because it offers a nicer interface and info on hover.
For now leave vim.opt when using the table interface (until vim.o
with tables is implemented)

* Add type hint for vim.opt.rtp

* Add a comment about using vim.opt instead of vim.o
2025-05-10 20:16:03 -04:00
guru245 2b2f0f8364
feat: switch vim-sleuth for guess-indent.nvim (#1512) 2025-05-10 20:11:50 -04:00
guru245 76cb865e4f
Change to Mason's new address (#1516) 2025-05-09 19:41:44 -04:00
Liam Dyer d350db2449
feat: switch nvim-cmp for blink.cmp (#1426) 2025-04-09 17:25:57 -04:00
Dmytro Onypko 9929044f24
Remove Telescope `0.1` branch lock (#1448) 2025-04-09 11:05:40 -04:00
Theo P. 1a5787bc57
Change LSP Keybindings to Match the Default `gr` Bindings Introduced in Neovim 0.11 (#1427)
* refactor: change LSP keybindings to the default gr bindings introduced in 0.11

* refactor: modify existing LSP functions to follow  convention
2025-04-09 11:01:57 -04:00
dasvh 8a5a52f647
fix: minor misspellings (#1450)
* fix: minor misspellings

* revert change for `-Bbuild`
2025-04-09 10:39:17 -04:00
Sander e947649cb0
feat(keymap): move windows without `<C-w>` (#1368) 2025-03-24 15:34:57 -04:00
RulentWave 5e2d7e184b
changed Conform's format_on_save lambda so that buffers that match disable_filetypes return nil. This allows you to enable a formatter for langages in the disable_filetypes table to have a formatter that can be run manually with Leader-f but doesnt enable format_on_save for them (#1395) 2025-03-24 15:33:53 -04:00
Crypto-Spartan 38f4744e25
feat: add `vim.opt.confirm = true` (#1384) 2025-03-12 17:24:44 -04:00
Richard V.H f0ba78e0a1 Chore: fixed toyko failure 2025-02-24 08:31:02 -08:00
RVonHoog 79033de732 upstream changes 2025-02-24 08:18:56 -08:00
Chris Patti 6e0af1970e Propsed fix for init.lua warnings as per https://github.com/nvim-lua/kickstart.nvim/issues/1305#issuecomment-2657770325 (#1354) 2025-02-24 08:18:29 -08:00
Ari Pollak ce2d67bb95 Remove duplicate cmp-path (#1369) 2025-02-24 08:18:29 -08:00
Jonas Zeltner 3f24c889ea fix: regression introduced in db78c0b217 (#1367) 2025-02-24 08:18:29 -08:00
Aryan Rajoria f8c4b1bd5b Fix: fix the cmp-nvim-lsp-signature-help link (#1363) 2025-02-24 08:18:29 -08:00
Rob 3e3e1fc401 feat: add basic function signature help (#1358)
* feat: add basic function signature help

* Update init.lua

Co-authored-by: makeworld <25111343+makew0rld@users.noreply.github.com>

---------

Co-authored-by: makeworld <25111343+makew0rld@users.noreply.github.com>
2025-02-24 08:18:29 -08:00
Joaquín Guerra 41c1af8de0 perf: load tokyonight.nvim in the intended way (#1360)
Fixes #1357
2025-02-24 08:18:26 -08:00
GeloCraft 9b5f219a1a feat(diagnostic): add diagnostic config (#1335)
Co-authored-by: gelocraft <gelocraft@users.noreply.github.com>
2025-02-24 08:17:55 -08:00
Jonas Zeltner f43e7cf312 fix: arguments for the `vim.lsp.Client.supports_method` method (#1356) 2025-02-24 08:17:55 -08:00
bleacheda 2c6d28b790 docs: clarify using opts = {} vs config = function() ... require('plu… (#1316)
* docs: clarify using opts = {} vs config = function() ... require('plugin').setup({}) .. end

The current documentation mentioning that using "require" is equivalent to using "opts" without detailing the use in the "config = function()" block seems inaccurate.
Lower in the configuration the "config = function()" block is used without clarifying why it needed and what it does.
This clarification may help new users understand the difference between the two, or how and where to place the "require" statement.

* Update init.lua

* remove whitespace
2025-02-24 08:17:55 -08:00
Diorman Colmenares 991bc5368f Use luals 3rd library for luv (#1303) 2025-02-24 08:17:55 -08:00
Nhan Luu e9d516858c chore: remove redundant comment (#1307) 2025-02-24 08:17:55 -08:00
Tomas Gareau 7d54f06ac5 fix: prevent mason setup from being run twice (#1298)
* 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

* docs: tweak comments per review feedback
2025-02-24 08:17:55 -08:00
Ryan Jensen 9cdca02c6c 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.
2025-02-24 08:17:55 -08:00
ben fleis ba151872c5 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
2025-02-24 08:17:55 -08:00
Artem Dragunov 9a8f098d2d 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)
2025-02-24 08:17:55 -08:00
ben fleis 93f61012b9 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
2025-02-24 08:17:55 -08:00
Miha 457561b0cd fix: which-key comment typo (#1227) 2025-02-24 08:17:55 -08:00
gloomy-lemon-debatable 3d8489bd0f feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (#1232) 2025-02-24 08:17:55 -08:00
Will Winder 7c71dd3284 Remove two because there are more than two. (#1213) 2025-02-24 08:17:55 -08:00
gloomy-lemon-debatable 272a44768f 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>
2025-02-24 08:17:55 -08:00
sam 7fb2f027d2 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>
2025-02-24 08:17:53 -08:00
Nicolás Baquero 2ed45945bc feat: update references of tsserver to ts_ls (#1131) 2025-02-24 08:17:17 -08:00
Damjan 9000 67997e1397 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.
2025-02-24 08:17:17 -08:00
Ihsan Tonuzi c3f1e62327 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.
2025-02-24 08:17:17 -08:00
Ihsan Tonuzi 9538a82e1f fix: remove deprecated opt for conform.nvim (#1070)
- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above
2025-02-24 08:17:17 -08:00
Bayram Kazik f3e7c6218b Include visual mode in LSP code action keymap (#1060) (#1064) 2025-02-24 08:17:17 -08:00
Ihsan Tonuzi adf2b9c7ab refactor: update treesitter and which-key config (#1068) 2025-02-24 08:17:17 -08:00
Michael L. e752df41ab Check for loop or uv for lazypath (#1095) 2025-02-24 08:17:17 -08:00
jstrot f67b5f2a0b Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 2025-02-24 08:17:17 -08:00
jstrot b72b7d0a0f 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
2025-02-24 08:17:17 -08:00
abeldekat 1a825e5d73 performance: defer clipboard because xsel and pbcopy can be slow (#1049) 2025-02-24 08:17:17 -08:00
Ihsan Tonuzi afdf52768c refactor: remove lazydev and luvit-meta as lsp dependencies (#1047) 2025-02-24 08:17:17 -08:00
Brandon Clark 0f6bb2987f Modify conform comments to prevent deprecation warning when used (#1057) 2025-02-24 08:17:17 -08:00
Arvin Verain b4a2af8668 Remove redundant hlsearch option (#1058) 2025-02-24 08:17:17 -08:00
Richard Macklin 5c566f792e Update comment about the toggle inlay hints keymap (#1041) 2025-02-24 08:17:17 -08:00