Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ require("util")

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end

vim.opt.rtp:prepend(lazypath)

local plugins = {
{ import = "plugins" },
{ import = "plugins" },
}

local opts = { defaults = { lazy = true }, change_detection = { notify = false } }
Expand Down
6 changes: 3 additions & 3 deletions .config/nvim/lua/plugins/autopairs.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return {
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
}
18 changes: 9 additions & 9 deletions .config/nvim/lua/plugins/autosession.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
return {
"rmagatti/auto-session",
lazy = false,
dependencies = {
"nvim-telescope/telescope.nvim",
},
opts = {},
keys = {
{ "<C-x>", "<cmd>SessionDelete<cr>", desc = "Delete session" },
},
"rmagatti/auto-session",
lazy = false,
dependencies = {
"nvim-telescope/telescope.nvim",
},
opts = {},
keys = {
{ "<C-x>", "<cmd>SessionDelete<cr>", desc = "Delete session" },
},
}
38 changes: 19 additions & 19 deletions .config/nvim/lua/plugins/boole.lua
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
return {
"nat-418/boole.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
require("boole").setup({
mappings = {
increment = "<C-a>",
decrement = "<C-x>",
},
additions = {
{ "Foo", "Bar", "Baz", "Qux", "Quux" },
{ "light", "dark" },
{ "if", "unless" },
{ "true", "false" },
{ "&&", "||" },
{ "private", "public", "protected" },
{ "const", "let" },
},
})
end,
"nat-418/boole.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
require("boole").setup({
mappings = {
increment = "<C-a>",
decrement = "<C-x>",
},
additions = {
{ "Foo", "Bar", "Baz", "Qux", "Quux" },
{ "light", "dark" },
{ "if", "unless" },
{ "true", "false" },
{ "&&", "||" },
{ "private", "public", "protected" },
{ "const", "let" },
},
})
end,
}
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/bufexplorer.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
return {
"jlanzarotta/bufexplorer",
lazy = false,
"jlanzarotta/bufexplorer",
lazy = false,
}
2 changes: 1 addition & 1 deletion .config/nvim/lua/plugins/cellular_automaton.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
return {
"Eandrju/cellular-automaton.nvim",
lazy = false
lazy = false,
}
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/colorscheme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ return {
priority = 1000,
},
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = {
transparent_mode = true,
} }
transparent_mode = true,
} },
}
10 changes: 5 additions & 5 deletions .config/nvim/lua/plugins/comment.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
"numToStr/Comment.nvim",
opts = {},
keys = {
{ "gcc", "<cmd>CommentToggle<cr>", desc = "Comment" },
},
"numToStr/Comment.nvim",
opts = {},
keys = {
{ "gcc", "<cmd>CommentToggle<cr>", desc = "Comment" },
},
}
38 changes: 0 additions & 38 deletions .config/nvim/lua/plugins/conform.lua

This file was deleted.

