-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
37 lines (28 loc) · 1.07 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TextMate Tags Readme
====================
Author: Alessandro Vermeulen <[email protected]>
Installing
----------
install this hackage package. Then add the following *Preference* to your
Haskell bundle:
----
{ completionCommand = '#! /bin/sh
SRC_DIR=`cat $TM_PROJECT_DIRECTORY/.srcdir`
PRJ_DIR="$TM_PROJECT_DIRECTORY/$SRC_DIR"
cd $PRJ_DIR
~/.cabal/bin/textmatetags $TM_FILEPATH $TM_CURRENT_WORD'; }
----
Or, if you use the Haskell bundle by Jamis Buck
(http://weblog.jamisbuck.org/2005/11/1/haskell-bundle-for-textmate) you can use
the Haskell bundle provided in this repository. It is a diff to his bundle.
Usage
-----
If your TextMate file is in the root of your source directory, or your TextMate
project has the source folder as its root you are set. If not, place a file
called `.srcdir' in the root of your TextMate project containing on the first
line the location of the source directory relative to the TextMate project
root.
GitHub
------
The github repository for this project can be found at:
https://github.com/spockz/Haskell-Code-Completion-for-TextMate