chore: updated plugins.lua
43df707b
1 file(s) · +1 −27
| 3 | 3 | -- ============================================================================ |
|
| 4 | 4 | vim.pack.add({ |
|
| 5 | 5 | "https://github.com/stevedylandev/darkmatter-nvim", |
|
| 6 | + | 'https://github.com/echasnovski/mini.nvim', |
|
| 6 | 7 | }) |
|
| 7 | 8 | vim.cmd.colorscheme('darkmatter') |
|
| 8 | 9 | ||
| 9 | 10 | -- ============================================================================ |
|
| 10 | 11 | -- Mini.nvim — startup modules |
|
| 11 | 12 | -- ============================================================================ |
|
| 12 | - | vim.pack.add({ |
|
| 13 | - | 'https://github.com/echasnovski/mini.nvim', |
|
| 14 | - | }) |
|
| 15 | - | ||
| 16 | 13 | local win_config = function() |
|
| 17 | 14 | local height = math.floor(0.618 * vim.o.lines) |
|
| 18 | 15 | local width = math.floor(0.618 * vim.o.columns) |
|
| 52 | 49 | require('mini.diff').setup({ |
|
| 53 | 50 | view = { |
|
| 54 | 51 | style = vim.go.number and 'sign' or 'number', |
|
| 55 | - | ||
| 56 | 52 | signs = { |
|
| 57 | 53 | add = "+", |
|
| 58 | 54 | change = "~", |
|
| 61 | 57 | changedelete = "▎", |
|
| 62 | 58 | untracked = "+" |
|
| 63 | 59 | }, |
|
| 64 | - | ||
| 65 | 60 | priority = 199, |
|
| 66 | - | }, |
|
| 67 | - | ||
| 68 | - | delay = { |
|
| 69 | - | text_change = 200, |
|
| 70 | - | }, |
|
| 71 | - | ||
| 72 | - | mappings = { |
|
| 73 | - | apply = 'gh', |
|
| 74 | - | reset = 'gH', |
|
| 75 | - | textobject = 'gh', |
|
| 76 | - | goto_first = '[H', |
|
| 77 | - | goto_prev = '[h', |
|
| 78 | - | goto_next = ']h', |
|
| 79 | - | goto_last = ']H', |
|
| 80 | - | }, |
|
| 81 | - | ||
| 82 | - | options = { |
|
| 83 | - | algorithm = 'histogram', |
|
| 84 | - | indent_heuristic = true, |
|
| 85 | - | linematch = 60, |
|
| 86 | - | wrap_goto = false, |
|
| 87 | 61 | }, |
|
| 88 | 62 | }) |
|
| 89 | 63 | require('mini.statusline').setup() |
|