dotfiles/.config/nvim/lua/my/plugins/coding.lua

42 lines
1.2 KiB
Lua
Raw Normal View History

2024-08-20 18:24:33 +02:00
return {
{ 'https://github.com/windwp/nvim-autopairs',
event = 'InsertEnter',
opts = {},
},
{ 'https://github.com/L3MON4D3/LuaSnip',
version = '*',
opts = {
paths = vim.fn.stdpath('config') .. '/snippets',
},
},
{ 'https://github.com/GnikDroy/projections.nvim',
branch = 'pre_release',
opts = {
workspaces = { '~/src', '~/documents' },
patterns = require('my.functions').project_root_markers,
},
},
{ 'https://github.com/AckslD/nvim-FeMaco.lua' },
-- this has to be at the bottom or the keybindings won't work
-- no, i don't know why and i don't care anymore
2024-08-20 18:24:33 +02:00
{ 'https://github.com/numToStr/Comment.nvim',
dependencies = { 'nvim-ts-context-commentstring' },
version = '*',
opts = {
toggler = {
line = '<leader>cc',
block = '<leader>CC'
},
opleader = {
line = '<leader>c',
block = '<leader>C'
},
extra = {
above = '<leader>cO',
below = '<leader>co',
eol = '<leader>cA',
},
},
},
}