mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(nvim): add GitHub Copilot
This commit is contained in:
9
nvim/after/plugin/copilot.lua
Normal file
9
nvim/after/plugin/copilot.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
-- https://github.com/github/copilot.vim
|
||||
local status_ok = pcall(require, "copilot")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.g.copilot_assume_mapped = true
|
||||
vim.g.copilot_tab_fallback = ""
|
||||
@@ -165,6 +165,7 @@ return packer.startup(function(use)
|
||||
use("mechatroner/rainbow_csv") -- Rainbow CSV
|
||||
use("dbeniamine/cheat.sh-vim") -- Cheat.sh
|
||||
use("wakatime/vim-wakatime") -- Wakatime
|
||||
use("github/copilot.vim") -- GitHub Copilot
|
||||
|
||||
-- Custom Text Objects
|
||||
use("christoomey/vim-titlecase")
|
||||
|
||||
Reference in New Issue
Block a user