nvim: cleanup
This commit is contained in:
parent
01b97bf22c
commit
9bc0226264
1 changed files with 4 additions and 12 deletions
|
@ -23,15 +23,13 @@ require('mini.cursorword').setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
local hipatterns = require('mini.hipatterns')
|
local hipatterns = require('mini.hipatterns')
|
||||||
hipatterns.setup({ -- highlight strings and colors
|
hipatterns.setup({
|
||||||
highlighters = {
|
highlighters = {
|
||||||
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
||||||
fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
||||||
hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
||||||
todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
||||||
note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
||||||
|
|
||||||
-- Highlight hex color strings (`#rrggbb`) using that color
|
|
||||||
hex_color = hipatterns.gen_highlighter.hex_color(),
|
hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -46,18 +44,12 @@ indentscope.setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
require('mini.jump2d').setup({
|
require('mini.jump2d').setup({
|
||||||
mappings = {
|
mappings = { start_jumping = 'gw' }
|
||||||
start_jumping = 'gw'
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
require('mini.pick').setup({
|
require('mini.pick').setup({
|
||||||
mappings = {
|
mappings = { move_down = '<tab>' },
|
||||||
move_down = '<tab>'
|
options = { use_cache = true }
|
||||||
},
|
|
||||||
options = {
|
|
||||||
use_cache = true
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
MiniPick.registry.files_root = function(local_opts)
|
MiniPick.registry.files_root = function(local_opts)
|
||||||
local root_patterns = { ".jj", ".git" }
|
local root_patterns = { ".jj", ".git" }
|
||||||
|
|
Loading…
Reference in a new issue