Francis Belanger
76c25b08cc
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>
2024-04-22 11:43:10 -04:00
Vladislav Grechannik
c3b0103a3e
Fix deprecation notice of inlay hints ( #873 )
2024-04-22 07:27:13 -04:00
Damjan 9000
563007e2f4
Add a commented out example of the classic complete keymaps. Fixes #866 ( #868 )
2024-04-20 13:14:49 -04:00
GameFuzzy
f72f7968e8
fix: restore Mason config timing for DAP startup (again) ( #865 )
2024-04-19 13:50:42 -04:00
Damjan 9000
5870387de0
Add gitsigns recommended keymaps as an optional plugin ( #858 )
2024-04-17 21:00:39 -04:00
Damjan 9000
9a288f82ee
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
2024-04-17 15:25:54 -04:00
Vladislav Grechannik
089656394e
Enable inlay hints for the supporting servers ( #843 )
2024-04-17 14:04:55 -04:00
Chris Patti
6d4dabe8f6
Fix : #847 - add prefer_git to treesitter config ( #856 )
2024-04-17 14:02:24 -04:00
Damjan 9000
6a1017b237
Comment about nerd font selection. Fixes #853 ( #854 )
2024-04-17 09:59:14 -04:00
Damjan 9000
4028a5224f
Don't lazy load conform plugin ( #818 )
2024-03-31 20:00:11 -04:00
Damjan 9000
a8617dda6b
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
2024-03-31 13:36:43 -04:00
Liu Qisheng
18670e4ebe
fix #799 ( #800 )
...
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
2024-03-27 10:16:48 -04:00
Togglebit
8895c696ea
Some suggestions and capitalised a few words ( #771 )
2024-03-18 13:35:53 -04:00
Fredrik Averpil
e58ca75bf4
feat: add linter plugin ( #699 )
2024-03-18 10:00:48 -04:00
Shane Crowley
3cc014b5fc
assign table to filetype in lua_ls config comment ( #770 )
2024-03-18 09:57:48 -04:00
Damjan 9000
40999d32be
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
2024-03-15 16:53:33 -04:00
TJ DeVries
15098f9b4c
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)
2024-03-15 11:35:07 -04:00
TJ DeVries
c314857f2c
doc: add note about advanced luasnip features
2024-03-15 11:18:43 -04:00
Vladislav Grechannik
366f401a7f
Move friendly snippets to dependencies of LuaSnip ( #759 )
...
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2024-03-15 10:35:42 -04:00
Rafael Zasas
ed32b88ff3
Add <C-b>/<C-f> cmp mapping to scroll cmp docs ( #750 )
2024-03-15 10:12:41 -04:00
TLW
8d73f7d20a
doc: add info about timeoutlen ( #691 )
...
Add separate comment for `timeoutlen` option
`timeoutlen` option was under unrelated comment with `updatetime` option.
2024-03-15 09:54:49 -04:00
Chris Patti
205c04b2b5
Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API ( #696 )" ( #755 )
...
This reverts commit a9fa4c6cc8
.
2024-03-12 18:09:47 -04:00
James Karefylakis
a9fa4c6cc8
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
2024-03-12 17:12:35 -04:00
Damjan 9000
4733fbe5a7
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.
2024-03-12 17:06:12 -04:00
Chiller Dragon
1b79a29bc2
chore: rename <C-T> to <C-t> for consistency ( #719 )
2024-03-11 19:20:39 -04:00
Ryan Baumgardner
ba48d61b73
feat: allow treesitter defaults to be overwritten from custom directory ( #732 )
2024-03-11 19:18:45 -04:00
name.tar.xz
92826b9b32
use init for colorscheme ( #715 )
2024-03-09 15:25:08 -05:00
Damjan 9000
a9f2db5873
Make the Nerd Font an optional requirement ( #716 )
2024-03-06 11:49:44 -05:00
Ryan Winchester
55d3128edd
Add more detail to colorscheme comment ( #713 )
2024-03-05 20:19:06 -05:00
Damjan 9000
dbd48e258a
Change statusline location to LINE:COLUMN ( #689 )
2024-03-04 08:16:50 -05:00
Taulant Aliraj
77156e78ba
feat: use VimEnter event instead of VeryLazy ( #673 )
2024-03-02 21:07:58 -05:00
Nhan Luu
bcbdae55b0
chore: fix typos ( #666 )
2024-03-01 16:07:34 -05:00
Anton Kastritskii
d262316a77
feat: enable lua lsp snipppets ( #660 )
2024-02-29 13:14:36 -05:00
TJ DeVries
786b8be5be
fixup: updated some style stuff
2024-02-29 12:08:01 -05:00
Damjan 9000
09b3f08c22
Change mini.statusline location format to LINE:COLUMN ( #659 )
...
Default mini.statusline location format is:
'cursor line | total lines │ cursor column | total columns'
2024-02-28 13:23:13 -05:00
brxxlstxrs
4c1b92625b
add plugin specs docstring, remove lazy.nvim configuration (empty) table ( #652 )
2024-02-27 13:08:37 -05:00
TJ DeVries
5ef35bb0ed
fixup: change comment to reflect auto_install
2024-02-26 10:46:31 -05:00
TJ DeVries
b3ad2e23ba
fixup: add autocommand link for help and description
2024-02-26 10:45:32 -05:00
TJ DeVries
28fa1810e6
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
-------------------------------------------------------------------------------
```
2024-02-26 10:03:53 -05:00
rgarber11
8f8acb5bd6
Add Build Step to LuaSnip ( #611 )
2024-02-05 13:49:19 -05:00
Micah Effiong
eb0a425bed
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
2024-02-02 15:24:46 -05:00
Nazar
2868d5e65c
Add Onedark Style ( #590 )
...
* Add style options to Onedark setup (init.lua)
* stylua init.lua
* Load onedark through `require`
* Improve commenting
2024-01-29 13:52:50 -05:00
Victor Bertin
5b2ff0fb9c
Set status line theme to the global colorscheme ( #600 )
2024-01-29 07:48:14 -05:00
Sreejith I V
888f993e86
Removed duplicate line ( #583 )
2024-01-10 09:36:33 -05:00
Mohamad Alamin Yassin
0550903c11
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.
2024-01-08 12:17:01 -05:00
John Pekcan
8f023f77e5
fix: restore mason config timing for dap startup ( #555 )
...
Co-authored-by: John Pekcan <john.pekcan@epicgames.com>
2023-12-23 23:59:59 -05:00
Ari Pollak
872d4b1a87
Switch cmp up mapping from C-d to C-b to match regular vim up key ( #549 )
2023-12-21 15:35:28 -05:00
Shashwat Agrawal
29d1021441
feat(cmp): path completion feature ( #536 )
2023-12-08 08:14:06 -05:00
Damjan 9000
184ddbc8c4
Adds two essential telescope keymaps ( #528 )
...
* Added keymap for select Telescope picker
* Added keymap for search in all open files
2023-12-04 10:45:01 -05:00
Damjan 9000
4dfb4237f5
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
2023-12-04 10:35:54 -05:00
Damjan 9000
54d44575d1
Run stylua ( #525 )
2023-12-03 14:23:39 -05:00
Tommy Williams
1d1b53cbf0
option to reduce noisy Lua_LS's missing-fields warnings ( #511 )
2023-11-24 11:55:19 -05:00
j-hui
2ff3d497df
init.lua: remove 'legacy' tag from fidget.nvim
2023-11-13 15:46:34 -05:00
Shashwat Agrawal
c4d1262a17
fix(auto-completion): ensure first menu item is selected by default
2023-11-11 20:31:05 +05:30
Damjan 9000
a819985529
init.lua: minor edits of section comments for consistency
2023-11-07 11:27:14 +01:00
Damjan 9000
16c4c4b73f
init.lua: move diagnostic keymaps together with other keymaps
2023-11-07 11:18:15 +01:00
Sebastian Lara Menares
e901c84fb6
Live Grep from Git root falls back to cwd on special buffers
2023-11-06 22:29:05 -03:00
Sebastian Lara Menares
51407a956c
change keymap to not disrupt existing users of Search by Grep
2023-11-06 15:29:09 -03:00
Sebastian Lara Menares
3824f1462c
add Telescope live_grep on Git root
2023-11-06 11:10:16 -03:00
Theo P
8edfc11edf
feat(lsp): use Telescope builtin functions for LSP definition and type
...
definition
2023-10-13 16:22:02 +09:00
Alvaro-Kothe
b075c37e93
Fix help for indent-blankline plugin
...
Since version 3 `:help indent_blankline` no longer works. Replace it
with `:help ibl`.
2023-10-10 20:02:44 -03:00
Ashraf Michail
1dce55107d
Fix bash errors
2023-10-08 00:25:27 +00:00
Anthony Fiddes
95b0b6cf32
Move mason setup up further
...
This helps if a user needs to find a mason executable
2023-10-07 16:14:26 -07:00
Anthony Fiddes
7ae344ac62
Fix Mason setup issue and run stylua.
2023-10-06 16:25:57 -07:00
Ashraf Michail
21276e9210
Defer Treesitter setup to improve startup time of nvim {filename}
2023-09-30 00:35:22 +00:00
Chris Patti
d1ee2f720e
Merge pull request #438 from tcld/which_key_documentation
...
Which key documentation and 2-3 changed keybindings
2023-09-29 15:29:20 -04:00
Lukas Reineke
ce733acf00
fix: fix indent-blankline config
2023-09-28 23:11:05 +09:00
Emmanuel Chucks
006aabe333
fix(init.lua): indent blankline v3 setup
2023-09-28 05:57:53 +00:00
tcld
50dd4eea0d
Add documentation for custom which-key groups
2023-09-24 10:24:33 +02:00
Christopher Gillis
b9937c915f
Remove extra "r" Search Resume description
2023-09-23 12:10:51 -04:00
Chris Patti
f218865e81
Merge pull request #404 from e-aakash/lsp-goto-implementation
...
Use telescope for goto implementation
2023-09-07 02:29:31 -04:00
Chris Patti
4ff0ca6ce7
Merge pull request #406 from gangelop/git-keymaps
...
Revert gitsigns keymaps but fix vimdiff and fugitive conflict
2023-09-06 16:58:20 -04:00
Dilshod Temirkhodjaev
8aea243ee3
Add telescope search resume key binding
2023-09-04 17:36:28 +05:00
George Angelopoulos
7c7a5a739a
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.
2023-08-27 06:48:22 +03:00
George Angelopoulos
eb134632ea
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 (ba1654b
) 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.
2023-08-22 07:17:15 +03:00
Chris Patti
50026915ec
Update init.lua
...
Fix typo in original.
Co-authored-by: Luis G Estrades <luisgarciaestrades@gmail.com>
2023-08-21 17:19:13 -04:00
E. Aakash
c8a54e0477
Use telescope for goto implementation
2023-08-20 14:43:34 +05:30
Smig
6f2bf867b7
Update init.lua
...
added a URL to the lua-guide
may help others who miss the :help lua-guide
2023-08-10 15:00:15 -04:00
daan
a5a263d336
fix: missing comma
2023-08-06 16:27:05 +01:00
Peter Benjamin
ae33f2a2ee
fix: fix brackets
2023-08-05 17:31:01 -07:00
Peter Benjamin
d4fc04b706
fix(init): turn telescope-fzf-native into a dependecy
2023-08-05 17:28:18 -07:00
Ikko Eltociear Ashimine
8ac6730574
Fix typo in init.lua
...
releated -> related
2023-07-31 02:46:27 +09:00
Merel Jossart
cf6808c9bf
Fix bug when server not explicitely defined in configuration but installed
2023-07-25 18:30:47 +02:00
Numkil
14c2bc820d
setup more language servers i use + allow customizing filetypes
2023-07-24 21:57:36 +02:00
Andrew Stewart
c318423299
Remove timeout
2023-07-17 10:21:44 -04:00
Dheepak Krishnamurthy
b69c204fbd
Make init.lua copy-paste friendly
2023-07-01 12:40:08 -04:00
ilian
1c1ffa430b
Fix typo in ignorecase comment
...
In order to perform a case-sensitive search with ignorecase, the pattern
should contain `\C` instead of `/C`.
2023-06-18 16:25:55 +02:00
Gavin
f8c20d648b
Add legacy tag to fidget to avoid deprecation warning
2023-06-14 17:21:26 -04:00
Chris Patti
2037d74173
Merge pull request #337 from nvim-lua/enable_python_indent
2023-06-07 21:46:49 -04:00
Chris Patti
227e6c89e9
Fixes #336 - Enabale treesitter indent for Python
...
Tested in my local configuratoin. Indenting works great.
2023-06-07 20:41:30 -04:00
Chris Patti
6600e0f93c
Revert "Refactor theme and status line into their own file"
...
This reverts commit 0f71a735a5
.
2023-06-04 16:10:59 +00:00
Chris Patti
0f71a735a5
Refactor theme and status line into their own file
2023-06-03 10:11:58 -04:00
Luiz Antonio Calliari Filho
ba1654b72f
FIX: Conflict with vimdiff keybinding
2023-05-25 22:09:34 -03:00
Chris Patti
a52449b543
Merge pull request #319 from mech-a/readme
...
Remove "after/" reference in README and other clean-up items
2023-05-22 16:25:22 -04:00
Gaurav Bhatnagar
383d90f67c
refact: remove after/ reference in readme, other clean-up items
2023-05-22 11:30:25 -07:00
Gaurav Bhatnagar
8b312d9495
refact: add cmp comments, other
2023-05-21 23:46:09 -07:00
Gaurav Bhatnagar
a0b1f96c2c
refact: stylua
2023-05-16 12:38:56 -07:00
Chris Patti
743282a57a
Merge pull request #296 from SamPosh/patch-3
2023-05-16 15:26:14 -04:00
Chris Patti
43fc55bd0e
Merge pull request #203 from luizcalliari/master
...
Features to move to diffs and show the preview values.
2023-05-15 12:25:01 -04:00
Chris Patti
c6cfdea665
Merge pull request #302 from mech-a/mech-a-patch-1
...
change luasnip tab jumping to locally jumpable
2023-05-15 12:12:55 -04:00