fix: ensure single quotes are used consistently across configuration files

This commit is contained in:
2024-11-12 14:19:44 -05:00
parent 0d6750bbcd
commit 3f096313fc
51 changed files with 3097 additions and 3057 deletions
+59 -59
View File
@@ -7,157 +7,157 @@
local M = {}
M.avante = {
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
}
M.chatgpt = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"folke/trouble.nvim",
"nvim-telescope/telescope.nvim",
'MunifTanjim/nui.nvim',
'nvim-lua/plenary.nvim',
'folke/trouble.nvim',
'nvim-telescope/telescope.nvim',
}
--- nvim-cmp dependencies
---@return table The nvim-cmp dependencies
M.cmp = {
{
"L3MON4D3/LuaSnip",
'L3MON4D3/LuaSnip',
--- Function to build the dependencies
---@return string|nil The command to build the dependencies
build = (function()
if vim.fn.has("win32") == 1 or vim.fn.executable("make") == 0 then
if vim.fn.has('win32') == 1 or vim.fn.executable('make') == 0 then
return
end
return "make install_jsregexp"
return 'make install_jsregexp'
end)(),
dependencies = {
{
"rafamadriz/friendly-snippets",
'rafamadriz/friendly-snippets',
config = function()
require("luasnip.loaders.from_vscode").lazy_load()
require('luasnip.loaders.from_vscode').lazy_load()
end,
},
},
},
{
"petertriho/cmp-git",
'petertriho/cmp-git',
opts = {},
--- Function to configure the cmp-git dependency
---@return table|nil The cmp-git config
config = function()
local cmp = require("cmp")
cmp.setup.filetype("gitcommit", {
local cmp = require('cmp')
cmp.setup.filetype('gitcommit', {
sources = cmp.config.sources({
{ name = "git", priority = 50 },
{ name = "path", priority = 40 },
{ name = 'git', priority = 50 },
{ name = 'path', priority = 40 },
}, {
{ name = "buffer", priority = 50 },
{ name = 'buffer', priority = 50 },
}),
})
end,
},
"saadparwaiz1/cmp_luasnip",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"hrsh7th/cmp-buffer",
"onsails/lspkind.nvim",
'saadparwaiz1/cmp_luasnip',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',
'hrsh7th/cmp-buffer',
'onsails/lspkind.nvim',
-- "hrsh7th/cmp-emoji",
"hrsh7th/cmp-cmdline",
"dmitmel/cmp-cmdline-history",
"teramako/cmp-cmdline-prompt.nvim",
"mtoohey31/cmp-fish",
"vim-dadbod-completion",
'hrsh7th/cmp-cmdline',
'dmitmel/cmp-cmdline-history',
'teramako/cmp-cmdline-prompt.nvim',
'mtoohey31/cmp-fish',
'vim-dadbod-completion',
{
"chrisgrieser/cmp_yanky",
'chrisgrieser/cmp_yanky',
option = {
onlyCurrentFiletype = false,
},
},
"SergioRibera/cmp-dotenv",
"hrsh7th/cmp-calc",
"davidsierradz/cmp-conventionalcommits",
'SergioRibera/cmp-dotenv',
'hrsh7th/cmp-calc',
'davidsierradz/cmp-conventionalcommits',
-- "Dynge/gitmoji.nvim",
}
--- Gx plugin dependencies
M.gx = {
"nvim-lua/plenary.nvim",
'nvim-lua/plenary.nvim',
}
--- Hardtime plugin dependencies
M.hardtime = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
'MunifTanjim/nui.nvim',
'nvim-lua/plenary.nvim',
}
--- LazyGit plugin dependencies
M.lazygit = {
"nvim-telescope/telescope.nvim",
"nvim-lua/plenary.nvim",
'nvim-telescope/telescope.nvim',
'nvim-lua/plenary.nvim',
}
--- Lualine plugin dependencies
M.lualine = {
{ "bezhermoso/todos-lualine.nvim" },
{ "folke/todo-comments.nvim" },
{ 'bezhermoso/todos-lualine.nvim' },
{ 'folke/todo-comments.nvim' },
}
--- Minuet plugin dependencies
M.minuet = {
{ "nvim-lua/plenary.nvim" },
{ 'nvim-lua/plenary.nvim' },
}
--- MusicControls plugin dependencies
M.musiccontrols = {
"rcarriga/nvim-notify",
'rcarriga/nvim-notify',
}
--- Table for plugins that need Telescope as a dependency
M.needs_telescope = {
"nvim-telescope/telescope.nvim",
'nvim-telescope/telescope.nvim',
}
--- Table for plugins that need Treesitter as a dependency
M.needs_treesitter = {
"nvim-treesitter/nvim-treesitter",
'nvim-treesitter/nvim-treesitter',
}
--- Neotest plugin adapters and dependencies
M.neotest = {
adapters = {
"neotest-plenary",
"neotest-python",
"neotest-vim-test",
"neotest-minitest",
"neotest-bash",
'neotest-plenary',
'neotest-python',
'neotest-vim-test',
'neotest-minitest',
'neotest-bash',
},
deps = {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"zidhuss/neotest-minitest",
"rcasia/neotest-bash",
"antoinemadec/FixCursorHold.nvim",
"nvim-treesitter/nvim-treesitter",
'nvim-neotest/nvim-nio',
'nvim-lua/plenary.nvim',
'zidhuss/neotest-minitest',
'rcasia/neotest-bash',
'antoinemadec/FixCursorHold.nvim',
'nvim-treesitter/nvim-treesitter',
},
}
--- Recorder plugin dependencies
M.recorder = {
"rcarriga/nvim-notify",
'rcarriga/nvim-notify',
}
--- nvim-remote plugin dependencies
M.remotenvim = {
"nvim-lua/plenary.nvim", -- For standard functions
"MunifTanjim/nui.nvim", -- To build the plugin UI
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
'nvim-lua/plenary.nvim', -- For standard functions
'MunifTanjim/nui.nvim', -- To build the plugin UI
'nvim-telescope/telescope.nvim', -- For picking b/w different remote methods
}
--- Zenbones plugin dependencies
M.zenbones = {
"rktjmp/lush.nvim",
'rktjmp/lush.nvim',
}
return M