Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing illuminate to use lightweight mini.cursorword #158

Open
wants to merge 2 commits into
base: launchpad
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Heres the wiki for installing new plugins refer to this: [wiki](https://github.c
- [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
- [mason-lspconfig.nvim](https://github.com/williamboman/mason-lspconfig.nvim)
- [null-ls.nvim](https://github.com/jose-elias-alvarez/null-ls.nvim)
- [vim-illuminate](https://github.com/RRethy/vim-illuminate)
- [mini.cursorword](https://github.com/echasnovski/mini.cursorword)
- [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)
- [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter)
- [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim)
Expand Down
3 changes: 2 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ spec "user.lspconfig"
spec "user.navic"
spec "user.breadcrumbs"
spec "user.null-ls"
spec "user.illuminate"
-- spec "user.illuminate"
spec "user.minicursorword"
spec "user.telescope"
spec "user.telescope-tabs"
spec "user.nvimtree"
Expand Down
10 changes: 10 additions & 0 deletions lua/user/minicursorword.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local M = {
"echasnovski/mini.cursorword",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we pin the version of the plugin with the commit sha or tag?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by default , mini.cursorword has a stable branch and master branch, it is done in master branch , and commit sha or tag, I'm not sure about that.

event = "VeryLazy",
}

function M.config()
require("mini.cursorword").setup()
end

return M