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
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
# DB_UI_DEV_MSSQL=mssql://sa:Your_password123@localhost:1433/dev_db

# Local folder where you keep plugin checkouts
LAZY_DEV_PATH=<path>
# LAZY_DEV_PATH=<path>

# Comma-separated list of plugin name patterns to treat as "dev"
# Example: "mavantgarderc,another-prefix"
LAZY_DEV_PATTERNS=<gh_username>
# LAZY_DEV_PATTERNS=<gh_username>

# Whether to fall back to normal (non-dev) plugins when a dev version is missing
# "false" -> only use plugins from LAZY_DEV_PATH that match patterns
# "true" -> use dev plugin if present, otherwise use normal plugin
LAZY_DEV_FALLBACK=false
# LAZY_DEV_FALLBACK=false
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.env
raphael_state.lua
connections.json
lua/Raphael/testfiles/*
1 change: 0 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

std = "lua51"
globals = {
"vim",
Expand Down
17 changes: 9 additions & 8 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
"cmp-nvim-lua": { "branch": "main", "commit": "e3a22cb071eb9d6508a156306b102c45cd2d573d" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"conform.nvim": { "branch": "master", "commit": "4993e07fac6679d0a5005aa7499e0bad2bd39f19" },
"conform.nvim": { "branch": "master", "commit": "ffe26e8df8115c9665d24231f8a49fadb2d611ce" },
"fidget.nvim": { "branch": "main", "commit": "e32b672d8fd343f9d6a76944fedb8c61d7d8111a" },
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
Expand All @@ -17,33 +17,34 @@
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
"lsp-zero.nvim": { "branch": "v3.x", "commit": "77550f2f6cbf0959ef1583d845661af075f3442b" },
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "7d527c76c43f46294de9c19d39c5a86317809b4b" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "c55bd8a8fb191e24176c206a7af1dd51ce7276a5" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
"mason.nvim": { "branch": "main", "commit": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800" },
"mini.hipatterns": { "branch": "main", "commit": "e5083df391171dc9d8172645606f8496d9443374" },
"mini.icons": { "branch": "main", "commit": "ff2e4f1d29f659cc2bad0f9256f2f6195c6b2428" },
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
"none-ls.nvim": { "branch": "main", "commit": "1917c86818b5e058f53c2ea0ad38fc57534d62fc" },
"none-ls.nvim": { "branch": "main", "commit": "5abf61927023ea83031753504adb19630ba80eef" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim": { "branch": "main", "commit": "7b64cdecab6e867d6c16d91678dc5b20677ad254" },
"nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" },
"nvim": { "branch": "main", "commit": "ed86852e01f03853326c68961ff10bcaf8ff5f9c" },
"nvim-autopairs": { "branch": "master", "commit": "d9e44e54384e5b0f3536339c65484f2e41b528e3" },
"nvim-cmp": { "branch": "main", "commit": "d97d85e01339f01b842e6ec1502f639b080cb0fc" },
"nvim-coverage": { "branch": "main", "commit": "a939e425e363319d952a6c35fb3f38b34041ded2" },
"nvim-dap": { "branch": "master", "commit": "5860c7c501eb428d3137ee22c522828d20cca0b3" },
"nvim-dap-python": { "branch": "master", "commit": "64652d1ae1db80870d9aac7132d76e37acd86a26" },
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
"nvim-lspconfig": { "branch": "master", "commit": "effe4bf2e1afb881ea67291c648b68dd3dfc927a" },
"nvim-gh-dashboard": { "branch": "main", "commit": "8ef20525d72096c98d669ea09d3333adb9af4ab8" },
"nvim-lspconfig": { "branch": "master", "commit": "a2bd1cf7b0446a7414aaf373cea5e4ca804c9c69" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"oil.nvim": { "branch": "master", "commit": "cbcb3f997f6f261c577b943ec94e4ef55108dd95" },
"omnisharp-extended-lsp.nvim": { "branch": "main", "commit": "a47388e5417e7f1cfa6962cc441a23c4c5fb2151" },
"oxocarbon.nvim": { "branch": "main", "commit": "9f85f6090322f39b11ae04a343d4eb9d12a86897" },
"playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"snap.nvim": { "branch": "main", "commit": "edd1a8308b7cdf984231d06cd5e19a61873c5f1c" },
"sqls.nvim": { "branch": "main", "commit": "bfb7b4090268f6163c408577070da4cc9d7450fd" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
Expand All @@ -55,6 +56,6 @@
"vim-dadbod-ui": { "branch": "master", "commit": "48c4f271da13d380592f4907e2d1d5558044e4e5" },
"vim-dotenv": { "branch": "master", "commit": "5c51cfcf8d87280d6414e03cd6b253eb70ecb800" },
"vim-tmux-navigator": { "branch": "master", "commit": "c45243dc1f32ac6bcf6068e5300f3b2b237e576a" },
"vimtex": { "branch": "master", "commit": "32bcb3922c20588e00de68f73c86312eda2141ad" },
"vimtex": { "branch": "master", "commit": "6e1229e23c3bbe93487ef62458b1241a2d8ff6af" },
"zellij-nav.nvim": { "branch": "main", "commit": "91cc2a642d8927ebde50ced5bf71ba470a0fc116" }
}
8 changes: 6 additions & 2 deletions lua/core/healthcheck.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ local function check_config()
local config_ok, config_err = pcall(vim.cmd, "source $MYVIMRC")
table.insert(results, {
ok = config_ok,
message = config_ok and "Configuration loads successfully OK" or ("Configuration error: " .. tostring(config_err)),
message = config_ok and "Configuration loads successfully OK"
or ("Configuration error: " .. tostring(config_err)),
})

local config_files = {
Expand Down Expand Up @@ -425,7 +426,10 @@ local function setup_commands()
end

if has_critical_issues then
vim.notify("WARNING: Critical configuration issues detected! Run :HealthCheck for details", vim.log.levels.WARN)
vim.notify(
"WARNING: Critical configuration issues detected! Run :HealthCheck for details",
vim.log.levels.WARN
)
end
end, 1000)
end, { desc = "Run automatic health check on startup" })
Expand Down
5 changes: 4 additions & 1 deletion lua/core/keymaps/dadbod.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ function M.setup(map, with_db)
if vim.fn.executable("sqlformat") == 1 then
vim.cmd("%!sqlformat --reindent --keywords upper --identifiers lower -")
else
vim.notify("sqlfluff failed and sqlformat not found. Install sqlfluff/sqlformat.", vim.log.levels.WARN)
vim.notify(
"sqlfluff failed and sqlformat not found. Install sqlfluff/sqlformat.",
vim.log.levels.WARN
)
end
end
elseif vim.fn.executable("sqlformat") == 1 then
Expand Down
42 changes: 27 additions & 15 deletions lua/core/keymaps/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -243,22 +243,34 @@ function M.setup_lsp_keymaps()
diagnostics = vim.diagnostic.get(event.buf, { lnum = vim.fn.line(".") - 1 }),
}

vim.lsp.buf_request(event.buf, "textDocument/codeAction", params, function(err, result, _ctx, _config)
if err then
vim.notify("Error getting code actions: " .. err.message, vim.log.levels.ERROR)
return
vim.lsp.buf_request(
event.buf,
"textDocument/codeAction",
params,
function(err, result, _ctx, _config)
if err then
vim.notify("Error getting code actions: " .. err.message, vim.log.levels.ERROR)
return
end

if not result or #result == 0 then
vim.notify("No code actions available", vim.log.levels.INFO)
return
end

print("Available code actions:")
for i, action in ipairs(result) do
print(
string.format(
"%d: %s (kind: %s)",
i,
action.title or "No title",
action.kind or "No kind"
)
)
end
end

if not result or #result == 0 then
vim.notify("No code actions available", vim.log.levels.INFO)
return
end

print("Available code actions:")
for i, action in ipairs(result) do
print(string.format("%d: %s (kind: %s)", i, action.title or "No title", action.kind or "No kind"))
end
end)
)
end, vim.tbl_extend("force", opts, { desc = "Debug code actions" }))

-- Test running keymaps (if netcoredbg is available)
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/conform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ return {
formatters_by_ft = {
lua = { "stylua" },
python = { "black", "isort" },
csharp = { "csharpier", },
csharp = { "csharpier" },
javascript = { "prettier" },
typescript = { "prettier" },
javascriptreact = { "prettier" },
Expand Down
3 changes: 2 additions & 1 deletion lua/plugins/flash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ return {
end)

if mode_ok and operator_ok then
mode_opts.autohide = mode_opts.autohide == nil and (mode_result:find("no") and operator_result == "y")
mode_opts.autohide = mode_opts.autohide == nil
and (mode_result:find("no") and operator_result == "y")
end
mode_opts.jump_labels = mode_opts.jump_labels == nil and false
end,
Expand Down
24 changes: 5 additions & 19 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,8 @@ return {
"MunifTanjim/nui.nvim",
"nvim-treesitter/nvim-treesitter",
"nvim-treesitter/playground",
-- telescope
{
"nvim-telescope/telescope.nvim",
event = "VimEnter",
dependencies = {
"nvim-lua/plenary.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
cond = function()
return vim.fn.executable("make") == 1
end,
},
{ "nvim-telescope/telescope-ui-select.nvim" },

-- Useful for getting pretty icons, but requires a Nerd Font.
{ "nvim-tree/nvim-web-devicons", enabled = vim.g.have_nerd_font },
},
},
-- Telescope
"nvim-telescope/telescope.nvim",
-- undotree
"mbbill/undotree",
-- terminal multiplexer navigations
Expand All @@ -113,4 +96,7 @@ return {
-- ==================================================
-- Flash
"folke/flash.nvim",
-- ==================================================
-- Screenshot
"mistweaverco/snap.nvim",
}
2 changes: 1 addition & 1 deletion lua/plugins/prismpunk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {

config = function()
require("prismpunk").setup({
theme = "kanagawa/paper-edo",
-- theme = "kanagawa/paper-edo",

styles = {
comments = { italic = true },
Expand Down
Loading
Loading