keith / investigate.vim Goto Github PK
View Code? Open in Web Editor NEWA Vim plugin for looking up documentation
Home Page: http://keith.github.io/investigate.vim/
License: MIT License
A Vim plugin for looking up documentation
Home Page: http://keith.github.io/investigate.vim/
License: MIT License
Could you add MySQL and / or PosgreSQL lookups in Dash for .sql
files?
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 :)
see https://news.ycombinator.com/item?id=8799509
:runtime ftplugin/man.vim
:Man ls
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.
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").
There's mention of launching support for Dash for OS X. Zeal works using the same docset system (for the most part). This is a request to add support Zeal.
Investigate uses omniref for Ruby documentation, which was shut down a few months ago. I wanted to make a pull request but couldn't find an alternative with feature parity. Right now, though, it's broken.
"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".
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.
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. :)
Zeal is an offline documentation browser inspired by Dash, available for Linux and Windows. Hope for supporting looking up in zeal. Thanks!
Hi,
after an install, it don't recognize:
my error is:
E117: Unknown function: investigate#Investigate
EDIT, it works after restart...
Thanks
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.