Age | Commit message (Collapse) | Author |
|
|
|
|
|
* which-key v3 update
* remove unneeded brackets from which-key registration
|
|
|
|
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.
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
* Move autopairs example from README to an optional plugin
* Move neo-tree example from README to an optional plugin
|
|
|
|
|
|
|
|
|
|
This works also for visual range selection
Copied from conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
|
|
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
|
|
|
|
|
|
|
|
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
|
|
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)
|
|
|
|
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
Add separate comment for `timeoutlen` option
`timeoutlen` option was under unrelated comment with `updatetime` option.
|
|
(#755)
This reverts commit d8a1dbc4b40fc018f254be3f060061d90ad35185.
|
|
* Use cmp-nvim-lua as nvim-cmp source for neovim Lua API
* Move the dependency to a more suitable place
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default mini.statusline location format is:
'cursor line | total lines │ cursor column | total columns'
|
|
|
|
|
|
|
|
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
-------------------------------------------------------------------------------
```
|
|
|
|
* feat: added contexts for code action - source fix-all errors
* fix: resolve stylua checks
* fix: resolve stylua checks
|
|
* Add style options to Onedark setup (init.lua)
* stylua init.lua
* Load onedark through `require`
* Improve commenting
|
|
|
|
|