From 13df183adf7ef81beb751bf3c2d0755617498fdc Mon Sep 17 00:00:00 2001 From: Kasper Sternberg Date: Fri, 8 Mar 2024 17:19:24 +0100 Subject: [PATCH] Added csharpier --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 4577567a..5198cbc7 100644 --- a/init.lua +++ b/init.lua @@ -276,6 +276,7 @@ require('lazy').setup { -- Document existing key chains require('which-key').register { ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, + ['cp'] = { name = '[C]o[P]ilot', _ = 'which_key_ignore' }, ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, ['r'] = { name = '[R]ename', _ = 'which_key_ignore' }, ['s'] = { name = '[S]earch', _ = 'which_key_ignore' }, @@ -586,6 +587,7 @@ require('lazy').setup { local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { 'stylua', -- Used to format lua code + 'csharpier', -- Used to format C# code }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } @@ -614,6 +616,7 @@ require('lazy').setup { }, formatters_by_ft = { lua = { 'stylua' }, + cs = { 'csharpier' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, --