-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(treesitter)!: enable treesitter for
lines|blines|git_blame
Semi-breaking (backward compat): builtin previewer `enable = ...` options renamed to `enabled = ...` for consistency with other plugins conventions: - previewers.builtin.treesitter.enable -> enabled - previewers.builtin.treesitter.disable -> disabled - previewers.builtin.render_markdown.enable -> enabled Warning messages will be sent to the message log about old deprecated options (old ones too), can be disabled with `silent=true`: ```lua require("fzf-lua").setup({ defaults = { silent = true } }) ``` This commits also includes many other changes: - `winopts.treesitter` can also be enabled (disabled by default) in grep/LSP pickers, but will be disabled in `live_grep` as ts highlights will override the regex highlighting - When enabled `fzf_colors` will automatically set `hl,hl+` to `-1:reverse` which changes the background of the character, this is done to make the TS highlights more distingished NOTE1: `reverse` doesn't work as well with skim NOTE2: To disable set `winopts.treesitter.fzf_colors=false` - Formatting changes for `lines,blines`, will match the formatting of `fzf.vim`, `treesitter` picker formatting slightly improved - New highlights: + `FzfLuaBufId`: linked to `TabLine` by default, used to highlight the bufnr in `lines` + `FzfLuaBufLineNr`: linked to `LineNr` by default, used in `lines,blines,treesitter` for line numbers - New option: `lines.show_bufname`, default value is `120`, will only display buffer name (filepath) if neovim's `columns > show_bufname` - Separated `grep_curbuf|lgrep_curbuf` options to its own category - Disabled with fzf-tmux profile as it does nothing (not a neovim buffer and thus can't enable the TS injector) - Fixed Telescope profile gutter color (transparent) - Highlights picker fuzzy matching colors set to "-1:reverse" - Added `utf8.lua` library (unsued for now)
- Loading branch information
Showing
16 changed files
with
1,631 additions
and
333 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
Oops, something went wrong.