Coder Social home page Coder Social logo

keith / investigate.vim Goto Github PK

View Code? Open in Web Editor NEW
291.0 9.0 20.0 1.13 MB

A Vim plugin for looking up documentation

Home Page: http://keith.github.io/investigate.vim/

License: MIT License

Ruby 1.02% Vim Script 98.98%
vim documentation documentation-tool viml

investigate.vim's People

Contributors

alok avatar askurihin avatar bovine3dom avatar dependabot[bot] avatar dhruvasagar avatar flimm avatar isabelgk avatar keith avatar runar avatar soli avatar zhuochun 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar

investigate.vim's Issues

Add support for single lookup URL (like devdocs.io)

It'd be nice to add a way for configuring a single lookup URL for all filetypes, without having to define a ton of investigate_url_for_foo variables. I usually use devdocs.io, which is able to search through multiple docsets and very convenient as it also works offline. It's a bit like Dash, but doesn't require a separate app :)

Does not work on visual selection

gK is mapped to normal mode.

In visual mode, I tried to do run :call investigate#Investigate(), it does not use what I have selected, but the word under cursor.

New way for plugins to call Dash with keywords

Dash 1.9.3 comes with a new way for plugins to call Dash and send over a list of keywords which Dash uses to enable/disable docsets.

This is all described at http://kapeli.com/dash_plugins.

The advantage for using this is that you can send over more than one keyword to Dash and the keywords you specify are matched regardless of what the user's settings are (e.g. if the user modified the keyword for the Rails docset to be just "r", you can still send "rails").

fails on Windows

"start http://google.com" does not work like "open http://google.com" on Mac OS X. However, this works:

start explorer http://google.com

That opens the URL in the user's default browser. So I think the handler for Windows should be changed to "start explorer" instead of just "start".

Set Project syntax with an environment variable

Hi,

I was wondering if you add the functionality to set the project related syntax with environment variable.

[syntax]
ruby=rails
export VIM_INVESTIGATE_SYNTAX_KEY=ruby
export VIM_INVESTIGATE_SYNTAX_VALUE=rails

This helps immensely in projects that are managed with .direnv. Or else we need to place a .invrc file in every folder beneath the root directory of the project. If vim is running inside those directories, it does not pick up .invrc settings.

Investigate provides tons of configurations to allow all language defaults to
be overridden on a global and per-project basis. This can be done by setting
global vim variables or using a '.investigaterc' file in the root of the
directory vim is running from.

Is the default file type for SCSS files wrong?

The two syntaxes available for Sass; SCSS and Sass, use the file extensions .scss and .sass. I have found very few references to a scsscss file extension or file type, and both scss-syntax.vim and vim-haml (two recently updated plugins for SCSS and Sass syntax) use scss as file type for SCSS files.

This results in the «No documentation for scss» error message when I edit a .scss file and look up something.

Is there a reason behind using scsscss as the default alias for SCSS files? I thought I’d ask before sending yet another pull request to change something minor. :)

investigate#Investigate unknown

Hi,
after an install, it don't recognize:
my error is:
E117: Unknown function: investigate#Investigate
EDIT, it works after restart...

Thanks

Not working for typescript

I have added docs to Dash for typescript and restarted vim, but I keep seeing "No documentation for typescript" when running the command to access the docs from Dash. I've used this plugin for years without issue, so I'm assuming there's just a value in a hashmap somewhere for typescript that's missing? I haven't peeked at the code though. Any ideas on how to fix?

No documentation found for elm

I have the elm docset installed (it's a user docset in case that matters) and I get the errors in the title when i search for docs.

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.