Commit Graph

206 Commits (019028563854f51b04cf24c499e415f664289a08)

Author SHA1 Message Date
Mussar 0190285638
Merge branch 'nvim-lua:master' into master 3 months ago
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
3 months ago
Joshua Nussbaum 4e100409b1 add new plugs 4 months ago
Joshua Nussbaum 8e2a82e61d re-enable cmp and tree-sitter 4 months ago
Joshua Nussbaum d4ce269b03 disable more plugins 4 months ago
Joshua Nussbaum 53927c893d turn off custom plugins 4 months ago
Joshua 3d5f3b47d7
Merge pull request #5 from nvim-lua/master
sync with remote origin
4 months ago
Diorman Colmenares 5bdde24dfb
Use luals 3rd library for luv (#1303) 4 months ago
Nhan Luu f6abf682ff
chore: remove redundant comment (#1307) 4 months ago
Joshua 8836ad8c7e
Merge branch 'nvim-lua:master' into master 4 months ago
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
4 months 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.
5 months ago
0x4D5352 762ea8b22f disable auto-install 5 months ago
0x4D5352 4eb76fc818 fix mason-lspconfig 5 months ago
0x4D5352 d6b391e460 re-enable autocomplete 5 months ago
Joshua 808cc97d68
Merge branch 'nvim-lua:master' into master 5 months ago
0x4D5352 157a44e011 update conceallevel for obsidian.nvim 5 months 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
5 months 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)
5 months 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
5 months ago
Joshua Nussbaum abf1273892 add snacks and catppuccin theme 5 months ago
Joshua Nussbaum f31e5769c4 fix merge 5 months ago
Joshua Nussbaum 05385a1076 disable cmp 5 months ago
Joshua Nussbaum ed8d615775 update init.lua 5 months ago
Joshua Nussbaum bbf6ffa3fd update readme 5 months ago
Joshua Nussbaum 75ad6822e1 disable copilot 5 months ago
Joshua Nussbaum b0f5e73a23 updates 5 months ago
Joshua Nussbaum 8963521384 update mason defaults 5 months ago
Joshua f781e66aa6 add new init.lua 5 months ago
0x4D5352 be8d531885 remove ruff-lsp 6 months ago
Miha 8d1ef972bc
fix: which-key comment typo (#1227) 6 months ago
gloomy-lemon-debatable e5dc5f6d1c
feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (#1232) 6 months ago
Will Winder 2ba39c6973
Remove two because there are more than two. (#1213) 7 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>
7 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>
7 months ago
Joshua Nussbaum 1fb8a59f27 disable cmp 7 months ago
Joshua Nussbaum 673acfe796 update init 8 months ago
Joshua Nussbaum 6f3dac791b update init 8 months ago
Joshua Nussbaum 597131b469 update mason defaults 8 months ago
Joshua Nussbaum ffc4161057 update init.lua 8 months ago
Nicolás Baquero 7201dc4801
feat: update references of tsserver to ts_ls (#1131) 8 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.
9 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.
9 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
9 months ago
Bayram Kazik d452633b35
Include visual mode in LSP code action keymap (#1060) (#1064) 9 months ago
Ihsan Tonuzi ac78e7d9e7
refactor: update treesitter and which-key config (#1068) 9 months ago
Michael L. ce0c7340ff
Check for loop or uv for lazypath (#1095) 9 months ago
jstrot 1860184830
Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 10 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
10 months ago
abeldekat 84cc12354d
performance: defer clipboard because xsel and pbcopy can be slow (#1049) 10 months ago