pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.42k stars 136 forks source link

🐛 FIX: mappings commands #192

Closed kkharji closed 3 years ago

kkharji commented 3 years ago

Purpose

Try and fix some mappings. closes #191.

Details

I'm using stylua so it auto formatted the buffer a bit. I strongly propose to use stylua and @pwntester if you like, I can set it up in another pr.

pwntester commented 3 years ago

Thanks @tami5! That would be nice! Please send the PR to check the format (github action?) and reformat all files.

What plugin do you use to apply stylua?

kkharji commented 3 years ago

Thanks @tami5! That would be nice! Please send the PR to check the format (github action?) and reformat all files.

What plugin do you use to apply stylua?

sure thing, I have set it up in a plugin before and it should be a quick and easy pr.

I'm using null_ls, it has some issues here and there but overall working good.

my config:

function()
    local null_ls = require "null-ls"
    local b = null_ls.builtins
    null_ls.setup {
      sources = {
        b.formatting.stylua.with {
        args = {
          "--config-path",
          vim.env.HOME .. "/.config/nvim/stylua.toml",
          "-",
        },
      },
    }
  end