Commit Graph

150 Commits (07a9f446a30487439a6c922a7b4a4aa5756ee1d9)

Author SHA1 Message Date
Richard Macklin 07a9f446a3
Fix comment about mini.ai example (#985)
This example wasn't using `'` so this makes more sense
6 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.
6 months ago
TJ DeVries 2df5137e59 fix: add required parsers from nvim-treesitter 6 months ago
Folke Lemaitre 3e55ff1a83
fix(lazy): added error handling for bootstrap (#1001) 6 months ago
Vladislav Grechannik f5c919558b
which-key v3 update (#1022)
* which-key v3 update

* remove unneeded brackets from which-key registration
6 months ago
Richard Macklin f86f18f27a
Add diff to treesitter's ensure_installed languages (#908) 8 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.
8 months ago
Francis Belanger 942b26184c
fix: highlight group clear on each attach (#874) 9 months 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>
9 months ago
Vladislav Grechannik f92fb11d68
Fix deprecation notice of inlay hints (#873) 9 months ago
Damjan 9000 2e68a2c253
Add a commented out example of the classic complete keymaps. Fixes #866 (#868) 9 months ago
GameFuzzy b07176aef6
fix: restore Mason config timing for DAP startup (again) (#865) 9 months ago
Damjan 9000 f5c9fe8e15
Add gitsigns recommended keymaps as an optional plugin (#858) 9 months 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
9 months ago
Vladislav Grechannik 5540527fab
Enable inlay hints for the supporting servers (#843) 9 months ago
Chris Patti 6d6b3f38c1
Fix: #847 - add prefer_git to treesitter config (#856) 9 months ago
Damjan 9000 fabeb86d8b
Comment about nerd font selection. Fixes #853 (#854) 9 months ago
Damjan 9000 d605b840a2
Don't lazy load conform plugin (#818) 9 months 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
9 months ago
Liu Qisheng 2877a60e00
fix #799 (#800)
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
10 months ago
Togglebit 65a5ac404b
Some suggestions and capitalised a few words (#771) 10 months ago
Fredrik Averpil 8e24ca32e3
feat: add linter plugin (#699) 10 months ago
Shane Crowley b81115d002
assign table to filetype in lua_ls config comment (#770) 10 months 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
10 months 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)
10 months ago
TJ DeVries 5ac4b58f85 doc: add note about advanced luasnip features 10 months ago
Vladislav Grechannik 2f494e59ca
Move friendly snippets to dependencies of LuaSnip (#759)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
10 months ago
Rafael Zasas 452e3a73cf
Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750) 10 months ago
TLW 7715b7c2ee
doc: add info about timeoutlen (#691)
Add separate comment for `timeoutlen` option
`timeoutlen` option was under unrelated comment with `updatetime` option.
10 months ago
Chris Patti b529bc3359
Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)" (#755)
This reverts commit d8a1dbc4b4.
10 months 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
10 months 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.
10 months ago
Chiller Dragon cb1f16b8ca
chore: rename <C-T> to <C-t> for consistency (#719) 10 months ago
Ryan Baumgardner c0d6f98924
feat: allow treesitter defaults to be overwritten from custom directory (#732) 10 months ago
name.tar.xz 3cfccc01be
use init for colorscheme (#715) 10 months ago
Damjan 9000 66e2a5a425
Make the Nerd Font an optional requirement (#716) 10 months ago
Ryan Winchester f764b7bacd
Add more detail to colorscheme comment (#713) 10 months ago
Damjan 9000 c3127f1226
Change statusline location to LINE:COLUMN (#689) 10 months ago
Taulant Aliraj b99af2d6a3
feat: use VimEnter event instead of VeryLazy (#673) 10 months ago
Nhan Luu 94a93643ab
chore: fix typos (#666) 10 months ago
Anton Kastritskii 38828dcaf7
feat: enable lua lsp snipppets (#660) 10 months ago
TJ DeVries b58666dd15 fixup: updated some style stuff 10 months 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'
11 months ago
brxxlstxrs 18b919c61e
add plugin specs docstring, remove lazy.nvim configuration (empty) table (#652) 11 months ago
TJ DeVries af4fd2355f fixup: change comment to reflect auto_install 11 months ago
TJ DeVries 1c89b024c8 fixup: add autocommand link for help and description 11 months 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
-------------------------------------------------------------------------------
```
11 months ago
rgarber11 7af594fd31
Add Build Step to LuaSnip (#611) 11 months 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
11 months ago
Nazar b115814916
Add Onedark Style (#590)
* Add style options to Onedark setup (init.lua)

* stylua init.lua

* Load onedark through `require`

* Improve commenting
12 months ago