Commit Graph

218 Commits (992db9c466bafb2382134b070542af173247068e)

Author SHA1 Message Date
Ori Perry 992db9c466
Merge pull request #11 from rivenirvana/init-key-docs
docs: Add documentation for lazy's `init` key
6 days ago
orip 1b3bb13278 Fix formatting 6 days ago
Ori Perry 166d8b3e80
Merge pull request #8 from oriori1703/feature/collapse-functions
Feature/collapse functions
6 days ago
Ori Perry 67c23b3398
Merge pull request #9 from oriori1703/feature/type-hints
Add type hints to plugin options where possible
6 days ago
orip f5f085f9c8 Undo the formatting changes from https://github.com/oriori1703/kickstart-modular.nvim/pull/7 6 days ago
Ori Perry d20b4c5436
Merge pull request #7 from kartikvashistha/feat/0.11-lsp
Feat/0.11 lsp
6 days ago
Ori Perry 0ecaa81c4d
Merge pull request #6 from guru245/feature/toggle_diagnostics
feat: add toggle to show/hide diagnostics
6 days ago
Ori Perry 09d58dc946
Merge pull request #5 from ronandalton/fix-unnecessary-diagnostic-config
fix(diagnostic): remove unnecessary config lines
6 days ago
Ori Perry d147077b35
Merge pull request #3 from FrancescElies/cesc/visual-grep-string
feat(grep-string): works with visual selection too
6 days ago
Ori Perry 87bbd7909b
Merge pull request #2 from 5brian/virtual-lines
feat(diagnostics): Add `virtual_lines` for discoverability
6 days ago
orip 5962064255 Add type hints to plugin options where possible
This could help beginners to get autocompletion, catch mistakes earlier,
and allow them to skip the docs for simple configs.

This is not perfect because a lot of the plugins type all of their keys
as required, even though they have defaults, but this is good enough.
6 days ago
orip 5ad57de208 Collapse small functions when formatting
This would allow to write more concise and easy to understands keybinds in
the following commit
6 days ago
Sangho Lee 488feb5853 feat: add toggle to show/hide diagnostics 2 weeks ago
Ronan Dalton 7c31d2ccf8 fix(diagnostic): remove unnecessary config lines
The following lines do nothing and can be removed:

 format = function(diagnostic)
   local diagnostic_message = {
     [vim.diagnostic.severity.ERROR] = diagnostic.message,
     [vim.diagnostic.severity.WARN] = diagnostic.message,
     [vim.diagnostic.severity.INFO] = diagnostic.message,
     [vim.diagnostic.severity.HINT] = diagnostic.message,
   }
   return diagnostic_message[diagnostic.severity]
 end,

The following line causes diagnostics which aren't of severity level
error to not have the specific text area underlined. This is less useful
than the default of showing underlines for all diagnostic levels, so
remove this line as well:

  underline = { severity = vim.diagnostic.severity.ERROR },
3 weeks ago
Francesc Elies b4c8a78d45 feat(grep-string): works with visual selection too 3 weeks ago
Kartik Vashistha 9ff021faa4 refactor: based on pr comments
Add lua_ls annotations for improved hover experience and replace vim.fn.empty() with
vim.tbl_isempty()
1 month ago
Kartik Vashistha 0028a33e0a feat: improved lsp setup for nvim > 0.11 1 month ago
Arvin Verain ad50cccc28
docs: Add documentation for lazy's `init` key
Guide users towards lazy's `init` key for plugins written in VimScript.
1 month ago
Arvin Verain de21fefd4d
fix: Load guess-indent.nvim 1 month ago
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>
2 months ago
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
2 months ago
guru245 2b2f0f8364
feat: switch vim-sleuth for guess-indent.nvim (#1512) 2 months ago
guru245 76cb865e4f
Change to Mason's new address (#1516) 2 months ago
brian tan 0568118b61 feat(diagnostics): Add `virtual_lines` for discoverability 3 months ago
Liam Dyer d350db2449
feat: switch nvim-cmp for blink.cmp (#1426) 3 months ago
Dmytro Onypko 9929044f24
Remove Telescope `0.1` branch lock (#1448) 3 months ago
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
3 months ago
dasvh 8a5a52f647
fix: minor misspellings (#1450)
* fix: minor misspellings

* revert change for `-Bbuild`
3 months ago
Sander e947649cb0
feat(keymap): move windows without `<C-w>` (#1368) 4 months ago
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) 4 months ago
Crypto-Spartan 38f4744e25
feat: add `vim.opt.confirm = true` (#1384) 4 months ago
Chris Patti 34e7d29aa7
Propsed fix for init.lua warnings as per https://github.com/nvim-lua/kickstart.nvim/issues/1305#issuecomment-2657770325 (#1354) 5 months ago
Ari Pollak ea60b2b01f
Remove duplicate cmp-path (#1369) 5 months ago
Jonas Zeltner e64aa51ef2
fix: regression introduced in db78c0b217 (#1367) 5 months ago
Aryan Rajoria 7c49ba1cb7
Fix: fix the cmp-nvim-lsp-signature-help link (#1363) 5 months ago
Rob 282cbb9c82
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>
5 months ago
Joaquín Guerra ebca680dea
perf: load tokyonight.nvim in the intended way (#1360)
Fixes #1357
5 months ago
GeloCraft 76e06fec5c
feat(diagnostic): add diagnostic config (#1335)
Co-authored-by: gelocraft <gelocraft@users.noreply.github.com>
5 months ago
Jonas Zeltner db78c0b217
fix: arguments for the `vim.lsp.Client.supports_method` method (#1356) 5 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
5 months ago
Diorman Colmenares 5bdde24dfb
Use luals 3rd library for luv (#1303) 6 months ago
Nhan Luu f6abf682ff
chore: remove redundant comment (#1307) 6 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
6 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.
6 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
7 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)
7 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
7 months ago
Miha 8d1ef972bc
fix: which-key comment typo (#1227) 8 months ago
gloomy-lemon-debatable e5dc5f6d1c
feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (#1232) 8 months ago
Will Winder 2ba39c6973
Remove two because there are more than two. (#1213) 8 months ago