1
0
Fork 0

fix: Corrected function declaration syntax errors in lazy spec files.

This commit is contained in:
Tristan Russell 2026-05-08 05:10:46 -04:00
parent e23246622c
commit fc4e037743
Signed by: tristanr
GPG Key ID: 4495C92911DF04CA
8 changed files with 16 additions and 16 deletions

View File

@ -1,7 +1,7 @@
return {
-- Code completion
'hrsh7th/nvim-cmp',
config = function() {
config = function()
local cmp = require("cmp")
cmp.setup({
@ -74,5 +74,5 @@ return {
--require('lspconfig')['<YOUR_LSP_SERVER>'].setup {
-- capabilities = capabilities
--}
}
end
}

View File

@ -1,7 +1,7 @@
return {
-- Git utility
'tpope/vim-fugitive',
config = function() {
config = function()
vim.keymap.set("n", "<leader>gs", vim.cmd.Git, { desc = "Show git summary" } )
}
end
}

View File

@ -1,7 +1,7 @@
return {
-- File navigation utility
'ThePrimeagen/harpoon',
config = function() {
config = function()
local mark = require("harpoon.mark")
local ui = require("harpoon.ui")
@ -12,5 +12,5 @@ return {
vim.keymap.set("n", "<C-j>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-k>", function() ui.nav_file(3) end)
vim.keymap.set("n", "<C-l>", function() ui.nav_file(4) end)
}
end
}

View File

@ -1,7 +1,7 @@
return {
-- Packager Manager (LSPs)
'williamboman/mason.nvim',
config = function() {
config = function()
require("mason").setup()
vim.lsp.enable("lua_ls")
@ -46,5 +46,5 @@ return {
vim.lsp.enable("tailwindcss")
vim.lsp.enable("jdtls")
}
end
}

View File

@ -1,7 +1,7 @@
return {
-- Formatter, Linter, etc bridge??
'nvimtools/none-ls.nvim',
config = function() {
config = function()
local null_ls = require("null-ls")
null_ls.setup({
@ -11,5 +11,5 @@ return {
--require("none-ls.diagnostics.eslint"), -- requires none-ls-extras.nvim
},
})
}
end
}

View File

@ -6,7 +6,7 @@ return {
-- optional but recommended
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
},
config = function() {
config = function()
require("telescope").setup({
defaults = {
file_ignore_patterns = {
@ -26,5 +26,5 @@ return {
vim.keymap.set('n', '<leader>pf', builtin.find_files, { desc = 'Telescope find files' })
vim.keymap.set('n', '<C-p>', builtin.git_files, { desc = 'Telescope find files (git)' })
vim.keymap.set('n', '<leader>ps', builtin.live_grep, { desc = 'Telescope live grep' })
}
end
}

View File

@ -1,11 +1,11 @@
return {
-- Color Scheme
'folke/tokyonight.nvim',
config = function() {
config = function()
color = color or "tokyonight"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
}
end
}

View File

@ -1,7 +1,7 @@
return {
-- Undo.. tree
'mbbill/undotree',
config = function() {
config = function()
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle, { desc = "Toggle undo tree" })
}
end
}