Coder Social home page Coder Social logo

asyncomplete-tags.vim's People

Contributors

jsit avatar jwmwalrus avatar prabirshrestha avatar renovate[bot] avatar tsuyoshicho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

asyncomplete-tags.vim's Issues

Tag file nothing, but search started.

I try using this plugin.

Then, check logfile. Logging to current tagfile and no-file tagfile name.
tagfiles () seems to be returning the position where the tag file is or is supposed to be defined

(I will challenge the fix to check for the existence of files and I want to PR.)

Add menu label for tag type

asyncomplete-buffer adds [buffer] to the end of menu items; would be nice if the tags plugin would add the name of the tag type to the end of the menu item in a similar fashion.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

None detected


  • Check this box to trigger a request for Renovate to run again on this repository

Doesn't work with Mac grep

The grep that comes with macOS is grep (BSD grep) 2.5.1-FreeBSD, which doesn't contain the -P flag, so searching tags fails.

To fix this I installed the Homebrew grep, which installs as ggrep, and then updated the lines that contain grep in tags.vim to ggrep. This seems to solve the issue for me (although triggers that contain hyphens are having problems).

Alternatively you could not use Perl grep in the plugin.

Tags not visible

I have installed few extensions. But not all of them are visible in popup.
I`am using Vim 8.0 1-1476 with +python +python3 etc.
Tag file is named tags and it is in project directory.

      \ 'name': 'buffer',
      \ 'priority': 4,
      \ 'whitelist': ['*'],
      \ 'blacklist': ['go'],
      \ 'completor': function('asyncomplete#sources#buffer#completor'),
      \ }))

au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#file#get_source_options({
      \ 'name': 'file',
      \ 'whitelist': ['*'],
      \ 'priority': 10,
      \ 'completor': function('asyncomplete#sources#file#completor')
      \ }))

call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({
      \ 'name': 'omni',
      \ 'priority': 3,
      \ 'whitelist': ['*'],
      \ 'blacklist': ['html'],
      \ 'completor': function('asyncomplete#sources#omni#completor')
      \  }))

if has('python3')
  " let g:UltiSnipsExpandTrigger="<c-e>"
  call asyncomplete#register_source(asyncomplete#sources#ultisnips#get_source_options({
        \ 'name': 'ultisnips',
        \ 'priority': 2,
        \ 'whitelist': ['*'],
        \ 'completor': function('asyncomplete#sources#ultisnips#completor'),
        \ }))
endif

call asyncomplete#register_source(asyncomplete#sources#tags#get_source_options({
      \ 'name': 'tags',
      \ 'priority': 1,
      \ 'whitelist': ['c'],
      \ 'completor': function('asyncomplete#sources#tags#completor'),
      \ }))

This is my configuration for sources.
I can't see tags. Only buffer and ultisnips sources are visible.

I`am using asyncomplete newest pulls from master branches.

Setting max_file_size=-1 does not work

Hi.

It seems that the max_file_size=-1 does not work properly. I have tag files between 20MB-40MB and they're being ignored ---i.e., the only other source I have is asyncomplete-buffer.vim, and those are the only results shown.

When I use max_file_size=50000000, the tag files are considered.

I'm not very familiar with vim's scripting language, but it seems to me that line 53 in asyncomplete-tags.vim/autoload/asyncomplete/sources/tags.vim is wrong ---i.e., in the logical condition, the operand to the left of || is always false.

Only searches when entered text contains word characters

Because this plugin is only triggered on word characters (let l:kw = matchstr(l:typed, '\w\+$')), if a string is entered that contains hyphens, for instance, tags aren't searched.

Would it be possible to re-implement g:asyncomplete_default_refresh_pattern and use that?

Otherwise, I'm finding that this works much better:

let l:kw = matchstr(l:typed, '[[:alnum:]_-]\+$')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.