mirror of
https://github.com/macocianradu/setup.git
synced 2026-07-16 10:38:46 +00:00
Compare commits
3 Commits
4aed880aab
...
90bb5ef21a
| Author | SHA1 | Date | |
|---|---|---|---|
| 90bb5ef21a | |||
| 50abf4dd9e | |||
| 14abeb4a4c |
@@ -1,4 +1,9 @@
|
|||||||
require('codecompanion').setup({
|
require('codecompanion').setup({
|
||||||
|
extensions = {
|
||||||
|
history = {
|
||||||
|
enabled= true,
|
||||||
|
},
|
||||||
|
},
|
||||||
adapters = {
|
adapters = {
|
||||||
http = {
|
http = {
|
||||||
webui = function()
|
webui = function()
|
||||||
@@ -17,43 +22,15 @@ require('codecompanion').setup({
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
acp = {
|
acp = {
|
||||||
codex = function()
|
claude_code = function()
|
||||||
return require("codecompanion.adapters").extend("codex", {
|
return require("codecompanion.adapters").extend("claude_code", { })
|
||||||
defaults = {
|
|
||||||
auth_method = "chatgpt"
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
strategies = {
|
|
||||||
chat = {
|
|
||||||
adapter = "webui",
|
|
||||||
tools = {
|
|
||||||
["cmd_runner"] = { auto_submit_errors = true },
|
|
||||||
["editor"] = { auto_submit_success = false },
|
|
||||||
["files"] = { auto_submit_success = true }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
agent = {
|
|
||||||
adapter = "webui",
|
|
||||||
},
|
|
||||||
opts = {
|
|
||||||
system_prompt = [[
|
|
||||||
You are an expert coding assistant operating in agent mode.
|
|
||||||
When asked about files or code, ALWAYS use the available tools to:
|
|
||||||
- Read files with the `files` tool before answering questions about them
|
|
||||||
- Use the `editor` tool to read the current buffer
|
|
||||||
- Use `cmd_runner` to run tests or shell commands when relevant
|
|
||||||
Never ask the user to paste file contents — fetch them yourself using tools.
|
|
||||||
]],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
interactions = {
|
interactions = {
|
||||||
chat = {
|
chat = {
|
||||||
adapter = "webui",
|
adapter = "claude_code",
|
||||||
model = "qwen3.5:9b",
|
}
|
||||||
},
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,24 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|||||||
vim.lsp.config("*", {
|
vim.lsp.config("*", {
|
||||||
capabilities = capabilities
|
capabilities = capabilities
|
||||||
})
|
})
|
||||||
-- vim.lsp.config("ts_ls", {})
|
|
||||||
|
local project_library_path = vim.fn.getcwd() .. '/node_modules'
|
||||||
|
local angular_cmd = {
|
||||||
|
'ngserver',
|
||||||
|
'--stdio',
|
||||||
|
'--tsProbeLocations',
|
||||||
|
project_library_path,
|
||||||
|
'--ngProbeLocations',
|
||||||
|
project_library_path .. '@angular/language-server'
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.lsp.config("ts_ls", {})
|
||||||
|
vim.lsp.config("angularls", {
|
||||||
|
cmd = angular_cmd,
|
||||||
|
on_new_config = function(new_config, new_root_dir)
|
||||||
|
new_config.cmd = angular_cmd
|
||||||
|
end
|
||||||
|
})
|
||||||
vim.lsp.config("ruff", {})
|
vim.lsp.config("ruff", {})
|
||||||
vim.lsp.config("cssls", {})
|
vim.lsp.config("cssls", {})
|
||||||
vim.lsp.config("lua_ls", {})
|
vim.lsp.config("lua_ls", {})
|
||||||
@@ -30,7 +47,7 @@ vim.lsp.config("eslint", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable({"odoo_ls", "hls", "ruff", "eslint", "cssls", "lua_ls", "lemminx"})
|
vim.lsp.enable({"angularls", "odoo_ls", "hls", "ruff", "eslint", "cssls", "lua_ls", "lemminx"})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('LspAttach', {
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
group = vim.api.nvim_create_augroup('user_lsp_attach', { clear = true }),
|
group = vim.api.nvim_create_augroup('user_lsp_attach', { clear = true }),
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
require("nvim_http").setup()
|
|
||||||
@@ -11,7 +11,6 @@ require("oil").setup({
|
|||||||
},
|
},
|
||||||
keymaps = {
|
keymaps = {
|
||||||
["q"] = "actions.close",
|
["q"] = "actions.close",
|
||||||
["<Esc>"] = "actions.close",
|
|
||||||
},
|
},
|
||||||
view_options = {
|
view_options = {
|
||||||
show_hidden = true
|
show_hidden = true
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
vim.keymap.set("n", "<leader>tl", "<cmd>TidalLaunch<cr>")
|
||||||
|
vim.keymap.set("n", "<leader>tq", "<cmd>TidalQuit<cr>")
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
require 'nvim-treesitter.configs'.setup {
|
require 'nvim-treesitter.config'.setup {
|
||||||
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
|
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
|
|||||||
+17
-18
@@ -1,44 +1,43 @@
|
|||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c" },
|
"LuaSnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||||
|
"codecompanion-history.nvim": { "branch": "main", "commit": "bc1b4fe06eaaf0aa2399be742e843c22f7f1652a" },
|
||||||
"codecompanion.nvim": { "branch": "main", "commit": "558518f8d78a44198cd428f6bf8bf48bfa38d76d" },
|
"codecompanion.nvim": { "branch": "main", "commit": "558518f8d78a44198cd428f6bf8bf48bfa38d76d" },
|
||||||
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
|
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
|
||||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"everforest-nvim": { "branch": "main", "commit": "557bce922401e247a596583679bc181d4d688554" },
|
"everforest-nvim": { "branch": "main", "commit": "323e7633034a8068636a11597cec03bca5465c50" },
|
||||||
"gitlinker.nvim": { "branch": "master", "commit": "bbe2a1254fc8fce21f3bbf9a020266a1c49799f7" },
|
"gitlinker.nvim": { "branch": "master", "commit": "bbe2a1254fc8fce21f3bbf9a020266a1c49799f7" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "6d72ba88c40f4c55c01f8a0558aa532cee108486" },
|
"gitsigns.nvim": { "branch": "main", "commit": "0a80125bace82d82847d40bc2c38a22d62c6dc2d" },
|
||||||
"harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" },
|
"harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" },
|
||||||
"hererocks": { "branch": "master", "commit": "3db37265c3839cbd4d27fc73f92fa7b58bc3a76f" },
|
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a324581a3c83fdacdb9804b79de1cbe00ce18550" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||||
"mini.icons": { "branch": "main", "commit": "5b9076dae1bfbe47ba4a14bc8b967cde0ab5d77e" },
|
"mini.icons": { "branch": "main", "commit": "5b9076dae1bfbe47ba4a14bc8b967cde0ab5d77e" },
|
||||||
"neogit": { "branch": "master", "commit": "7073f3aafc9030d457838995106784a9d1873b3b" },
|
"neogit": { "branch": "master", "commit": "d3890fc3cdf0859845a86b2be306bba01458df1a" },
|
||||||
"nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" },
|
"nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "b516f20b487b0ac6a281e376dfac1d16b5040041" },
|
"nvim-dap": { "branch": "master", "commit": "a9d8cb68ee7184111dc66156c4a2ebabfbe01bc5" },
|
||||||
"nvim-dap-python": { "branch": "master", "commit": "1808458eba2b18f178f990e01376941a42c7f93b" },
|
"nvim-dap-python": { "branch": "master", "commit": "1808458eba2b18f178f990e01376941a42c7f93b" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
"nvim-dap-ui": { "branch": "master", "commit": "f5b6673f374626515401c5bc51b005f784a4f252" },
|
||||||
"nvim-http": { "branch": "main", "commit": "70016196c103a6a8e805c2982b48e1d01c6b348b" },
|
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "2b87d107942b9eebef768512f5849330335a9493" },
|
|
||||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
"nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" },
|
"nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" },
|
||||||
"nvim-treesitter": { "branch": "main", "commit": "1970f0d3bbb99c7659e58914948749437c7b7398" },
|
"nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" },
|
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "eb2dde1e164ffcfba51216262bc43b9ed52da046" },
|
"obsidian.nvim": { "branch": "main", "commit": "6ea8b9d1ce10dd41795f298dd7f4dd3a26887d39" },
|
||||||
"odoo-neovim": { "branch": "main", "commit": "882aeb9bc0d6302cb99aa1235abe4820532fd416" },
|
"odoo-neovim": { "branch": "main", "commit": "6ea306ebcdfa1ee13524c05757f5e739cb2e8001" },
|
||||||
"oil.nvim": { "branch": "master", "commit": "0fcc83805ad11cf714a949c98c605ed717e0b83e" },
|
"oil.nvim": { "branch": "master", "commit": "0fcc83805ad11cf714a949c98c605ed717e0b83e" },
|
||||||
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"render-markdown.nvim": { "branch": "main", "commit": "907505549edc2f90c82fc429348af03ee8c3a825" },
|
"render-markdown.nvim": { "branch": "main", "commit": "e3c18ddd27a853f85a6f513a864cf4f2982b9f26" },
|
||||||
"roslyn.nvim": { "branch": "main", "commit": "7deb9bb5b6afcb3c03c70741c6d364ffd8b59bda" },
|
|
||||||
"smear-cursor.nvim": { "branch": "main", "commit": "c85bdbb25db096fbcf616bc4e1357bd61fe2c199" },
|
"smear-cursor.nvim": { "branch": "main", "commit": "c85bdbb25db096fbcf616bc4e1357bd61fe2c199" },
|
||||||
"snacks.nvim": { "branch": "main", "commit": "9912042fc8bca2209105526ac7534e9a0c2071b2" },
|
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
|
||||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
||||||
"undotree": { "branch": "master", "commit": "d8f99084d98c32f651860eb0baaf89759f91debc" },
|
"tidal.nvim": { "branch": "develop", "commit": "bcc9679a1932cfa2f75a38ddf3af18ed344da1fe" },
|
||||||
|
"undotree": { "branch": "master", "commit": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d" },
|
||||||
"vim-projectionist": { "branch": "master", "commit": "5ff7bf79a6ef741036d2038a226bcb5f8b1cd296" },
|
"vim-projectionist": { "branch": "master", "commit": "5ff7bf79a6ef741036d2038a226bcb5f8b1cd296" },
|
||||||
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }
|
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ local M = {}
|
|||||||
-- Adapter (netcoredbg)
|
-- Adapter (netcoredbg)
|
||||||
dap.adapters.coreclr = {
|
dap.adapters.coreclr = {
|
||||||
type = "executable",
|
type = "executable",
|
||||||
command = "/Users/radumaco/Projects/netcoredbg/build/src/netcoredbg",
|
command = "/home/radu/.local/share/nvim/mason/bin/netcoredbg",
|
||||||
args = { "--interpreter=vscode" },
|
args = { "--interpreter=vscode" },
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,6 +200,7 @@ local function debug_dotnet_from_sln()
|
|||||||
env = {
|
env = {
|
||||||
ASPNETCORE_ENVIRONMENT = "Development",
|
ASPNETCORE_ENVIRONMENT = "Development",
|
||||||
DOTNET_ENVIRONMENT = "Development",
|
DOTNET_ENVIRONMENT = "Development",
|
||||||
|
ASPNETCORE_URLS = "https://localhost:7045;http://localhost:5000",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -31,6 +31,26 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
'shaunsingh/nord.nvim'
|
'shaunsingh/nord.nvim'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"thgrund/tidal.nvim",
|
||||||
|
opts = {
|
||||||
|
boot = {
|
||||||
|
tidal = {
|
||||||
|
cmd = "/usr/bin/ghci",
|
||||||
|
file = "/usr/share/haskell-tidal/BootTidal.hs",
|
||||||
|
highlight = {
|
||||||
|
autostart = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
sclang = { enabled = true },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- Recommended: Install TreeSitter parsers for Haskell and SuperCollider
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = { ensure_installed = { "haskell", "supercollider" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
'odoo/odoo-neovim',
|
'odoo/odoo-neovim',
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
{
|
{
|
||||||
@@ -47,23 +67,18 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"olimorris/codecompanion.nvim",
|
"olimorris/codecompanion.nvim",
|
||||||
version = "^18.0.0",
|
version = "^18.0.0",
|
||||||
opts = {},
|
opts = {
|
||||||
|
opts = {
|
||||||
|
log_level = "TRACE",
|
||||||
|
},
|
||||||
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"ravitemer/codecompanion-history.nvim",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name = "nvim-http",
|
|
||||||
dir = "~/Projects/nvim-http",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
},
|
|
||||||
build = "rockspec",
|
|
||||||
},
|
|
||||||
'tpope/vim-surround',
|
'tpope/vim-surround',
|
||||||
'seblyng/roslyn.nvim',
|
|
||||||
'nvim-telescope/telescope-ui-select.nvim',
|
'nvim-telescope/telescope-ui-select.nvim',
|
||||||
'sphamba/smear-cursor.nvim',
|
'sphamba/smear-cursor.nvim',
|
||||||
{
|
{
|
||||||
@@ -81,6 +96,9 @@ require("lazy").setup({
|
|||||||
--- @type obsidian.config
|
--- @type obsidian.config
|
||||||
opts = {
|
opts = {
|
||||||
legacy_commands = false,
|
legacy_commands = false,
|
||||||
|
ui = {
|
||||||
|
enable = false,
|
||||||
|
},
|
||||||
workspaces = {
|
workspaces = {
|
||||||
{
|
{
|
||||||
name = "personal",
|
name = "personal",
|
||||||
|
|||||||
Reference in New Issue
Block a user