Skip to content

Commit

Permalink
octa config
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjahn committed Jun 27, 2023
1 parent c423e7c commit 2aa522b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/nvim/lua/_github.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
local vim = vim
local octo = require("octo")

octo.setup()

local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = false }
map('n', '<leader>pr', "<CMD>Octo pr list<cr>", opts)

-- autocomplete for octo file type
-- vim.keymap.set("i", "@", "@<C-x><C-o>", { silent = true, buffer = true })
-- vim.keymap.set("i", "#", "#<C-x><C-o>", { silent = true, buffer = true })

vim.treesitter.language.register('markdown', 'octo')

0 comments on commit 2aa522b

Please sign in to comment.