-
Notifications
You must be signed in to change notification settings - Fork 487
feat: include several new plugins #1235
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
6f12a7d
feat(cmp): more completion candidates from opened buffers. (#1219)
mvmx3 a9c0292
chore(lockfile): auto update lazy-lock.json
github-actions[bot] 276e3d8
chore(plugins): tidying up (#1221)
Jint-lzxy e5224c4
fix(plugins): remove duplicate specifications
Jint-lzxy 7e6ae27
fix: use `init` for vim plugins (#1222)
ayamir a168b1f
chore(lockfile): auto update lazy-lock.json
github-actions[bot] b56c207
docs: mention the experimental nature of the 0.10 branch (#1215)
ayamir 0dc481e
fix(ISSUE_TEMPLATE): format code
Jint-lzxy 3bc540e
fix(README): misplaced content
Jint-lzxy d8e1262
fix(todo-comment): add missing keywords (#1225)
charliie-dev 12ac43c
chore(lockfile): auto update lazy-lock.json
github-actions[bot] 62cbc02
fix(options): remove options managed by `vim-sleuth` (#1229)
Jint-lzxy 6883089
chore(lockfile): auto update lazy-lock.json
github-actions[bot] 54f0997
fix(rustaceanvim): use `init` for its config (#1231)
Jint-lzxy c0a47f9
chore(lockfile): auto update lazy-lock.json
github-actions[bot] d49179a
feat!: improve go development experience (#1226)
ayamir fc04699
feat!: add `advanced-git-search.nvim`
charliie-dev 64a99ea
feat!: add `search.nvim` to enhance `telescope`.
charliie-dev c7767fa
feat: reorganize keymaps for telescope search collections.
ayamir b8e798d
fixup: update descriptions for modified keymaps.
ayamir 3607879
chore: remove single diagnostic disable for undefined-field.
ayamir cde6c9c
chore: remove diagnostic disable for undefined-field.
ayamir 14aad3f
feat!: replace `colorizer.lua` with `nvim-highlight-colors`
charliie-dev d29214a
Merge branch '0.10' into new-plugins
charliie-dev 8024cc7
fix: invoke `utils.load_plugin`
Jint-lzxy e62e504
chore(advanced-git-search): remove unused options
Jint-lzxy 400e77d
feat(telescope): add collection panel for `search.nvim`
charliie-dev 821da34
chore: typo
charliie-dev f70e685
feat: more documentation
Jint-lzxy 8957c58
chore: clean up
charliie-dev 3d77f4a
feat: don't hard-code collection names
charliie-dev 6ea599b
chore: use custom loader
charliie-dev cfa9b94
fix: disable warning
charliie-dev 2e80eb8
fix: CI & cleanup
Jint-lzxy c659de9
Revert `lazy-lock.json`
Jint-lzxy d5d6d44
fix: make luaJIT happy
Jint-lzxy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| return function() | ||
| require("modules.utils").load_plugin("nvim-highlight-colors", { | ||
| render = "background", | ||
| enable_hex = true, | ||
| enable_short_hex = true, | ||
| enable_rgb = true, | ||
| enable_hsl = true, | ||
| enable_var_usage = true, | ||
| enable_named_colors = false, | ||
| enable_tailwind = false, | ||
| -- Exclude filetypes or buftypes from highlighting | ||
| exclude_filetypes = { | ||
| "alpha", | ||
| "bigfile", | ||
| "dap-repl", | ||
| "fugitive", | ||
| "git", | ||
| "notify", | ||
| "NvimTree", | ||
| "Outline", | ||
| "TelescopePrompt", | ||
| "toggleterm", | ||
| "undotree", | ||
| }, | ||
| exclude_buftypes = { | ||
| "nofile", | ||
| "prompt", | ||
| "terminal", | ||
| }, | ||
| }) | ||
| end | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,130 @@ | ||
| return function() | ||
| local builtin = require("telescope.builtin") | ||
| local extensions = require("telescope").extensions | ||
|
|
||
| require("modules.utils").load_plugin("search", { | ||
| collections = { | ||
| file = { | ||
| initial_tab = 1, | ||
| tabs = { | ||
| { | ||
| name = "Files", | ||
| tele_func = function(opts) | ||
| opts = opts or {} | ||
| if vim.fn.isdirectory(".git") == 1 then | ||
| builtin.git_files(opts) | ||
| else | ||
| builtin.find_files(opts) | ||
| end | ||
| end, | ||
| }, | ||
| { | ||
| name = "Frecency", | ||
| tele_func = function() | ||
| extensions.frecency.frecency() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Oldfiles", | ||
| tele_func = function() | ||
| builtin.oldfiles() | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| live_grep = { | ||
| initial_tab = 1, | ||
| tabs = { | ||
| { | ||
| name = "Word in project", | ||
| tele_func = function() | ||
| extensions.live_grep_args.live_grep_args() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Word under cursor", | ||
| tele_func = function(opts) | ||
| opts = opts or {} | ||
| builtin.grep_string(opts) | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| git = { | ||
| initial_tab = 1, | ||
| tabs = { | ||
| { | ||
| name = "Branches", | ||
| tele_func = function() | ||
| builtin.git_branches() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Commits", | ||
| tele_func = function() | ||
| builtin.git_commits() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Commit content", | ||
| tele_func = function() | ||
| extensions.advanced_git_search.search_log_content() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Diff current file with commit", | ||
| tele_func = function() | ||
| extensions.advanced_git_search.diff_commit_file() | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| workspace = { | ||
| initial_tab = 1, | ||
| tabs = { | ||
| { | ||
| name = "Buffers", | ||
| tele_func = function() | ||
| builtin.buffers() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Sessions", | ||
| tele_func = function() | ||
| extensions.persisted.persisted() | ||
| end, | ||
| }, | ||
| { | ||
| name = "Projects", | ||
| tele_func = function() | ||
| extensions.projects.projects({}) | ||
| end, | ||
| }, | ||
| { | ||
| name = "Zoxide", | ||
| tele_func = function() | ||
| extensions.zoxide.list() | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| misc = { | ||
| initial_tab = 1, | ||
| tabs = { | ||
| { | ||
| name = "Colorschemes", | ||
| tele_func = function() | ||
| builtin.colorscheme({ enable_preview = true }) | ||
| end, | ||
| }, | ||
| { | ||
| name = "Undo History", | ||
| tele_func = function() | ||
| extensions.undo.undo() | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| }) | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.