D-Scanner/editors/vim
IdanA 23c1924dc6 Fixes for Windows:
I'm now creating the temp file in Unix format. The problem was
calculating the byte position in Windows format - and while it might be
possible, it's much simpler to use Unix format for the temp file.

Also updated the readme.
2012-12-12 17:03:39 +02:00
..
autoload Fixes for Windows: 2012-12-12 17:03:39 +02:00
ftplugin Working 2012-11-22 12:53:53 +02:00
README.md Fixes for Windows: 2012-12-12 17:03:39 +02:00

README.md

A plugin for using dscanner with vim.

Tested on Linux and Windows(see comment for windows)

Installation and Configuration

Put the autoload and ftplugin folders in your vim runtime path.

Compile dscanner and put it in your path, or set the global variable g:dscanner_path to where you put dscanner.

If you need to use an include path, use the global variable g:dscanner_includePath as a list of those paths.

Using on Windows

Under Linux, Dscanner reads /etc/dmd.conf to get the default include paths. The equivalent file in Windows - 'sc.ini' - does not have a fixed location, so you need to configure the import paths manually. You need the \src\phobos and \src\druntime\import folders from where you installed dmd. For example,

let g:dscanner_includePath=['C:\Program Files\dmd2\src\phobos','C:\Program Files\dmd2\src\druntime\import']