Sharing config
This commit is contained in:
@@ -50,5 +50,9 @@ helpers.open_term = function(opts)
|
||||
vim.cmd.startinsert()
|
||||
end
|
||||
|
||||
helpers.has_copilot = function()
|
||||
return vim.fn.getenv('COPILOT_API_KEY') ~= nil
|
||||
end
|
||||
|
||||
return helpers
|
||||
-- nnoremap <Leader>ev :tabedit $MYVIMRC<CR>
|
||||
|
||||
Reference in New Issue
Block a user