Questions tagged [include]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
35 views

Syntax highlighting in consecutive single-line comments

I'd like to have rich syntax highlighting (using, say, markdown syntax) inside (single-line) comments (as is done in Rust). For now, I'm using the following code, which is not satisfactory. syn ...
3
votes
1answer
173 views

How to populate a drop-down list for <C-x><C-i> completion?

I use Static Site Generator | Nikola. Each post has a header like as follows: <!-- .. title: Some interesting title .. slug: some-interesting-title .. date: 2017-01-25 06:32:15 UTC-03:00 .. tags: ...
8
votes
4answers
1k views

Includes in vimrc?

Is it possible to include external files to be sourced in the vimrc file? Is it as simple a matter as just adding source somefile?
1
vote
0answers
44 views

Use [d with ruby functions

I have been reading through the documentation on the [d command, and other related commands. My understanding is that they allow you to search for the definition of the function that's currently under ...
0
votes
2answers
96 views

When editing a ruby file with includes/requires how can I open the file containing the method I am on?

I have a bunch of includes at the top of my file. Then I use methods from the helpers throughout my file. How can I have it so that when my cursor is on a method name my editor can (by some ...
2
votes
1answer
107 views

Configuring include-search for PHP

I just learned of the existence of include-search, but even after reading :help include-searchand :help includeexpr I'm not sure what I need to do to have [I find included and required files. How do ...
2
votes
1answer
85 views

How to jump to the location which [I points to?

I've installed node plugin, which give possibility to display all lines that contain the keyword under the cursor using [I hotkey. It looks like this: Is there possibility to jump to them?