Commit Graph

218 Commits (6a97e9497ba72bf41480bdecd9418c5d22ba89ec)

Author SHA1 Message Date
Ihsan Tonuzi fd66454c4a
refactor: remove lazydev and luvit-meta as lsp dependencies (#1047) 9 months ago
Brandon Clark 1cef2325e0
Modify conform comments to prevent deprecation warning when used (#1057) 9 months ago
Arvin Verain f00b2866de
Remove redundant hlsearch option (#1058) 9 months ago
Richard Macklin 56b9114bf2
Update comment about the toggle inlay hints keymap (#1041) 9 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.
9 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>
9 months ago
Richard Macklin 07a9f446a3
Fix comment about mini.ai example (#985)
This example wasn't using `'` so this makes more sense
9 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.
9 months ago
TJ DeVries 2df5137e59 fix: add required parsers from nvim-treesitter 10 months ago
Folke Lemaitre 3e55ff1a83
fix(lazy): added error handling for bootstrap (#1001) 10 months ago
Vladislav Grechannik f5c919558b
which-key v3 update (#1022)
* which-key v3 update

* remove unneeded brackets from which-key registration
10 months ago
Richard Macklin f86f18f27a
Add diff to treesitter's ensure_installed languages (#908) 12 months ago
Damjan 9000 6f6f38a6b5
Move LspDetach handler near kickstart-lsp-highlight group (#900)
Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.
1 year ago
Francis Belanger 942b26184c
fix: highlight group clear on each attach (#874) 1 year ago
Francis Belanger 81f270a704
Fix highlight errors when lsp crash or stop (#864)
* Fix highlight errors when lsp crash or stop

It adds a check wether the client is still available before
highlighting.

If the client is not there anymore it returns `true` to unregister the
autocommand

This fix the
`method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer`
errors when doing a LspRestart or the server crashes

* Delete the highlight autocommands in the LspDetatch event

* Only delete autocmds for the current buffer with the group name

* Simplify clearing the autocommands

---------

Co-authored-by: Francis Belanger <francis.belanger@ubisoft.com>
1 year ago
Vladislav Grechannik f92fb11d68
Fix deprecation notice of inlay hints (#873) 1 year ago
Damjan 9000 2e68a2c253
Add a commented out example of the classic complete keymaps. Fixes #866 (#868) 1 year ago
GameFuzzy b07176aef6
fix: restore Mason config timing for DAP startup (again) (#865) 1 year ago
Damjan 9000 f5c9fe8e15
Add gitsigns recommended keymaps as an optional plugin (#858) 1 year ago
Damjan 9000 5e258d276f
Move plugin examples from README to optional plugin files (#831)
* Move autopairs example from README to an optional plugin

* Move neo-tree example from README to an optional plugin
1 year ago
Vladislav Grechannik 5540527fab
Enable inlay hints for the supporting servers (#843) 1 year ago
Chris Patti 6d6b3f38c1
Fix: #847 - add prefer_git to treesitter config (#856) 1 year ago
Damjan 9000 fabeb86d8b
Comment about nerd font selection. Fixes #853 (#854) 1 year ago
Damjan 9000 d605b840a2
Don't lazy load conform plugin (#818) 1 year ago
Damjan 9000 1175f6d25a
Add a keymap space-f to format buffer using conform (#817)
This works also for visual range selection
Copied from conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
1 year ago
Liu Qisheng 2877a60e00
fix #799 (#800)
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
1 year ago
Togglebit 65a5ac404b
Some suggestions and capitalised a few words (#771) 1 year ago
Fredrik Averpil 8e24ca32e3
feat: add linter plugin (#699) 1 year ago
Shane Crowley b81115d002
assign table to filetype in lua_ls config comment (#770) 1 year ago
Damjan 9000 ea4335f5af
conform: disable autoformat on save for specified filetypes (#694)
Provide a method to disable autoformat on save lsp fallback for
specified filetypes. By default disable for C/C++ as an example,
because it does not have a well standardized coding style.

Based on conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
1 year ago
TJ DeVries 7892c0c354 fix: disable ts indenting for Ruby
Tree-sitter indenting for ruby is pretty terrible.
But the fix requires a few steps, so showed those
and documented how you could do that for other languages
as well (with the tricky part being the
additional_vim_regex_highlighting trick)
1 year ago
TJ DeVries 5ac4b58f85 doc: add note about advanced luasnip features 1 year ago
Vladislav Grechannik 2f494e59ca
Move friendly snippets to dependencies of LuaSnip (#759)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
1 year ago
Zach Zolton d0ddb50c32
Fix git commit highlighting
As per: https://neovim.discourse.group/t/git-diff-highlighting-are-not-working-anymore-in-gitcommit-filetype/3547/4
1 year ago
Rafael Zasas 452e3a73cf
Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750) 1 year ago
TLW 7715b7c2ee
doc: add info about timeoutlen (#691)
Add separate comment for `timeoutlen` option
`timeoutlen` option was under unrelated comment with `updatetime` option.
1 year ago
Chris Patti b529bc3359
Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)" (#755)
This reverts commit d8a1dbc4b4.
1 year ago
James Karefylakis d8a1dbc4b4
Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)
* Use cmp-nvim-lua as nvim-cmp source for neovim Lua API

* Move the dependency to a more suitable place
1 year ago
Damjan 9000 000a5c42b0
Added folke/neodev.nvim for proper nvim api completion and annotation (#754)
Fixes nvim-lua/kickstart.nvim#692

`neodev` configures Lua LSP for your Neovim config, runtime and plugins
used for completion, annotations and signatures of Neovim apis

With neodev, there's no more need to manually set lua_ls workspace
settings which don't seem to work properly anyway as currently nvim
api completion does not work.
1 year ago
Chiller Dragon cb1f16b8ca
chore: rename <C-T> to <C-t> for consistency (#719) 1 year ago
Ryan Baumgardner c0d6f98924
feat: allow treesitter defaults to be overwritten from custom directory (#732) 1 year ago
name.tar.xz 3cfccc01be
use init for colorscheme (#715) 1 year ago
Damjan 9000 66e2a5a425
Make the Nerd Font an optional requirement (#716) 1 year ago
Ryan Winchester f764b7bacd
Add more detail to colorscheme comment (#713) 1 year ago
Damjan 9000 c3127f1226
Change statusline location to LINE:COLUMN (#689) 1 year ago
Taulant Aliraj b99af2d6a3
feat: use VimEnter event instead of VeryLazy (#673) 1 year ago
Nhan Luu 94a93643ab
chore: fix typos (#666) 1 year ago
Anton Kastritskii 38828dcaf7
feat: enable lua lsp snipppets (#660) 1 year ago
TJ DeVries b58666dd15 fixup: updated some style stuff 1 year ago
Damjan 9000 465d6f25c2
Change mini.statusline location format to LINE:COLUMN (#659)
Default mini.statusline location format is:
  'cursor line | total lines │ cursor column | total columns'
1 year ago
Zach Zolton ee02f5e450
Turn off formatting on save of buffer 1 year ago
Zach Zolton e50c61a3ba
Remove redundant diagnostic keybind 1 year ago
Zach Zolton 4f05632356
Fix colorscheme 1 year ago
Zach Zolton 1baa252887
Merge branch 'master' of https://github.com/nvim-lua/kickstart.nvim 1 year ago
brxxlstxrs 18b919c61e
add plugin specs docstring, remove lazy.nvim configuration (empty) table (#652) 1 year ago
Zach Zolton c3cb82bcbb
Show only classes and funcs in Document Symbols 1 year ago
Zach Zolton bfc842dc52
Improve QoL for basic search highlighting 1 year ago
TJ DeVries af4fd2355f fixup: change comment to reflect auto_install 1 year ago
TJ DeVries 1c89b024c8 fixup: add autocommand link for help and description 1 year ago
TJ DeVries 8b5d48a199
rewrite: slimmer, trimmer and more lazy kickstart.nvim (#635)
We've removed over 1/3 of the code that was in kickstart previously,
and more than doubled the amount of comments explaining every line
of code (to the best of my ability).

kickstart now properly uses many of the lazy.nvim config and loading
idioms, which should be really helpful for people moving both to
modular configs, as well as extending the kickstart config in one file.

Additional features:
- Beautiful ascii art
- Added some documentation that explains what is an LSP, what is telescope, etc
- There is now a `:checkhealth` for kickstart, which checks some basic information
  and adds useful information for maintainers (for people cloning the repo).
- Improved LSP configuration and tool installation, for easier first time startup
- Changed init.lua ordering, so that it moves from simple options to complicated config

```
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Lua                              1            108            404            298
-------------------------------------------------------------------------------
```
1 year ago
rgarber11 7af594fd31
Add Build Step to LuaSnip (#611) 1 year ago
Micah Effiong bc4ad1218b
feat: added contexts for code action - source fix-all errors (#599)
* feat: added contexts for code action - source fix-all errors

* fix: resolve stylua checks

* fix: resolve stylua checks
1 year ago
Nazar b115814916
Add Onedark Style (#590)
* Add style options to Onedark setup (init.lua)

* stylua init.lua

* Load onedark through `require`

* Improve commenting
1 year ago
Victor Bertin deaafcf549
Set status line theme to the global colorscheme (#600) 1 year ago
Sreejith I V 2510c29d62
Removed duplicate line (#583) 1 year ago
Mohamad Alamin Yassin c11afa2f90
Add Missing Fields to Treesitter Config to Resolve Warnings (#582)
This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements.
1 year ago
John Pekcan 4d0dc8d4b1
fix: restore mason config timing for dap startup (#555)
Co-authored-by: John Pekcan <john.pekcan@epicgames.com>
1 year ago
Ari Pollak e39a8bce9d
Switch cmp up mapping from C-d to C-b to match regular vim up key (#549) 1 year ago
Shashwat Agrawal 76c5b1ec57
feat(cmp): path completion feature (#536) 1 year ago
Damjan 9000 3824342d10
Adds two essential telescope keymaps (#528)
* Added keymap for select Telescope picker

* Added keymap for search in all open files
1 year ago
Damjan 9000 f8c8b08bc1
Add gitsigns recommended keymaps (#531)
* Import gitsigns README.md recommended keymaps (and apply stylua)

the previously added visual mode for ]c [c is kept.

* Add gitsigns keymap descriptions
1 year ago
Damjan 9000 12bd68e8b9
Run stylua (#525) 1 year ago
Tommy Williams ee9790b381
option to reduce noisy Lua_LS's missing-fields warnings (#511) 1 year ago
j-hui 711e5976dd init.lua: remove 'legacy' tag from fidget.nvim 1 year ago
Shashwat Agrawal af4f51b2cd fix(auto-completion): ensure first menu item is selected by default 1 year ago
Damjan 9000 c8dd8e7e0c init.lua: minor edits of section comments for consistency 1 year ago
Damjan 9000 f23484cf88 init.lua: move diagnostic keymaps together with other keymaps 1 year ago
Sebastian Lara Menares 1d14453024 Live Grep from Git root falls back to cwd on special buffers 1 year ago
Sebastian Lara Menares 5ce4f38e1e change keymap to not disrupt existing users of Search by Grep 2 years ago
Sebastian Lara Menares 0fda9af7c9 add Telescope live_grep on Git root 2 years ago
Theo P 5d8921990b feat(lsp): use Telescope builtin functions for LSP definition and type
definition
2 years ago
Alvaro-Kothe db7189f35c Fix help for indent-blankline plugin
Since version 3 `:help indent_blankline` no longer works. Replace it
with `:help ibl`.
2 years ago
Zach Zolton 4e317bb1cd
Merge remote-tracking branch 'upstream/master' 2 years ago
Ashraf Michail 01ed2525bb Fix bash errors 2 years ago
Anthony Fiddes 36224daa1b Move mason setup up further
This helps if a user needs to find a mason executable
2 years ago
Anthony Fiddes 6ffc5a169f Fix Mason setup issue and run stylua. 2 years ago
Ashraf Michail 4d5f24d6c1 Defer Treesitter setup to improve startup time of nvim {filename} 2 years ago
Chris Patti daf2dc38fc
Merge pull request #438 from tcld/which_key_documentation
Which key documentation and 2-3 changed keybindings
2 years ago
Lukas Reineke 7a58588a92 fix: fix indent-blankline config 2 years ago
Emmanuel Chucks 878ec12318
fix(init.lua): indent blankline v3 setup 2 years ago
tcld 0340f77200 Add documentation for custom which-key groups 2 years ago
Christopher Gillis 8443853cfe
Remove extra "r" Search Resume description 2 years ago
Zach Zolton 9c387b2a58
Merge remote-tracking branch 'upstream/master' 2 years ago
Chris Patti 6453352e25
Merge pull request #404 from e-aakash/lsp-goto-implementation
Use telescope for goto implementation
2 years ago
Chris Patti c010cc71d5
Merge pull request #406 from gangelop/git-keymaps
Revert gitsigns keymaps but fix vimdiff and fugitive conflict
2 years ago
Dilshod Temirkhodjaev ac9b167860
Add telescope search resume key binding 2 years ago
George Angelopoulos a347bb401e treesitter: ensure 'javascript' installed along with typescript and tsx
This parser is actually needed for some *JSX* parsing, and since
typescript and tsx are already getting installed, it makes sense to
also install the javascript parser.
2 years ago
Zach Zolton 0e16ab6e36
Set textwidth 2 years ago
Zach Zolton 87e77c7c58
More basics for editing
* vim-surround plugin
* 120-character column
* Remove annoying snippet plugin
2 years ago
George Angelopoulos 38a0f03231 Revert gitsigns keymaps but fix vimdiff and fugitive conflict
Originally, the keymaps for jumping to next and previous git hunks were
]c and [c. This was changed in #323 (83b65a1) because they overwrote the
built-in vimdiff keymaps.

However, the more traditional solution is to have ]c and [c *extend* the
built-in keymap. This is what fugitive and gitgutter have been doing for
years.

Gitsigns doesn't do this by itself, but it has a recommended keymap
configuration on which the present patch is based:

	https://github.com/lewis6991/gitsigns.nvim#keymaps

The only thing I've added is to have the keymaps work in visual mode as
well, which is the same behavior as the built in vimdiff keymaps.
2 years ago