mirror of
https://github.com/macocianradu/setup.git
synced 2026-07-16 10:38:46 +00:00
Compare commits
2 Commits
90bb5ef21a
...
1ff5b544f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ff5b544f1 | |||
| b50036c413 |
@@ -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,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",
|
||||||
|
|||||||
@@ -15,18 +15,18 @@
|
|||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
"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": "64b1a01a9fc3d3ee8b2368230563bedf3eb66e54" },
|
"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": "a9d8cb68ee7184111dc66156c4a2ebabfbe01bc5" },
|
"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": "f5b6673f374626515401c5bc51b005f784a4f252" },
|
"nvim-dap-ui": { "branch": "master", "commit": "f5b6673f374626515401c5bc51b005f784a4f252" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "46204c8fdaa36a9aa3768780450e4bc7a210025f" },
|
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
||||||
"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": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
|
"nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "c165637e159284931d981261d8aed9b60c211874" },
|
"obsidian.nvim": { "branch": "main", "commit": "6ea8b9d1ce10dd41795f298dd7f4dd3a26887d39" },
|
||||||
"odoo-neovim": { "branch": "main", "commit": "6ea306ebcdfa1ee13524c05757f5e739cb2e8001" },
|
"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" },
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -36,13 +36,15 @@ require("lazy").setup({
|
|||||||
opts = {
|
opts = {
|
||||||
boot = {
|
boot = {
|
||||||
tidal = {
|
tidal = {
|
||||||
cmd = "/usr/bin/ghci",
|
cmd = os.getenv("HOME") .. "/.ghcup/bin/ghci",
|
||||||
file = "/usr/share/haskell-tidal/BootTidal.hs",
|
|
||||||
highlight = {
|
highlight = {
|
||||||
autostart = true,
|
autostart = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sclang = { enabled = true },
|
sclang = {
|
||||||
|
enabled = true ,
|
||||||
|
file = os.getenv("HOME") .. "/.local/share/tidal/BootSuperDirt.scd",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- Recommended: Install TreeSitter parsers for Haskell and SuperCollider
|
-- Recommended: Install TreeSitter parsers for Haskell and SuperCollider
|
||||||
@@ -67,7 +69,11 @@ 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",
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
*%.git*
|
*%.git*
|
||||||
|
.config/nvim/lazy-lock.json
|
||||||
|
|||||||
Reference in New Issue
Block a user