10 changes: 5 additions & 5 deletions .config/nvim/lua/plugins/copilot.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
-- "github/copilot.vim",
-- event = "BufRead",
-- commands = {
-- "Copilot"
-- }
-- "github/copilot.vim",
-- event = "BufRead",
-- commands = {
-- "Copilot"
-- }
}
14 changes: 7 additions & 7 deletions .config/nvim/lua/plugins/diffview.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
return {
"sindrets/diffview.nvim",
cmd = {
"DiffviewOpen",
},
keys = {
{ "<leader>do", "<cmd>DiffviewOpen<cr>", desc = "Open diffview" },
},
"sindrets/diffview.nvim",
cmd = {
"DiffviewOpen",
},
keys = {
{ "<leader>do", "<cmd>DiffviewOpen<cr>", desc = "Open diffview" },
},
}
62 changes: 35 additions & 27 deletions .config/nvim/lua/plugins/endpoint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,65 +8,73 @@ return {
require("endpoint").setup({
-- Framework configuration
framework = "auto", -- "auto", "spring", "nestjs", "django", "rails", "express"

-- Optional: Path-based framework overrides
framework_paths = {
["/path/to/spring/project"] = "spring",
["/path/to/nestjs/project"] = "nestjs",
},

-- Cache configuration
cache_mode = "persistent", -- Cache mode: "session" or "persistent"
debug = false, -- Enable debug logging

ui = {
show_icons = true, -- Show method icons
show_method = true, -- Show method text (GET, POST, etc.)
show_icons = true, -- Show method icons
show_method = true, -- Show method text (GET, POST, etc.)
use_nerd_font = false, -- Use nerd font glyphs instead of emojis

-- Customize icons (requires show_icons = true)
method_icons = {
emoji = {
GET = "📥",
POST = "📤",
PUT = "✏️",
GET = "📥",
POST = "📤",
PUT = "✏️",
DELETE = "🗑️",
PATCH = "🔧",
PATCH = "🔧",
},
nerd_font = {
GET = "", -- download icon
POST = "", -- upload icon
PUT = "", -- edit icon
GET = "", -- download icon
POST = "", -- upload icon
PUT = "", -- edit icon
DELETE = "", -- trash icon
PATCH = "", -- wrench icon
PATCH = "", -- wrench icon
},
},

-- Customize colors
method_colors = {
GET = "DiagnosticOk", -- Green
POST = "DiagnosticInfo", -- Blue
PUT = "DiagnosticWarn", -- Yellow
DELETE = "DiagnosticError", -- Red
PATCH = "DiagnosticHint", -- Purple
GET = "DiagnosticOk", -- Green
POST = "DiagnosticInfo", -- Blue
PUT = "DiagnosticWarn", -- Yellow
DELETE = "DiagnosticError", -- Red
PATCH = "DiagnosticHint", -- Purple
},

-- Cache status UI customization
cache_status_icons = {
emoji = {
title = "🚀", success = "✅", error = "❌",
tree = "🌳", directory = "📁", file = "📄"
title = "🚀",
success = "✅",
error = "❌",
tree = "🌳",
directory = "📁",
file = "📄",
},
nerd_font = {
title = "", success = "", error = "",
tree = "", directory = "", file = ""
title = "",
success = "",
error = "",
tree = "",
directory = "",
file = "",
},
},

-- Cache status syntax highlighting
cache_status_highlight = {
title = "Special",
success = "DiagnosticOk",
success = "DiagnosticOk",
error = "DiagnosticError",
key = "Keyword",
tree_method = "Function",
Expand Down
24 changes: 12 additions & 12 deletions .config/nvim/lua/plugins/flash.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
return {
"folke/flash.nvim",
event = "VeryLazy",
keys = {
{
"s",
mode = { "n", "x", "o" },
function()
require("flash").jump()
end,
desc = "Flash",
},
},
"folke/flash.nvim",
event = "VeryLazy",
keys = {
{
"s",
mode = { "n", "x", "o" },
function()
require("flash").jump()
end,
desc = "Flash",
},
},
}
62 changes: 31 additions & 31 deletions .config/nvim/lua/plugins/gitlinker.lua
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
return {
"ruifm/gitlinker.nvim",
lazy = false,
config = function()
require("gitlinker").setup({
opts = {
remote = nil, -- force the use of a specific remote
-- adds current line nr in the url for normal mode
add_current_line_on_normal_mode = true,
-- callback for what to do with the url
action_callback = require("gitlinker.actions").copy_to_clipboard,
-- print the url after performing the action
print_url = true,
},
callbacks = {
["github.com"] = require("gitlinker.hosts").get_github_type_url,
["gitlab.com"] = require("gitlinker.hosts").get_gitlab_type_url,
["gitlab.nine.ch"] = require("gitlinker.hosts").get_gitlab_type_url,
["try.gitea.io"] = require("gitlinker.hosts").get_gitea_type_url,
["codeberg.org"] = require("gitlinker.hosts").get_gitea_type_url,
["bitbucket.org"] = require("gitlinker.hosts").get_bitbucket_type_url,
["try.gogs.io"] = require("gitlinker.hosts").get_gogs_type_url,
["git.sr.ht"] = require("gitlinker.hosts").get_srht_type_url,
["git.launchpad.net"] = require("gitlinker.hosts").get_launchpad_type_url,
["repo.or.cz"] = require("gitlinker.hosts").get_repoorcz_type_url,
["git.kernel.org"] = require("gitlinker.hosts").get_cgit_type_url,
["git.savannah.gnu.org"] = require("gitlinker.hosts").get_cgit_type_url,
},
-- default mapping to call url generation with action_callback
mappings = "<leader>oy",
})
end,
"ruifm/gitlinker.nvim",
lazy = false,
config = function()
require("gitlinker").setup({
opts = {
remote = nil, -- force the use of a specific remote
-- adds current line nr in the url for normal mode
add_current_line_on_normal_mode = true,
-- callback for what to do with the url
action_callback = require("gitlinker.actions").copy_to_clipboard,
-- print the url after performing the action
print_url = true,
},
callbacks = {
["github.com"] = require("gitlinker.hosts").get_github_type_url,
["gitlab.com"] = require("gitlinker.hosts").get_gitlab_type_url,
["gitlab.nine.ch"] = require("gitlinker.hosts").get_gitlab_type_url,
["try.gitea.io"] = require("gitlinker.hosts").get_gitea_type_url,
["codeberg.org"] = require("gitlinker.hosts").get_gitea_type_url,
["bitbucket.org"] = require("gitlinker.hosts").get_bitbucket_type_url,
["try.gogs.io"] = require("gitlinker.hosts").get_gogs_type_url,
["git.sr.ht"] = require("gitlinker.hosts").get_srht_type_url,
["git.launchpad.net"] = require("gitlinker.hosts").get_launchpad_type_url,
["repo.or.cz"] = require("gitlinker.hosts").get_repoorcz_type_url,
["git.kernel.org"] = require("gitlinker.hosts").get_cgit_type_url,
["git.savannah.gnu.org"] = require("gitlinker.hosts").get_cgit_type_url,
},
-- default mapping to call url generation with action_callback
mappings = "<leader>oy",
})
end,
}
Loading
Loading