aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/cmp.lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-03-18 18:50:47 +0100
committerDamjan 9000 <damjan.9000@gmail.com>2024-03-18 18:50:47 +0100
commitd20d58c3e8e3103aed891f4477dbb24f5839c3f8 (patch)
treec5887bf5734bb65a2da35e860465c75becb07ff5 /lua/kickstart/plugins/cmp.lua
parentb59b1d2a3dc55c766388457c8c4f0c2d2975aa90 (diff)
parent65a5ac404b56c4718d79f65ac642e19e89346eda (diff)
Merge 'upstream' Some suggestions and capitalised a few words
Diffstat (limited to 'lua/kickstart/plugins/cmp.lua')
-rw-r--r--lua/kickstart/plugins/cmp.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/kickstart/plugins/cmp.lua b/lua/kickstart/plugins/cmp.lua
index 7ed2ba8..6d893aa 100644
--- a/lua/kickstart/plugins/cmp.lua
+++ b/lua/kickstart/plugins/cmp.lua
@@ -7,9 +7,9 @@ return {
{
'L3MON4D3/LuaSnip',
build = (function()
- -- Build Step is needed for regex support in snippets
- -- This step is not supported in many windows environments
- -- Remove the below condition to re-enable on windows
+ -- Build Step is needed for regex support in snippets.
+ -- This step is not supported in many windows environments.
+ -- Remove the below condition to re-enable on windows.
if vim.fn.has 'win32' == 1 or vim.fn.executable 'make' == 0 then
return
end
@@ -59,7 +59,7 @@ return {
-- Select the [p]revious item
['<C-p>'] = cmp.mapping.select_prev_item(),
- -- scroll the documentation window [b]ack / [f]orward
+ -- Scroll the documentation window [b]ack / [f]orward
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
@@ -92,7 +92,7 @@ return {
end
end, { 'i', 's' }),
- -- For more advanced luasnip keymaps (e.g. selecting choice nodes, expansion) see:
+ -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
},
sources = {