yi-0.11.0: The Haskell-Scriptable Editor

Portabilityportable
Stabilityexperimental
Maintaineryi-devel@googlegroups.com
Safe HaskellNone

Yi.Snippets

Description

 

Synopsis

Documentation

type SnippetCmd = RWST (Int, Int) [MarkInfo] () BufferMSource

data SnippetMark Source

Constructors

SimpleMark !Int 
ValuedMark !Int YiString 
DependentMark !Int 

data MarkInfo Source

Constructors

SimpleMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
ValuedMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
endMark :: !Mark
 
DependentMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
endMark :: !Mark
 

Instances

Eq MarkInfo 
Ord MarkInfo 
Show MarkInfo 
Binary MarkInfo 
MkSnippetCmd (SnippetCmd a) a 

(&) :: (MkSnippetCmd a any, MkSnippetCmd b c) => a -> b -> SnippetCmd cSource

(&>) :: (MkSnippetCmd a b, MkSnippetCmd c d) => a -> (b -> c) -> SnippetCmd dSource

newtype SupertabExt Source

Constructors

Supertab (YiString -> Maybe (BufferM ())) 

Instances

fromSnippets :: Bool -> [(YiString, SnippetCmd ())] -> SupertabExtSource

Convert snippet description list into a SuperTab extension