10 Commits
Author SHA1 Message Date
waffles 9c52df1b18 Update sidekiq to not explicitely define default queues 2023-02-11 01:19:52 -08:00
waffles 6654e0b971 Send docker logs to journald 2023-01-18 22:56:13 -08:00
Waffles 4d0b70bbe1 Refactor the playbook to support multiple roles per host nicely 2023-01-09 02:39:02 -08:00
Waffles dbd63008e3 Fix typo in sidekiq queue 2023-01-07 09:10:28 -08:00
Waffles 82205ccdb6 -- Completion Plugin Setup
local cmp = require'cmp'
cmp.setup({
  -- Enable LSP snippets
  snippet = {
    expand = function(args)
        vim.fn["vsnip#anonymous"](args.body)
    end,
  },
  mapping = {
    ['<C-p>'] = cmp.mapping.select_prev_item(),
    ['<C-n>'] = cmp.mapping.select_next_item(),
    -- Add tab support
    ['<S-Tab>'] = cmp.mapping.select_prev_item(),
    ['<Tab>'] = cmp.mapping.select_next_item(),
    ['<C-S-f>'] = cmp.mapping.scroll_docs(-4),
    ['<C-f>'] = cmp.mapping.scroll_docs(4),
    ['<C-Space>'] = cmp.mapping.complete(),
    ['<C-e>'] = cmp.mapping.close(),
    ['<CR>'] = cmp.mapping.confirm({
      behavior = cmp.ConfirmBehavior.Insert,
      select = true,
    })
  },
  -- Installed sources:
  sources = {
    { name = 'path' },                              -- file paths
    { name = 'nvim_lsp', keyword_length = 3 },      -- from language server
    { name = 'nvim_lsp_signature_help'},            -- display function signatures with current parameter emphasized
    { name = 'nvim_lua', keyword_length = 2},       -- complete neovim's Lua runtime API such vim.lsp.*
    { name = 'buffer', keyword_length = 2 },        -- source current buffer
    { name = 'vsnip', keyword_length = 2 },         -- nvim-cmp source for vim-vsnip
    { name = 'calc'},                               -- source for math calculation
  },
  window = {
      completion = cmp.config.window.bordered(),
      documentation = cmp.config.window.bordered(),
  },
  formatting = {
      fields = {'menu', 'abbr', 'kind'},
      format = function(entry, item)
          local menu_icon ={
              nvim_lsp = 'λ',
              vsnip = '⋗',
              buffer = 'Ω',
              path = '🖫',
          }
          item.menu = menu_icon[entry.source.name]
          return item
      end,
Changed to new server and had to make some changes
2023-01-05 21:24:35 -08:00
Waffles 6975fbf817 Removing unnecesary variable structure 2023-01-04 13:17:35 -08:00
Waffles e7039346aa Add default queue settings for the sidekiq role 2023-01-04 13:16:27 -08:00
Waffles d9a7331373 Allow sidekiq and puma to co-exist 2023-01-04 00:26:23 -08:00
Waffles 526e28d935 Change how sidekiq queues are defined 2022-12-26 22:41:35 -08:00
Waffles 19ebda26b4 Initial commit 2022-12-21 22:30:01 -08:00