feat: Added copilot

This commit is contained in:
2026-03-26 08:39:52 +01:00
parent 3e1c92ee97
commit d7eed6aba2
4 changed files with 11 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
require("nvchad.configs.lspconfig").defaults()
local servers = {
"copilot",
"html",
"cssls",
"clangd",

View File

@@ -8,5 +8,8 @@ vim.opt.spelllang = { "en_us", "cs" }
vim.api.nvim_create_autocmd("FileType", {
pattern = "java",
command = "setlocal tabstop=4 shiftwidth=4 expandtab"
command = "setlocal tabstop=4 shiftwidth=4 expandtab",
})
vim.keymap.set("v", "<", "<gv", { desc = "Keep selection after outdent" })
vim.keymap.set("v", ">", ">gv", { desc = "Keep selection after indent" })

View File

@@ -145,4 +145,9 @@ return {
km("n", "<localleader>lT", vim.cmd.VimtexTocOpen, { desc = "VimtexTocOpen" })
end,
},
{
"github/copilot.vim",
lazy = false,
},
}