feat: Added copilot
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"base46": { "branch": "v3.0", "commit": "884b990dcdbe07520a0892da6ba3e8d202b46337" },
|
||||
"blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" },
|
||||
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
|
||||
"copilot.vim": { "branch": "release", "commit": "a12fd5672110c8aa7e3c8419e28c96943ca179be" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
||||
"fzf-lua": { "branch": "main", "commit": "3b01dc83a893749f5ae4639f1aa0af523821840a" },
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
require("nvchad.configs.lspconfig").defaults()
|
||||
|
||||
local servers = {
|
||||
"copilot",
|
||||
"html",
|
||||
"cssls",
|
||||
"clangd",
|
||||
|
||||
@@ -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" })
|
||||
|
||||
@@ -145,4 +145,9 @@ return {
|
||||
km("n", "<localleader>lT", vim.cmd.VimtexTocOpen, { desc = "VimtexTocOpen" })
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"github/copilot.vim",
|
||||
lazy = false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user