Copilot fixed

This commit is contained in:
Tilo Klarenbeek
2023-11-08 08:40:39 +01:00
parent 32294e7ff5
commit fb50eddf5e
2 changed files with 9 additions and 0 deletions

View File

@@ -610,5 +610,8 @@ vim.wo.relativenumber = true
-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true
vim.g.copilot_no_tab_map = true
vim.api.nvim_set_keymap("i", "<C-Enter", 'copilot#Accept("<CR>")', { silent = true, expr = true })
-- empty setup using defaults
require("nvim-tree").setup()

6
test.ts Normal file
View File

@@ -0,0 +1,6 @@
function fib(n) {
if (n < 2) {
return n;
}
return fib(n - 1) + fib(n - 2);
}