Commit Graph

208 Commits

Author SHA1 Message Date
Mussar 12be48eb0b
Merge branch 'nvim-lua:master' into master 2025-02-17 08:23:25 -06:00
Jonas Zeltner db78c0b217
fix: arguments for the `vim.lsp.Client.supports_method` method (#1356) 2025-02-16 22:42:19 -05:00
Mussar 0190285638
Merge branch 'nvim-lua:master' into master 2025-02-15 17:57:31 -06:00
bleacheda 71ad926ab1
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-14 22:32:50 -05:00
Joshua Nussbaum 4e100409b1 add new plugs 2025-01-29 13:29:10 -06:00
Joshua Nussbaum 8e2a82e61d re-enable cmp and tree-sitter 2025-01-21 18:56:10 -06:00
Joshua Nussbaum d4ce269b03 disable more plugins 2025-01-21 17:25:30 -06:00
Joshua Nussbaum 53927c893d turn off custom plugins 2025-01-21 16:50:12 -06:00
Joshua 3d5f3b47d7
Merge pull request #5 from nvim-lua/master
sync with remote origin
2025-01-19 06:58:29 -06:00
Diorman Colmenares 5bdde24dfb
Use luals 3rd library for luv (#1303) 2025-01-15 14:38:26 -05:00
Nhan Luu f6abf682ff
chore: remove redundant comment (#1307) 2025-01-15 14:37:03 -05:00
Joshua 8836ad8c7e
Merge branch 'nvim-lua:master' into master 2025-01-09 23:38:28 -06:00
Tomas Gareau db4867acb9
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-01-07 10:44:29 -05:00
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.
2024-12-29 12:04:10 -05:00
0x4D5352 762ea8b22f disable auto-install 2024-12-27 13:08:44 -06:00
0x4D5352 4eb76fc818 fix mason-lspconfig 2024-12-27 13:06:55 -06:00
0x4D5352 d6b391e460 re-enable autocomplete 2024-12-20 13:50:17 -06:00
Joshua 808cc97d68
Merge branch 'nvim-lua:master' into master 2024-12-20 13:41:45 -06:00
0x4D5352 157a44e011 update conceallevel for obsidian.nvim 2024-12-20 13:41:02 -06:00
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
2024-12-12 16:26:20 -05:00
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)
2024-12-12 10:51:58 -05:00
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
2024-12-12 10:50:55 -05:00
Joshua Nussbaum abf1273892 add snacks and catppuccin theme 2024-12-07 08:59:42 -06:00
Joshua Nussbaum f31e5769c4 fix merge 2024-12-03 08:27:35 -06:00
Joshua Nussbaum 05385a1076 disable cmp 2024-12-03 08:25:43 -06:00
Joshua Nussbaum ed8d615775 update init.lua 2024-12-03 08:23:26 -06:00
Joshua Nussbaum bbf6ffa3fd update readme 2024-12-03 08:21:32 -06:00
Joshua Nussbaum 75ad6822e1 disable copilot 2024-12-03 08:20:46 -06:00
Joshua Nussbaum b0f5e73a23 updates 2024-12-03 08:19:54 -06:00
Joshua Nussbaum 8963521384 update mason defaults 2024-12-03 08:19:11 -06:00
Joshua f781e66aa6 add new init.lua 2024-12-03 08:17:23 -06:00
0x4D5352 be8d531885 remove ruff-lsp 2024-11-30 11:33:22 -06:00
Miha 8d1ef972bc
fix: which-key comment typo (#1227) 2024-11-20 08:41:50 -05:00
gloomy-lemon-debatable e5dc5f6d1c
feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (#1232) 2024-11-20 08:37:22 -05:00
Will Winder 2ba39c6973
Remove two because there are more than two. (#1213) 2024-10-30 14:58:52 -04:00
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>
2024-10-30 11:50:27 -04:00
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>
2024-10-30 11:49:16 -04:00
Joshua Nussbaum 1fb8a59f27 disable cmp 2024-10-10 10:50:45 -05:00
Joshua Nussbaum 673acfe796 update init 2024-09-26 19:26:23 -05:00
Joshua Nussbaum 6f3dac791b update init 2024-09-26 19:25:47 -05:00
Joshua Nussbaum 597131b469 update mason defaults 2024-09-26 19:24:53 -05:00
Joshua Nussbaum ffc4161057 update init.lua 2024-09-26 19:22:47 -05:00
Nicolás Baquero 7201dc4801
feat: update references of tsserver to ts_ls (#1131) 2024-09-10 16:27:24 -04:00
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.
2024-08-26 16:43:59 -04:00
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.
2024-08-26 12:17:22 -04:00
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
2024-08-25 23:28:26 -04:00
Bayram Kazik d452633b35
Include visual mode in LSP code action keymap (#1060) (#1064) 2024-08-24 17:31:43 -04:00
Ihsan Tonuzi ac78e7d9e7
refactor: update treesitter and which-key config (#1068) 2024-08-22 21:00:39 -04:00
Michael L. ce0c7340ff
Check for loop or uv for lazypath (#1095) 2024-08-22 16:56:33 -04:00
jstrot 1860184830
Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 2024-07-29 20:02:37 -04:00