diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index c78cfb4..fcf7b9a 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -48,6 +48,11 @@ taskwarrior-tui hidden-bar presenterm + (azure-cli.withExtensions [ + azure-cli.extensions.containerapp + ]) + azure-functions-core-tools + dotnet-sdk ]; programs.home-manager.enable = true; diff --git a/modules/home-manager/nixcats/default.nix b/modules/home-manager/nixcats/default.nix index f25e528..8aac347 100644 --- a/modules/home-manager/nixcats/default.nix +++ b/modules/home-manager/nixcats/default.nix @@ -53,6 +53,9 @@ in { c = with pkgs; [ clang ]; + csharp = with pkgs; [ + omnisharp-roslyn + ]; }; # This is for plugins that will load at startup without using packadd: @@ -159,6 +162,7 @@ in { go = true; typescript = true; c = true; + csharp = true; }; # anything else to pass and grab in lua with `nixCats.extra` extra = { diff --git a/modules/home-manager/nixcats/init.lua b/modules/home-manager/nixcats/init.lua index 921db65..c419da1 100644 --- a/modules/home-manager/nixcats/init.lua +++ b/modules/home-manager/nixcats/init.lua @@ -34,11 +34,11 @@ vim.o.conceallevel = 2 -- vim.o.smarttab = true vim.opt.cpoptions:append('I') vim.o.expandtab = true --- vim.o.smartindent = true --- vim.o.autoindent = true --- vim.o.tabstop = 4 --- vim.o.softtabstop = 4 --- vim.o.shiftwidth = 4 +vim.o.smartindent = true +vim.o.autoindent = true +vim.o.tabstop = 4 +vim.o.softtabstop = 4 +vim.o.shiftwidth = 4 -- stops line wrapping from being confusing vim.o.breakindent = true @@ -741,6 +741,13 @@ require('lze').load { -- filetypes = { "go", "gomod", "gowork", "gotmpl" }, }, }, + { + "omnisharp", + enabled = nixCats("csharp") or false, + lsp = { + -- filetypes = { "go", "gomod", "gowork", "gotmpl" }, + }, + }, { "nixd", enabled = nixCats('nix') or false,