Skip to content

Commit

Permalink
Merge commit 'd2107d2'
Browse files Browse the repository at this point in the history
  • Loading branch information
epi-ahulswitt committed Mar 18, 2024
2 parents 227db5c + d2107d2 commit 79e9785
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 13 deletions.
22 changes: 11 additions & 11 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"LuaSnip": { "branch": "master", "commit": "f3b3d3446bcbfa62d638b1903ff00a78b2b730a1" },
"LuaSnip": { "branch": "master", "commit": "a7a4b4682c4b3e2ba82b82a4e6e5f5a0e79dec32" },
"cellular-automaton.nvim": { "branch": "main", "commit": "b7d056dab963b5d3f2c560d92937cb51db61cb5b" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"editorconfig.nvim": { "branch": "master", "commit": "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf" },
"fidget.nvim": { "branch": "main", "commit": "4e854f3299e21d1c18279add340428a97520fc44" },
"fidget.nvim": { "branch": "main", "commit": "910104a2d0a831ba8ac662cd23d3f1c685401cf6" },
"fold-preview.nvim": { "branch": "main", "commit": "b7920cb0aba2b48a6b679bff45f98c3ebc0f0b89" },
"goto-preview": { "branch": "main", "commit": "527fd81a827234e26ca47891abe90497215db2a6" },
"harpoon": { "branch": "harpoon2", "commit": "a38be6e0dd4c6db66997deab71fc4453ace97f9c" },
"keymap-amend.nvim": { "branch": "master", "commit": "b8bf9d820878d5497fdd11d6de55dea82872d98e" },
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "fe4cce44dec93c69be17dad79b21de867dde118a" },
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
"lazy.nvim": { "branch": "main", "commit": "83493db50a434a4c5c648faf41e2ead80f96e478" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "82c7cb08ddb836ad938b2708e50085f12a8825d2" },
"mason.nvim": { "branch": "main", "commit": "3b5068f0fc565f337d67a2d315d935f574848ee7" },
"nvim-autopairs": { "branch": "master", "commit": "c6139ca0d5ad7af129ea6c89cb4c56093f2c034a" },
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
"nvim-lightbulb": { "branch": "master", "commit": "8f00b89dd1b1dbde16872bee5fbcee2e58c9b8e9" },
"nvim-lspconfig": { "branch": "master", "commit": "d1bab4cf4b69e49d6058028fd933d8ef5e74e680" },
"nvim-treesitter": { "branch": "master", "commit": "e04ce8bcec4dec3551d7ec4fa6d737d183433bfd" },
"plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
"nvim-lspconfig": { "branch": "master", "commit": "1f3ef31d1bb967050c81420ca921a1a2ade10e77" },
"nvim-treesitter": { "branch": "master", "commit": "bb3dd60ebcf6f75f73f39c44724b4a426ece6b7b" },
"plenary.nvim": { "branch": "master", "commit": "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" },
"pretty-fold.nvim": { "branch": "master", "commit": "a7d8b424abe0eedf50116c460fbe6dfd5783b1d5" },
"ripgrep": { "branch": "master", "commit": "e9abbc1a02de29dbe60e1b625d540c58759b23a6" },
"rose-pine": { "branch": "main", "commit": "f977eeba34b030b37f93ece2fbd792477606203b" },
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
"template.nvim": { "branch": "main", "commit": "6b9a1acba0b34a31fdd8b70e7e1d7b114230b339" },
"tokyonight.nvim": { "branch": "main", "commit": "610179f7f12db3d08540b6cc61434db2eaecbcff" }
}
"template.nvim": { "branch": "main", "commit": "7546611720c2e4dc067e1fe00bc9ec81651aedfc" },
"tokyonight.nvim": { "branch": "main", "commit": "c025baf23b62f044eff1f4ef561c45de636f0e32" }
}
2 changes: 1 addition & 1 deletion lua/kameleon/lazy/template.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return
{
'glepnir/template.nvim',
'aHulswitt36/template.nvim',
cmd = {'Template','TemProject'},
config = function()
require('template').setup({
Expand Down
10 changes: 10 additions & 0 deletions lua/kameleon/lazy/templates/apicontroller.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;

namespace {{_namespace_}};

[ApiController]
[Route("api/[controller]")]
public class {{_file_name_}} : ControllerBase
{
{{_cursor_}}
}
2 changes: 1 addition & 1 deletion lua/kameleon/lazy/templates/class.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace {{_lua:vim.fn.expand('%:p:h')_}};
namespace {{_namespace_}};

public class {{_file_name_}}
{
Expand Down
8 changes: 8 additions & 0 deletions lua/kameleon/lazy/templates/interface.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace {{_namespace_}};

public interface {{_file_name_}}
{
{{_cursor_}}
}
8 changes: 8 additions & 0 deletions lua/kameleon/lazy/templates/record.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace {{_namespace_}};

public record {{_file_name_}}
{
{{_cursor_}}
}
27 changes: 27 additions & 0 deletions lua/kameleon/lazy/templates/unittest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
using System;
using NUnit.Framework;

namespace {{_namespace_}};

[TestFixture]
public class {{_filename_}}
{

[SetUp]
public void Setup()
{

}

[TearDown]
public void TearDown()
{

}

[Test]
public void Test1()
{
{{_cursor_}}
}
}

0 comments on commit 79e9785

Please sign in to comment.