1
0
Fork 0

nvim: Remove more things and use mini.nvim instead
All checks were successful
Build / build-arm64-linux (push) Successful in 9m3s
Build / build-amd64-linux (push) Successful in 26m27s

This commit is contained in:
Daniel Kempkens 2023-10-08 23:28:27 +02:00
parent d36853d3d7
commit bd79289b20
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 14 additions and 21 deletions

View file

@ -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 ;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-clue.md
(miniclue.setup {:triggers [; Leader (miniclue.setup {:triggers [; Leader
{:mode :n :keys :<leader>} {:mode :n :keys :<leader>}
@ -8,9 +9,21 @@
:clues [(miniclue.gen_clues.builtin_completion)]}) :clues [(miniclue.gen_clues.builtin_completion)]})
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-comment.md ;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-comment.md
((. (require :mini.comment) :setup) {}) ((. (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 ;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-jump2d.md
((. (require :mini.jump2d) :setup) {:hooks {:before_start (fn [] ((. (require :mini.jump2d) :setup) {:hooks {:before_start (fn []
(vim.cmd :nohlsearch))}}) (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 ;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
((. (require :mini.surround) :setup) {}) ((. (require :mini.surround) :setup) {})
;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-pairs.md ;; https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-pairs.md

View file

@ -1,2 +0,0 @@
(let [todo-comments (require :todo-comments)]
(todo-comments.setup {:signs false}))

View file

@ -181,12 +181,6 @@ in
type = "fennel"; type = "fennel";
} }
{
plugin = todo-comments-nvim;
config = builtins.readFile ../../config/nvim/plugins/todo-comments.fnl;
type = "fennel";
}
telescope-ui-select-nvim telescope-ui-select-nvim
telescope-toggleterm-nvim telescope-toggleterm-nvim
telescope-undo-nvim telescope-undo-nvim

View file

@ -196,17 +196,6 @@ in
fetchSubmodules = false; 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 { telescope-ui-select-nvim = buildVimPlugin {
pname = "telescope-ui-select.nvim"; pname = "telescope-ui-select.nvim";
version = "2022-04-30"; version = "2022-04-30";

View file

@ -22,7 +22,6 @@
buildPhase: |- buildPhase: |-
make make
- src: ahmedkhalf/project.nvim - src: ahmedkhalf/project.nvim
- src: folke/todo-comments.nvim
- src: nvim-telescope/telescope-ui-select.nvim - src: nvim-telescope/telescope-ui-select.nvim
- src: "https://git.sr.ht/~havi/telescope-toggleterm.nvim" - src: "https://git.sr.ht/~havi/telescope-toggleterm.nvim"
- src: debugloop/telescope-undo.nvim - src: debugloop/telescope-undo.nvim