Comments (19)
Thanks, interesting. I ended up with this after talking to @Shougo:
call denite#custom#option('_', 'highlight_mode_insert', 'CursorLine')
call denite#custom#option('_', 'highlight_matched_range', 'None')
call denite#custom#option('_', 'highlight_matched_char', 'None')
from denite.nvim.
I'd like to add that it appears that Denite highlights the entire match from the first matched char to the last, instead of just highlighting the individual chars that caused the match to occur.
For example, today if i searched for dte and an option called denite was available denite will highlight the entire word (like this denite) but it would be better if the only highlighted chars were d, t ande (like this denite).
Is there a way to highlight just the chars instead of the whole substring?
from denite.nvim.
Is there a way to highlight just the chars instead of the whole substring?
Nothing.
from denite.nvim.
I want to upgrade Denite to the master branch but I'm uncomfortable with glaring highlight on the matched file names. Is there any way to disable this highlight on file_rec matches? Thanks.
Please change deniteMatched
highlight.
And I think highlight on the matched file names with file_rec should be disabled by default.
I don't think so. It is just your opinion.
from denite.nvim.
@Shougo How do I change deniteMatched
? It would be nice if you add some documentation about it. Some scenarios on the top of my head:
- completely disable the highlight,
- change it to color of
cursorline
, - any color.
Thanks.
from denite.nvim.
:help highlight
from denite.nvim.
Not the highlight of the whole application, I want to change only deniteMatched
. Currently, there's no documentation about deniteMatched
.
from denite.nvim.
Have you read the documentation properly?
:hi[ghlight] [default] {group-name} {key}={arg} ..
Add a highlight group, or change the highlighting for
an existing group.
See |highlight-args| for the {key}={arg} arguments.
See |:highlight-default| for the optional [default]
argument.
from denite.nvim.
Is deniteMatched
a group name?
from denite.nvim.
Yes.
from denite.nvim.
Thanks.
from denite.nvim.
@Shougo Regarding the chars highlighting, are there plans to implement it in Denite?
from denite.nvim.
@Shougo Regarding the chars highlighting, are there plans to implement it in Denite?
If possilble. But it is not easy.
from denite.nvim.
What is the main difficulty, computing the match or making vim highlight it correctly?
from denite.nvim.
I have improved the default highlight.
from denite.nvim.
It's not perfect but it's a lot better. Thanks.
from denite.nvim.
I don't get it. How do I completely disable the highlighting?
from denite.nvim.
@languitar Here's my current setup:
highlight default link deniteMatchedChar CursorLine
highlight default link deniteMatchedRange None
To completely disable highlighting you have to set deniteMatchedChar
to None
as well.
from denite.nvim.
Using denite#custom#option()
is better.
from denite.nvim.
Related Issues (20)
- vim-clapを用いたfile/rec検索をするとエラー HOT 1
- Custom action doesn't work with choose_action HOT 2
- File source throws PermissionError if an unreadable file/directory in candidates HOT 12
- Filter of file source doesn't work properly, but file/rec works HOT 1
- 直近の仕様変更について質問と要望 HOT 2
- Backspace moves from filter to denite buffer window HOT 1
- vim-clapの更新でエラー HOT 1
- Change of behaviour of <Plug>(denite_filter_quit) HOT 4
- Do not working in windows10(python3.9.2) HOT 2
- High-match items are no longer prioritized HOT 2
- Floating window HOT 6
- Denite with floating window fails HOT 3
- Feature Request: open any path from user provided list HOT 1
- :Denite with `-start-filter` removes some input characters HOT 2
- [Question] At denite-filter, the completion is displayed. HOT 6
- -filter-split-direction=floating is broken when cmdheight=2
- denite menuでdeniteのコマンドを実行するとエラーが発生する HOT 1
- Unexpected -immediately-1 behaviour HOT 4
- raised ValueError in open file HOT 1
- python and n/vim use high CPU time after denite usage. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denite.nvim.