nvim: Remove more things and use mini.nvim instead
This commit is contained in:
parent
d36853d3d7
commit
bd79289b20
5 changed files with 14 additions and 21 deletions
|
@ -1,4 +1,5 @@
|
|||
(let [miniclue (require :mini.clue)]
|
||||
(let [miniclue (require :mini.clue)
|
||||
hipatterns (require :mini.hipatterns)]
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-clue.md
|
||||
(miniclue.setup {:triggers [; Leader
|
||||
{:mode :n :keys :<leader>}
|
||||
|
@ -8,9 +9,21 @@
|
|||
:clues [(miniclue.gen_clues.builtin_completion)]})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-comment.md
|
||||
((. (require :mini.comment) :setup) {})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-hipatterns.md
|
||||
(hipatterns.setup {:highlighters {:fixme {:pattern "%f[%w]()FIXME()%f[%W]"
|
||||
:group :MiniHipatternsFixme}
|
||||
:hack {:pattern "%f[%w]()HACK()%f[%W]"
|
||||
:group :MiniHipatternsHack}
|
||||
:todo {:pattern "%f[%w]()TODO()%f[%W]"
|
||||
:group :MiniHipatternsTodo}
|
||||
:note {:pattern "%f[%w]()NOTE()%f[%W]"
|
||||
:group :MiniHipatternsNote}
|
||||
:hex_color (hipatterns.gen_highlighter.hex_color)}})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-jump2d.md
|
||||
((. (require :mini.jump2d) :setup) {:hooks {:before_start (fn []
|
||||
(vim.cmd :nohlsearch))}})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-move.md
|
||||
((. (require :mini.move) :setup) {})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
|
||||
((. (require :mini.surround) :setup) {})
|
||||
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-pairs.md
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
(let [todo-comments (require :todo-comments)]
|
||||
(todo-comments.setup {:signs false}))
|
|
@ -181,12 +181,6 @@ in
|
|||
type = "fennel";
|
||||
}
|
||||
|
||||
{
|
||||
plugin = todo-comments-nvim;
|
||||
config = builtins.readFile ../../config/nvim/plugins/todo-comments.fnl;
|
||||
type = "fennel";
|
||||
}
|
||||
|
||||
telescope-ui-select-nvim
|
||||
telescope-toggleterm-nvim
|
||||
telescope-undo-nvim
|
||||
|
|
|
@ -196,17 +196,6 @@ in
|
|||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
todo-comments-nvim = buildVimPlugin {
|
||||
pname = "todo-comments.nvim";
|
||||
version = "2023-07-28";
|
||||
src = fetchFromGitHub {
|
||||
owner = "folke";
|
||||
repo = "todo-comments.nvim";
|
||||
rev = "3094ead8edfa9040de2421deddec55d3762f64d1";
|
||||
sha256 = "0qmx94fq1pllwnwzav87fi3v9d64sm8ggv9jgs19flr6r8kh0vs2";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
telescope-ui-select-nvim = buildVimPlugin {
|
||||
pname = "telescope-ui-select.nvim";
|
||||
version = "2022-04-30";
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
buildPhase: |-
|
||||
make
|
||||
- src: ahmedkhalf/project.nvim
|
||||
- src: folke/todo-comments.nvim
|
||||
- src: nvim-telescope/telescope-ui-select.nvim
|
||||
- src: "https://git.sr.ht/~havi/telescope-toggleterm.nvim"
|
||||
- src: debugloop/telescope-undo.nvim
|
||||
|
|
Loading…
Reference in a new issue