Commit graph

86 commits

Author SHA1 Message Date
Folke Lemaitre
bb66618f1f
fix(lazydev): easier way of defining library plugin paths 2024-06-02 14:24:14 +02:00
Folke Lemaitre
5e76948d58
feat(coding): use lazydev.nvim instead of neodev.nvim 2024-06-02 09:33:52 +02:00
Folke Lemaitre
8024201e75
refactor: move 0.9 stuff to a compat layer. Cleaner this way 2024-06-01 20:46:58 +02:00
Folke Lemaitre
91493588a8
fix(nvim-snippets): no longer needed to set global_snippets 2024-05-28 17:51:10 +02:00
Folke Lemaitre
a6e6d4dabd
fix(nvim-snippets): remove extra filetypes since thats no longer needed with merged PR 2024-05-28 16:12:53 +02:00
Folke Lemaitre
025ba33dc3
fix(nvim-snippets): also enable for tsx/jsx files 2024-05-28 15:13:29 +02:00
Folke Lemaitre
99f0a1cb40
fix(nvim-snippets): load js snippets for ts. See #3344 2024-05-28 15:11:32 +02:00
Folke Lemaitre
027d6bc2e8
fix(snippets): my nvim-snippets PR is merged, so remove work-around. That was quick :) 2024-05-21 20:26:30 +02:00
Folke Lemaitre
cb1e1b9c82
fix(snippets): fixes custom snippets. use my branch till nvim-snippets PR is merged. Fixes #3240 2024-05-21 20:18:20 +02:00
Folke Lemaitre
d73397c4aa
fix(snippets): make friendly snippets a dep of nvim-snippets 2024-05-21 19:54:20 +02:00
Folke Lemaitre
2bae438570
fix(cmp): fix cmp's broken snippet parsing functionality. Fixes #3266 2024-05-21 19:51:13 +02:00
Folke Lemaitre
8ba7c64a7d
feat(comments): use ts-comments.nvim instead of nvim-ts-context-commentstring on Neovim 0.10 2024-05-21 19:31:40 +02:00
Folke Lemaitre
55b07dee21
fix(nvim-snippets): enable global friendly-snippets. See #3240 2024-05-21 19:22:41 +02:00
Folke Lemaitre
97862f4259
feat(cmp): better error handling and automatic fixing of snippets that fail to parse with native Neovim snippets 2024-05-19 22:48:01 +02:00
Folke Lemaitre
2961162eba
fix(cmp): use better cmp.confirm 2024-05-19 22:46:09 +02:00
Folke Lemaitre
24a2a9fb0b
feat(cmp): add missing documentation to snippets when needed 2024-05-19 21:47:42 +02:00
Folke Lemaitre
39f3ebcadf
feat(cmp): move cmp autobracket support to util class 2024-05-19 21:46:54 +02:00
Folke Lemaitre
57a31c3920
fix(cmp): no need to setup native snippets with latest cmp 2024-05-19 21:24:23 +02:00
Folke Lemaitre
ad22adab7d
fix(cmp): only complete on <cr> when cmp is really visible. Dont wait till it might be visible. Faster and more correct imho 2024-05-19 09:58:28 +02:00
Folke Lemaitre
673975ebbe
feat(cmp): create undo point right before confirming a completion 2024-05-18 23:28:38 +02:00
Folke Lemaitre
d8644c4715
feat(mini.ai): mini.ai is back in core with some improved features. Removing it was a mistake. 2024-05-18 21:53:26 +02:00
Folke Lemaitre
4bc9389bb5
refactor(snippets): refactored snippet code 2024-05-18 21:53:26 +02:00
Folke Lemaitre
c653c4a9a5
perf(comments): vim.schedule ts-context-commentstring integration 2024-05-18 12:09:07 +02:00
Folke Lemaitre
1d23c98da1
fix(comments): better way of using ts-context-commentstring with native comments 2024-05-18 12:05:19 +02:00
Folke Lemaitre
289c2f81c4
perf(coding): dont load vim.snippet early 2024-05-17 14:27:00 +02:00
Folke Lemaitre
4f4911ff95 feat(coding)!: move mini.ai to an extra 2024-05-16 21:25:51 +02:00
Folke Lemaitre
e37a699096 feat(mini.surround)!: move mini.surround to an extra 2024-05-16 21:25:51 +02:00
Folke Lemaitre
9839f10013 refactor: comments code 2024-05-16 21:25:51 +02:00
Folke Lemaitre
3c4ebd522e feat(coding)!: native snippets are now the default on Neovim 0.10. Install the luasnip extra to get luasnip back 2024-05-16 21:25:51 +02:00
Folke Lemaitre
d999be7401 feat(coding)!: use native comments on 0.10, with support for ts_context_commentstring 2024-05-16 21:25:51 +02:00
Folke Lemaitre
6e7ba50141
fix(cmp): never auto bracket for snippets and correct prev char check. Fixes #2949 2024-05-16 08:07:36 +02:00
Folke Lemaitre
c70a78e631
fix(cmp): dont add autobrackets if prev char is a bracket. Closes #2949 2024-05-15 16:23:42 +02:00
Folke Lemaitre
32eacde793
fix(mini.pairs): better default for ```` 2024-04-11 17:23:17 +02:00
Folke Lemaitre
bf8ce8076e
feat(cmp): added option auto_brackets that adds brackets to functions/methods in configured filetypes 2024-03-28 21:32:09 +01:00
Kevin Traver
eb9f9a8862
fix(keymaps): update all keymap descriptions to be Title Case (#2844) 2024-03-27 08:56:44 +01:00
Folke Lemaitre
1910cd5cb7
refactor: use LazyVim.is_win() 2024-03-26 20:48:56 +01:00
Folke Lemaitre
7a5dbeae75
feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
Phúc H. Lê Khắc
f655139281
feat(mini.ai): add more objects d,e,g,u,U (#2769) 2024-03-19 22:31:00 +01:00
Folke Lemaitre
7f9219162b
feat(snippets): added extra to use native snippets instead of LuaSnip. 2024-01-22 08:39:07 +01:00
Folke Lemaitre
0a05888d99
fix(cmp): set default group_index to 1 to prevent issues with custom sources 2023-10-09 10:05:57 +02:00
Folke Lemaitre
d894556c37
feat(cmp): ctrl+CR will abort cmp and enter a new line 2023-10-09 09:51:55 +02:00
Folke Lemaitre
bff3a99697
feat(cmp): removed priority comparator in favor of source priorities for copilot/codeium 2023-10-09 09:12:29 +02:00
Folke Lemaitre
eddd3af351
feat(cmp): added custom comparator to prioritize AI sources like copilot and codeium 2023-10-09 00:06:58 +02:00
Folke Lemaitre
de93848f58
fix(cmp): properly set cmp group_index to fix issues with copilot and other sources (#1639) 2023-10-08 22:32:03 +02:00
Folke Lemaitre
d28c69e49e
feat(mini.surround)!: default surround mappings are now gs instead of gz (unless you enabled the leap extra) 2023-10-04 00:25:44 +02:00
Folke Lemaitre
0e66ef8393
feat(treesitter): added ]f, [f, ]F, [F, ]c, ]C, [c, [C for treesitter-textobjects 2023-10-04 00:21:47 +02:00
Folke Lemaitre
7c79cfe073
fix(mini.comment): better lua pattern for tags. Fixes #1413 2023-09-26 14:16:22 +02:00
Kevin Traver
a7f971f30e
feat(mini-pairs): add toggle mini pairs keymap and function (#1456) 2023-09-26 13:34:28 +02:00
Folke Lemaitre
0bff29c07a
fix: disable context commentstring autocmd 2023-09-26 13:24:03 +02:00
Tom MacWright
f2459bd70e
docs: Improve summary documentation of deps (#1159) 2023-07-19 13:14:07 +02:00