-
Notifications
You must be signed in to change notification settings - Fork 154
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
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"
- Loading branch information
Showing
14 changed files
with
465 additions
and
280 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
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.