-
Notifications
You must be signed in to change notification settings - Fork 18
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
Kind support filtering and format #30
Comments
|
I don't think so. Tag information has just the abbr. |
Fixed. |
Thanks @Shougo for your replies. Two nits: i) If I set inoremap <silent><buffer><expr> <C-c> unite#mappings#set_current_converters(
\ empty(unite#mappings#get_current_converters()) ?
\ ['converter_abbr_word'] : [])
and press ii) With the following minimal vimrc: set nocompatible
let $ONEDRIVE_HOME = expand('C:/OD/Users/Pedro')
let $DOTVIM = expand('$ONEDRIVE_HOME/vimfiles')
set runtimepath+=$DOTVIM/bundle/unite
set runtimepath+=$DOTVIM/bundle/neoinclude
set runtimepath+=$DOTVIM/bundle/unite-tag
set runtimepath+=$DOTVIM/bundle/vimproc
filetype plugin indent on
nnoremap <silent> ,te :NeoIncludeMakeCache<CR>:Unite
\ tag/include<CR> If I open the |
You should execute And, you should change Important: Please read the documentation. |
Because, you are wrong. You must change default matcher behavior.
|
I'm sorry @Shougo but I'm afraid I don't quite understand. Consider the following minimal vimrc: set nocompatible
let $ONEDRIVE_HOME = expand('C:/OD/Users/Pedro')
let $DOTVIM = expand('$ONEDRIVE_HOME/vimfiles')
set runtimepath+=$DOTVIM/bundle/unite
set runtimepath+=$DOTVIM/bundle/neoinclude
set runtimepath+=$DOTVIM/bundle/unite-tag
set runtimepath+=$DOTVIM/bundle/vimproc
filetype plugin indent on
syntax enable
nnoremap <silent> ,te :NeoIncludeMakeCache<CR>:Unite
\ tag/include<CR>
au FileType unite
\ inoremap <silent><buffer><expr> <C-c> unite#mappings#set_current_matchers(
\ empty(unite#mappings#get_current_matchers()) ?
\ ['converter_abbr_word', 'matcher_default'] : []) Now as in the GIF, open Gvim, edit the i) even though ii) If I now switch to insert mode and start searching for Sorry for being such a nuisance and thanks in advance for the help. |
@petobens Confirmed. Fixed the problems. Please update unite-tag and unite.vim. |
@Shougo it is working perfectly now. Thank you for the fix! :) |
Hi @Shougo, thank you very much for adding kind support (following our discussion here).
I have a few questions:
i) In the mentioned issue you said:
Generally I want to filter by candidate but maybe I want to filter by kind. So: is it possible to switch the converter within the unite buffer? i.e pressing something like
<C-s>
and switch from the default converter toabbr_word
?ii) Consider the following
foo.py
file:When I run
:Unite tag/include
I get the following unite buffer:Instead of showing
k:f
andk:v
is possible to directly displayfunction
andvariable
(i think that a) it is better to show the full kind instead of the abbreviation and b) there is no need to showk:
since it is clear that this third column of the unite buffer displays the tag kind).iii) When I run
:Unite tag/include
in myvimrc
file I get:Can the syntax highlighting and the spacing between columns be improved?
The text was updated successfully, but these errors were encountered: